2
votes

I am working on a payment system with PHP and Paypal.

According to this: https://developer.paypal.com/webapps/developer/docs/integration/web/accept-paypal-payment/

There are instructions for preparing a transaction for a Paypal payment.

It says 'Set the intent as sale, and the'. However, I want to capture the payments later.

Can I set the intent to 'authorize'?

1

1 Answers

2
votes

Yes, that's exactly what you do. I think it is stated pretty obviously here

"Payment intent; Must be set to sale for immediate payment or authorize for a delayed payment to be captured at a later time. Required."