#tomhamiltonstubber
1 messages · Page 1 of 1 (latest)
This is a deprecated Stripe API integration,you need to migrate the new PaymentMethods API ASAP, following this guide:
https://stripe.com/docs/payments/payment-methods/transitioning
I know, and I definitely will be doing that in future, but in the meantime, can I do the above?
Trying to clear Sources out of my codebase
I hate Plaid, can't wait to get rid of it!
can I use PaymentMethods to attach it instead? Or do I have to use Sources?
Nope you can't use PaymentMethod. you need to use PaymentMethods API if you want to use PaymentMethods:
https://stripe.com/docs/api/payment_methods/attach
okay, so the token returned by Plaid here to create the source in Stripe can't be used with PMs at all?
Else I have a long day ahead to me migrating to the new ACH system 🙂
There is a compatibility with Sources and Cards and PaymentMethods, If you previously collected customer payment details with Stripe using cards or Sources, you can start using the Payment Methods API without migrating any payment information for payment types that are available on the Payment Methods API. For Cards you can use this directly as the example shows here:
Please I invite to check the guide I shared with you above:
https://stripe.com/docs/payments/payment-methods/transitioning#compatibility
But for ACH deprecated system not sure honestly, I invite you to test it in your test mode. I understand the amount of work needed, but you need to migrate as soon as possible to the new API.