Adaptive payments-talk
-
Upload
davehawes -
Category
Technology
-
view
2.534 -
download
0
description
Transcript of Adaptive payments-talk
![Page 1: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/1.jpg)
Presented by Dave Hawes
@davehawes
http://blog.davehawes.com
Using PayPal Adaptive Payments
![Page 2: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/2.jpg)
• What was the problems I had taking payment
• Why I chose PayPal’s ‘Chained Payment’ Adaptive Payment
• What other types of Adaptive Payments are available
• Why might they be useful
• What does the code look like
• The approval process
• Where to get some more information
What I’m going to tell you
![Page 3: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/3.jpg)
My website is http://www.trainingcoursebooker.com
It allows training providers to advertise when they are running a course and sell places.
The website takes a commission for each place sold.
My Website
![Page 4: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/4.jpg)
![Page 5: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/5.jpg)
• Customers trusting I would give them their money
• Legal responsibility if I took the money
• Double fees when I transferred the money to my customer
• Administrative time to transfer the money
The problems I had taking payment
![Page 6: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/6.jpg)
The best fit solution that the PayPal adaptive payment API offered was a chained payment:
Using a ‘Chained Payment’
![Page 7: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/7.jpg)
• Consumer pays the Training Provider and the Training Provider pays the website commission.
• The Training Provider gets their money immediately
• It is the Training Providers name on the customers credit card bill. Leaving the website free of any legal obligations of the quality of the product sold.
• Only one set of fees are levied
• It is automatic, zero admin time
Why is this useful
![Page 8: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/8.jpg)
Before redirecting the user to PayPal to take payment, your app tells PayPal about the payment and how it should be divided up:
&actionType=PAY
&cancelUrl=http:\\example.com\cancel.htm
¤cyCode=USD
&receiverList.receiver(0).amount=9.00
&receiverList.receiver(0)[email protected]
&receiverList.receiver(1).amount=5.00
&receiverList.receiver(1)[email protected]
&requestEnvelope.errorLanguage=en_US
&returnUrl=http:\\example.com\return.htm
PayPal logs this and returns you a token. Redirect the user to PayPal with the token. When payment is taken the money is divided out as per the options linked with the token you were given.
What does it look like?
![Page 9: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/9.jpg)
![Page 10: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/10.jpg)
www.trainingcoursebooker.com was one of the first websites in Europe to implement an Adaptive API and I got invited to Le Web to demonstrate it working:
Successful Implementation!
![Page 11: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/11.jpg)
Parallel Payments
Other types of Adaptive Payments
![Page 12: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/12.jpg)
Pre-Approval - setupSetup Information
• duration of the preapproval, from the start date to the end date, inclusive
• the maximum amount being preapproved
• the maximum number of payments
![Page 13: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/13.jpg)
Nice if you want to implement some kind of wallet functionality so it is easy for users to purchase stuff – all you need is a PIN number! (WP7 App usage anyone??)
Pre-Approval - usage
![Page 14: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/14.jpg)
• To use some of the API’s your application needs to be submitted to PayPal for verification and approval.
• The approval process is pretty quick and painless, only took a week or so.
Operations requiring Advanced Permissions
• Chained payments
• Payments with implicit approval
• Preapprovals and preapproval cancellations
• Get preapproval details
Permission Levels
![Page 15: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/15.jpg)
x.com
Where to go for more information
![Page 16: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/16.jpg)
• What was the problems I had taking payment
• Why I chose PayPal’s ‘Chained Payment’ Adaptive Payments
• Some of the other types of Adaptive Payments are available
• Why they might be useful
• What does the code look like
• Where to get some more information
What I told you
![Page 17: Adaptive payments-talk](https://reader036.fdocuments.us/reader036/viewer/2022062418/555a5e8fd8b42ae7218b457b/html5/thumbnails/17.jpg)
@davehawes
http://blog.davehawes.com
Any Questions?