#mike35x95x1-payment-intent
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ could you share the ID of the Payment Intent (pi_xxx) that you're referring to so that I could take a closer look at what you're referring to?
pi_3LZwPJI9dUljRHPm1bm0avCP
I have a payment_method pm_1LZwPTI9dUljRHPmL2myRG3h on it
and a customer cus_MIWcDGo8R1COEp
but the customer has no payment_methods on his dashboard:
Thank you for those details. This is happening because the Checkout Session created for this was not created in such a way that it would prepare the created Payment Method for additional use, so the created Payment Method was not attached to the Customer and was marked as consumed.
To adjust this behavior you would leverage the payment_intent_data.setup_future_usage parameter:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, thanks
Any time!