Monetize your idea! By Orkun Saitoglu

21
MONETIZE YOUR IDEA! Orkun Saitoglu Evangelist, PayPal | Developer @orkns

description

A tech presentation how to easily monetize your ideas by integrating PayPal with new RESTful APIs

Transcript of Monetize your idea! By Orkun Saitoglu

  • 1.MONETIZE YOUR IDEA!Orkun SaitogluEvangelist, PayPal | Developer@orkns

2. WHO AM I? @orkns# Left back# Galatasaray fan# Developer# Evangelist# Tiramisu fan 3. 3HOW DOES PAYPAL WORK? 4. The future of commerce.. 5. IT STARTED WITH. 6. PAYMENT STANDARD 7. EXPRESS CHECKOUT# Propose the convenience and security ofPayPal on your web/mobile site and mobileapplication# Enable all platforms with one integration# May eliminate the need for customers toenter personal information, includingshipping, billing, or payment information 8. USE CASE : LOCAL BURGER HOUSE 9. 9MOBILE EC MCDONALDS FRANCE 10. 10SELECT YOUR RESTAURANT 11. 11SELECT YOUR MEAL 12. 12PAY WITH PAYPAL 13. 13CONFIRMATION 14. RequestSetExpressCheckoutResponse: TokenHTTP RedirectHTTP RedirectReturnURL + TokenResponse: Customer DetailsRequest: Final Transaction DetailsDoExpressCheckoutPaymentResponse: Transaction Results(Success / Failure)Request: TokenGetExpressCheckoutDetails- Establish PayPal session & return token- Same call from shopping cart or payment page- Send relevant transaction details to present onthe PayPal pages- Use session token to pull details fromPayPal (Shipping and Billing Info, etc.)- Commits the PayPal transaction- Options include creating anorder, authorizations, or capturing thefunds from the buyers accountFRONT-END API CALLSSetGetDoAPI ServerAPI ServerAPI ServerMerchantWeb Server 15. 15# PAYMENTS CAN BE SIMPLE, CHAINED AND PARALLEL# PAY, PAYMENTDETAILS, REFUND : ONLY 3 API CALLSADAPTIVE PAYMENTS 16. 16How curl -s --insecure-H "X-PAYPAL-SECURITY-USERID: api_username"-H "X-PAYPAL-SECURITY-PASSWORD: api_password"-H "X-PAYPAL-SECURITY-SIGNATURE: api_signature"-H "X-PAYPAL-REQUEST-DATA-FORMAT: NV"-H "X-PAYPAL-RESPONSE-DATA-FORMAT: NV"-H "X-PAYPAL-APPLICATION-ID: app_id"https://svcs.sandbox.paypal.com/AdaptivePayments/Pay -d"requestEnvelope.errorLanguage=en_US&actionType=PAY&senderEmail=sender@domain&receiverList.receiver(0).email=receiver@domain&receiverList.receiver(0).amount=100.00&currencyCode=USD&feesPayer=EACHRECEIVER&memo=Simple payment example.&cancelUrl=http://your_cancel_url&returnUrl=http://your_return_url&ipnNotificationUrl=http://your_ipn_notification_urlAPI CALL:PAY REQUEST 17. 17API RESPONSE:responseEnvelope.timestamp=2009-07-13T12%3A34%3A29.316-07%3A00&responseEnvelope.ack=Success&responseEnvelope.correlationId=d615a365bed61&responseEnvelope.build=DEV&payKey=AP-3TY011106S4428730&paymentExecStatus=COMPLETEDPAY RESPONSE 18. 18# DEVELOPER GET APPROVAL FOR CHARGING SENDERSACCOUNTPREAPPROVAL PAYMENTS 19. NEW DEVELOPER SITE 20. PAYPAL CHECK-IN 21. GRAZIE MILLE@paypaleurodev@orkns