Sdk day2

555 views

Published on

Published in: Economy & Finance, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

Sdk day2

  1. 1. PayPal SDKs and APIs<br />Knowledge sharing sessions<br />Hackathon, 2011<br />Ganesh Hegde<br />Vidya Chandrasekaran<br />Feb, 2011<br />
  2. 2. 2<br />AGENDA<br /><ul><li>PayPal APIs - A quick recap
  3. 3. Website Payments Pro
  4. 4. Demo
  5. 5. Demo – Using SDK in your project
  6. 6. Adaptive Accounts API
  7. 7. Demo
  8. 8. Permissions API
  9. 9. Demo
  10. 10. Q & A</li></ul>2/24/2011<br />
  11. 11. 3<br />APIs Galore<br />Merchant<br />AA<br />2/24/2011<br />AP<br />DoDirectPayment - Sale<br />DoDirectPayment - Authorization<br />ExpressCheckout - Sale<br />ExpressCheckout – Authorization<br />DoAuthorization<br />DoCapture<br />DoVoid<br />GetTransactionDetails<br />TransactionSearch<br />RefundTransaction<br />Reauthorization<br />MassPay<br />GetBalance<br />CreateRecurringPaymentsProfile<br />ManageRecurringPaymentsProfileStatus<br />GetRecurringPaymentsProfileDetails<br />BillOutstandingAmount<br />AddBankAccount<br />AddPaymentCard<br />CreateAccount<br />GetUserAgreement<br />GetVerifiedStatus<br />SetFundingSourceConfirmed<br />CancelPreapproval<br />ConfirmPreapproval<br />ConvertCurrency<br />ExecutePayment<br />GetAvailableShippingAddresses<br />GetFundingPlans<br />GetPaymentOptions<br />GetShippingAddresses<br />Pay<br />PaymentDetails<br />Preapproval<br />PreapprovalDetails<br />Refund<br />SetPaymentOptions<br />Permissions<br />CancelPermissions<br />GetAccessToken<br />GetPermissions<br />RequestPermissions<br />
  12. 12. 4<br />PayPal APIs<br /><ul><li>What’s available
  13. 13. Web Payments Standard/Pro aka Merchant APIs
  14. 14. Platform/Adaptive APIs – Payments / Accounts / Permissions
  15. 15. Understand your use case and choose an appropriate API
  16. 16. The technology
  17. 17. X.com/ Sandbox accounts
  18. 18. SOAP / XML / JSON / NVP
  19. 19. Authentication – 3token / certificates
  20. 20. X.com and SDKs
  21. 21. https://www.x.com/community/ppx/sdks
  22. 22. https://www.x.com/community/ppx/documentation</li></ul>2/24/2011<br />
  23. 23. 5<br />Website Payments Pro<br /><ul><li>Do Direct Payments
  24. 24. Express Checkout
  25. 25. Authorization and capture
  26. 26. Recurring payments</li></ul>2/24/2011<br />
  27. 27. 6<br />Creating a java project using sdk<br /><ul><li>Get your API credentials.
  28. 28. Decide what you want to use - SOAP Or NVP?
  29. 29. Download the SDK.
  30. 30. Create a new project in your favouriteIDE
  31. 31. Copy jar dependencies – Refer sample projects.
  32. 32. Configuration
  33. 33. Programming model
  34. 34. Deploy and fire a request
  35. 35. Debugging
  36. 36. A cup of coffee?</li></ul>2/24/2011<br />
  37. 37. Adaptive accounts – An overview<br /><ul><li>Create PayPal accounts programatically.
  38. 38. Design your user onboarding/ checkout experience.
  39. 39. Configure funding sources.
  40. 40. SOAP/NVP/JSON/XML bindings supported.</li></ul>2/24/2011<br />7<br />7<br />2/24/2011<br />
  41. 41. Adaptive accounts – Typical flow<br />2/24/2011<br />8<br />8<br />2/24/2011<br />
  42. 42. Permissions API – An overview<br /><ul><li>The need for third party authorization.
  43. 43. Terminology
  44. 44. Server
  45. 45. Third party – Your app
  46. 46. Client
  47. 47. Subject and (pseudo) Oauth based authorization.
  48. 48. Steps involved
  49. 49. Get user to grant Permissions.
  50. 50. Obtain an access token
  51. 51. Use access token for making calls</li></ul>2/24/2011<br />9<br />9<br />2/24/2011<br />
  52. 52. Permissions API - Grant permissions<br />2/24/2011<br />10<br />10<br />2/24/2011<br />
  53. 53. Permissions API – Use permissions<br /><ul><li>Subject SOAP header
  54. 54. Unencrypted email address
  55. 55. X-PP-AUTHORIZATION HTTP header
  56. 56. Encrypted, per request token
  57. 57. Uses Oauth model.
  58. 58. Use the signature generation code from merchant SDK.</li></ul>2/24/2011<br />11<br />11<br />2/24/2011<br />
  59. 59. Q & A<br />Thank you !<br />2/24/2011<br />12<br />12<br />2/24/2011<br />

×