How to capture?

RodrigoApk
Contributor
Contributor

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.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.