How to capture?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the correct flow?
Simple sale, selling a product (I've made...):
1. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/CreatePaymentUsingPayPal.html
2. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/ExecutePayment.html
In other words: I've created a payment -> the buyer was redirected to approval link -> (with success) I've executed the payment. After that, is there any other thing to do to capture the customer money here?
Subscription (I've made...):
1. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/billing/CreatePlan.html
2. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/billing/UpdatePlan.html (I activate my plan)
3. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/billing/CreateBillingAgreementWithPayPal.html
4. https://paypal.github.io/PayPal-PHP-SDK/sample/doc/billing/ExecuteAgreement.html
In other words: I've created a plan -> I've activated my plan -> I've created a billing agreement -> the buyer was redirected to approval link -> (with success) I've executed the payment. Here again, and about to capture the money from each cycle authorized by the buyer? Is automatic? Is there other steps to do?
What exactly "execute a payment" or "execute an agreement" means? In my mind is "capture the money" from the buyer account to seller account. Am I right?
Thanks.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I want to implement subscription functionality. in REST APIs
- Change the button from Sandbox to Production in REST APIs
- Receiving a PAYMENT.SALE.COMPLETED webhook notification - how can I trace the parent Subscription in REST APIs
- “This payment cannot be processed because there was an error with the capture order API call”. in REST APIs
- User is asked for shipping address when creating a credit card order in REST APIs