#keiron-Subscription
1 messages · Page 1 of 1 (latest)
Hi @echo relic , we have an integrated payment flow using https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements - we fetch a payment intent that includes an initial payment and also sets up a subscription with a free trial. The reason we do this is our customers pay x amount up front for the first part of their subscription, then go on a regular monthly subscription afterwards.
This works well, except we have to use a free_trial to allow for those months at the beginning that the member has paid up front for.
This messes up the stats in Stripe, as they are not strictly free trials, and we may want to introduce true free trials in the future, so I have been trying to code it in a different way that doesn't require a free trial implementation.
Got it, I'd suggest you to use the SetupIntent API collect the payment method from your customer first, and attach the collected payment method to the customer's invoice_settings.default_payment_method or the schedule's default_settings.default_payment_method
Ok thank you, I will give it a go