#overture-bacs
1 messages · Page 1 of 1 (latest)
Usually when you create a Subscription it starts as incomplete and then you have to get them to pay with the payment method
How did you set up that subscription? Can you share the Subscription id? sub_123
Thanks. We created the subscription via the API on behalf of another customer (via Stripe Connect) - the payment method would have been attached at the point of creating the subscription via the Stripe Checkout flow. The sub is sub_1Ky2yqBOCVzUVeTsL9vtUAAM.
looking
Okay so that Subscription was not created via Checkout as far as I can tell
Your code used the Subscription Schedule API to create it: https://dashboard.stripe.com/logs/req_RC2UmR7HTjFgEt
You likely forgot to set the customer's default payment method: https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method so it never attempted payment
@timid raven does that make sense
I just can understand how that could happen... The only way to create a DD through our flow is to go through a checkout session. This is the checkout session here if it helps? cs_live_c1W5MOYCnUQHMwYzHCK9AJDhK12lcH2BS4ul6DEDm8NE3SrJ2NbFRvIblH
that is a mode Checkout Session
all it does is collect payment method details and nothing else
after that, your own code finds the successful completion and then creates a Subscription Schedule yourself (not Checkout)
and you didn't properly set the default payment method on the customer I assume
Ah, ok - I understand. Thanks - that gives us something to go on.
yeah after the Checkout Session completes you would update the customer to make it the default payment method, or explicitly set it on the Schedule creation
@timid raven is there anything else I can help with?