#nicholasstephan-paymentmethod-source
1 messages ยท Page 1 of 1 (latest)
default_source is legacy! It's for integrations that used the API years ago before we added PaymentMethod
And the problem is that the Dashboard uses the old API (to not break existing integrations)
so you should explicitly set default_payment_method in your code after that step to be aligned with the rest of your code
Can banks be added as payment methods though? I find I can only attach ACH as sources
The API has stripe.customers.createSource for banks
*docs
correct, ACH Debit is still with the old API today
we're working on porting to PaymentMethod, hopefully shipping next year (there's a beta so you could ask our support team for access)
Ok just confirming. Cant wait till its not split between the two ๐
Cause yeah when im sending tokens back to the server, only card supports the token
yeah ๐ฆ
Trouble is our tech support will somtimes try to add a credit card manually through the stripe dashboard if the customer is having issues. Is there some way for them set the default_payment_method?
not in the Dashboard, but you can listen to events/webhooks and then write code to mark those as the default