Working with a legacy system that is still using NVP functionality for everything, orders are being initialized with the SetExpressCheckout method and then payment captured with the DoExpressCheckoutPayment method. I'm hoping to start migrating this system in steps, with the first step being to replace the capture part of the order flow and instead use the newer REST API order capture method ("/v2/checkout/orders/{id}/capture"). From all the documentation, it seems like this may not be possible, as the SetExpressCheckout method does not create an order ID. It appears to only return a TOKEN, which is then used by DoExpressCheckoutPayment to do the capture, which then results in an order ID. To use the newer order payment capture method, I need an order ID to be capturing payment for.
Is there something in this I'm missing or is it the case that to make the migration, it will require updating both steps of the process together?
/
/
Working with a legacy system that is still using NVP functionality for everything, orders are being initialized with the SetExpressCheckout method and then payment captured with the DoExpressCheckoutPayment method. I'm hoping to start migrating this system in steps, with the first step being to replace the capture part of the order flow and instead use the newer REST API order capture method ("/v2/checkout/orders/{id}/capture"). From all the documentation, it seems like this may not be possible, as the SetExpressCheckout method does not create an order ID. It appears to only return a TOKEN, which is then used by DoExpressCheckoutPayment to do the capture, which then results in an order ID. To use the newer order payment capture method, I need an order ID to be capturing payment for.
Is there something in this I'm missing or is it the case that to make the migration, it will require updating both steps of the process together?
https://developer.paypal/api/nvp-soap/set-express-checkout-nvp/
https://developer.paypal/api/nvp-soap/do-express-checkout-payment-nvp/
https://developer.paypal/docs/api/orders/v2/#orders_capture
Share
Improve this question
asked Mar 16 at 18:51
jrebsjrebs
4601 gold badge3 silver badges10 bronze badges
1 Answer
Reset to default 1It is not possible. Do not mix APIs.