#george-customer-paymentmethods

1 messages · Page 1 of 1 (latest)

sharp cliffBOT
hard crest
#

george-customer-paymentmethods

#

@frosty marsh the former is for a legacy API deprecated in 2018. It still works but it only gets the legacy objects (Card card_123 and Source src_123). The latter is for the newer objects (PaymentMethods pm_123) and is compatible with all the legacy
My guess is that your account/integration has switched over to PaymentMethod at some point and you didn't realize the impact

#

What you need is to start looking only at PaymentMethods

frosty marsh
#

if that is the case would I be correct in assuming that $stripe->customers->deleteSource and $stripe->paymentMethods->detach are effectively the same thing?

hard crest
#

yes

frosty marsh
#

Ok great! Thank you very much for the help.