Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Adaptive payments webitexpo slides

Slides from WebItExpo developer workshop

  • Be the first to comment

Adaptive payments webitexpo slides

  1. 1. •••••
  2. 2. ••
  3. 3. ••••
  4. 4. •••
  5. 5. How 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”
  6. 6. responseEnvelope.timestamp=2009-07-13T12%3A34%3A29.316-07%3A00&responseEnvelope.ack=Success&responseEnvelope.correlationId=d615a365bed61&responseEnvelope.build=DEV&payKey=AP-3TY011106S4428730&paymentExecStatus=COMPLETED
  7. 7. How 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&receiverList.receiver(0).primary=false (if true means chained payment)&receiverList.receiver(1).email=receiver@domain&receiverList.receiver(1).amount=100.00&receiverList.receiver(1).primary=false&currencyCode=USD&feesPayer=EACHRECEIVER&memo=Simple payment example.&cancelUrl=http://your_cancel_url&returnUrl=http://your_return_url&ipnNotificationUrl=http://your_ipn_notification_url”
  8. 8. responseEnvelope.timestamp=2009-08-14T09%3A00%3A37.748-07%3A00 &responseEnvelope.ack=Success&responseEnvelope.correlationId=7967b2d03745a&responseEnvelope.build=DEV&cancelUrl=your_cancel_url&currencyCode=USD&logDefaultShippingAddress=false&memo=Simple payment example.&paymentInfoList.paymentInfo(0).receiver.amount=100.00&paymentInfoList.paymentInfo(0).receiver.email=receiver@domain&paymentInfoList.paymentInfo(0).receiver.primary=false&returnUrl=your_return_url&senderEmail=sender@domain&status=CREATED&payKey=AP-3TY011106S4428730&actionType=PAY&feesPayer=EACHRECEIVER
  9. 9. 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: your_app_id ”https://svcs.sandbox.paypal.com/AdaptivePayments/Refund -d requestEnvelope.errorLanguage=en_US&payKey=AP-95V43510SV018561T"
  10. 10. •••
  11. 11. •••

×