Codemotion1

157 views
148 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
157
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • ----- Meeting Notes (23/03/13 14:53) -----ciao tuttimiki amo Orkunno parlo italiano
  • Codemotion1

    1. 1. MONETIZE YOUR IDEA!Orkun SaitogluEvangelist, PayPal | Developer@orkns
    2. 2. WHO AM I? @orkns# Left back# Galatasaray fan# Developer# Evangelist# Tiramisu fan
    3. 3. 3HOW DOES PAYPAL WORK?
    4. 4. The future of commerce..
    5. 5. IT STARTED WITH….
    6. 6. PAYMENT STANDARD
    7. 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, including shipping,billing, or payment information
    8. 8. USE CASE : LOCAL BURGER HOUSE
    9. 9. 9MOBILE EC – MCDONALD’S FRANCE
    10. 10. 10SELECT YOUR RESTAURANT
    11. 11. 11SELECT YOUR MEAL
    12. 12. 12PAY WITH PAYPAL
    13. 13. 13CONFIRMATION
    14. 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 an order,authorizations, or capturing the fundsfrom the buyer’s accountFRONT-END API CALLSSetGetDoAPI ServerAPI ServerAPI ServerMerchantWeb Server
    15. 15. 15# PAYMENTS CAN BE SIMPLE, CHAINED AND PARALLEL# PAY, PAYMENTDETAILS, REFUND : ONLY 3 API CALLSADAPTIVE PAYMENTS
    16. 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_url”API CALL:PAY REQUEST
    17. 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. 18# DEVELOPER GET APPROVAL FOR CHARGING SENDERSACCOUNTPREAPPROVAL PAYMENTS
    19. 19. NEW DEVELOPER SITE
    20. 20. PAYPAL CHECK-IN
    21. 21. GRAZIE MILLE@paypaleurodev@orkns

    ×