New to the community? Welcome! Please read our Community Rules and Guidelines
Hi admin, @MTS_Justin
I want to get and store the payment_source for future transactions but can not.
There is no payment_sourrce field in the SDK response.
I'm working with PayPal sandbox via this SDK: https://github.com/paypal/Checkout-NodeJS-SDK
Follow this document, the get order detail response includes payment_source field: https://developer.paypal.com/docs/api/orders/v2/#orders_get
See that it need to pass a query parameter, but the provided SDK does not support passing query param: https://github.com/paypal/Checkout-NodeJS-SDK/blob/develop/lib/orders/ordersGetRequest.js
Additional question: after store payment_source, can I use it for future transactions? as create new order/ authorize ... ?
Please help. Thank you.
A comma-separated list of fields that should be returned for the order. Valid filter field is payment_source.
Solved! Go to Solution.