#ilyeselb
1 messages · Page 1 of 1 (latest)
Yes, you can switch to PaymentMethods tab
https://stripe.com/docs/testing?testing-method=payment-methods#cards
okay thank you
NP! 🙂 Good luck
thank you
sorry another quesstion
im testing saving card to customer with that pm
and i got this error PaymentServiceException: You must save this PaymentMethod to a customer before you can update it.
How exactly are you trying to save it? Can you share example/code?
await this.stripe.paymentMethods.attach(paymentMethodId, {
customer: customerId,
});
then i update the pm metadata
Are you sure the attach succeeded before you attempted to update the payment method?
ah i know the issue
also when you update the metadata, what PaymentMethod ID are you passing?
thats the issue