#antonio-giano_code

1 messages ยท Page 1 of 1 (latest)

alpine cedarBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1225834679295283303

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fair joltBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

timber sable
#

How exactly are you storing the payment method?
You can't set the payment method as default on the customer if it isn't attached to them first

dense crown
#

By going directly to the dashboard, the credit card is displayed for the associated customer

#

So, i pressupon the process goes well

timber sable
#

Ah ok ok! Hmm, thinking..

dense crown
#

To give you more context, the logical operation I am implementing is performed when i am redirected to the page present in the return_url field.

timber sable
#

Can you share a request ID where you're seeing this error?

[17:34:55.808] ERROR (72915): The customer does not have a payment method with the ID pm_1P2En2F07S1euBUTPUxnj3ZV. The payment method must be attached to the customer.

https://support.stripe.com/questions/finding-the-id-for-an-api-request

#

Looking at the customer/subscription that was associated with pm_1P2En2F07S1euBUTPUxnj3ZV, they seem to have been deleted

#

cus_Pryk28n3TGZjNW

#

Are you trying to attach the payment method to a different customer?

dense crown
timber sable
#

Gotcha. I don't think you can re-attach the same payment method to a different customer. You'll have to re-collect it

dense crown
#

sorry for the trivial problem ๐Ÿฅฒ

timber sable
#

NP! ๐Ÿ™‚ Happy to help

dense crown