I am not able to use Smart Paypal button with paypal order API because in magento 2 backend uses Express Checkout always (DoExpressCheckoutPayment api) therefore i am getting this exception "Invalid token" while sending token of paypal Order API.

Since, Express checkout is going to deprecate soon then how i will use paypal Order API instead in magento 2

Paypal Order Api: https://developer.paypal.com/docs/api/orders/v2/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.