admin管理员组文章数量:1389148
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.
本文标签:
版权声明:本文标题:paypal - Is it not possible to set up order with (legacy) NVP SetExpressCheckout method but capture the order payment with REST 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744589330a2614389.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论