#qcasey
1 messages · Page 1 of 1 (latest)
Can you share an example Checkout Session ID with me so I can take a look?
Looking at the docs, I added payment_intent_data: {"setup_future_usage": "off_session"}, which doesn't appear to do anything here.
Sure 1 sec
cs_live_b1LdzOPycZBz7UOWwTkkm1ApbfqcZ4dj8YMgm07SR3hcWYF7p41mgpbtUC
So you have two options here:
- You can set
customer_creation: alwaysto always create a Customer so that the PaymentMethod is automatically attached to the Customer and can be charge in the future
- You can create a new Customer AFTER the checkout session is successful and attach the created PaymentMEthod (https://stripe.com/docs/api/payment_methods/attach) to the customer
Thank you very much, I'll try the first option!