Posted on

Magento 2: Paypal Payment Authorize Now and Capture later

I have requirement that need to “Authorize” PayPal payment for now.

Capture/Process after X days.

On Magento side it’s storing info info

sales_order_payment
sales_payment_transaction

I think need to use API, may be one of the Method

https://github.com/paypal/PayPal-PHP-SDK/tree/master/sample/payments

magentovendormagentomodule-paypalModelExpress.php

We have below methods

canCapture()
capture()

Can anybody have any idea how to achieve this?

Leave a Reply

Your email address will not be published. Required fields are marked *