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.
- PHP SDK error: broken content-length header in SDKs
- How to get the custom field from a payment with webhook/API? in REST APIs
- ppxo_inline_guest_unhandled_error - How to handle this error throguh code in PayPal Payments Standard
- CHECKOUT.ORDER.APPROVED webhook event not triggered if payment_source is passed in in REST APIs
- Why does PayPal redirect to different pages (login vs credit card form) depending on browser mode? in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)