#brent-payment-method
1 messages · Page 1 of 1 (latest)
Hi there 👋 if you already have a payment method then you shouldn't need to create a source from that. You should be able to just use the payment method. Do you encounter an error if you try to do that?
No, that works fine. I use sources instead of payment methods but i took over a client's stripe account from a preexisting connect platform and they use Payment Methods instead of Sources.
Is it possible to have a payment method converted to a source?
I am struggling to understand the difference
shows an empty list even though there is a payment method on their account
I tried to create a source from the payment method id:
but i received this error:
I did as it recommended but it is not showing up as a "source"
Payment Methods are basically our new version of sources, they work very similarly. However, they don't get placed inside of the sources array, instead you'd use this API to retrieve the payment methods for a customer:
https://stripe.com/docs/api/payment_methods/customer_list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I understand but my platform is using sources. Is there no way to add a pm to the sources list?
No, sources will work as inputs to any field expecting a payment method, but the opposite is not true. If you want to keep using sources then you'll need to create new source objects from scratch, though payment methods are more robust and we'd really recommend you consider moving to them.
https://stripe.com/docs/payments/payment-methods/transitioning
understood. Thank you.