- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Query parameters
- fields
string
A comma-separated list of fields that should be returned for the order. Valid filter field is payment_source.
Solved! Go to Solution.
- Labels:
-
REST SDK
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ability to store card information (vault) and re-use for future transactions without requiring buyer approval is now depreciated and no longer available for new integrations.
See here :
https://developer.paypal.com/docs/integration/direct/payment-tokens
"Availability: This API is deprecated and is no longer supported. For an alternative solution, we suggest accepting credit card payments using Braintree Direct" : https://www.braintreepayments.com/products/braintree-direct
Thanks !
Was my post helpful? If so, please give me a kudos!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ability to store card information (vault) and re-use for future transactions without requiring buyer approval is now depreciated and no longer available for new integrations.
See here :
https://developer.paypal.com/docs/integration/direct/payment-tokens
"Availability: This API is deprecated and is no longer supported. For an alternative solution, we suggest accepting credit card payments using Braintree Direct" : https://www.braintreepayments.com/products/braintree-direct
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What about countries that are not supported by Braintree?
Is there any solution for saving the payment method and re-using it in Paypal?
My use case involves both subscriptions and standard checkout.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there no changes to this setup? Is it still not possible to add a vaulting functionality for new integrations unless we go with Braintree?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Inquiry About Documentation and Support for Tokenization and Future Payment in Payflow
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- please enable future transactions in my sandbox account in REST APIs
- Saved paypal payment integration in REST APIs