#tymm-checkout
1 messages · Page 1 of 1 (latest)
hi!
1/ That's mainly supported via https://stripe.com/docs/payments/checkout/customization#link
2/ Unfortunately those parameters are not supported today in Checkout. What's the exact use case, maybe I have a workaround?
i see
basically i want to let customers to conveniently subscribe to plans using their previously saved credit cards
also with proration and billing cycle anchor in place
so u recommend using the invoice ui instead for subscription with proration and billing cycle anchor logics?
well if you absolutely need those features then the only option is to create the Subscription object directly in the API with the relevant parameters and then pay the first invoice(either in your own UI or possibly using the hosted Invoice page, yes). https://stripe.com/docs/billing/subscriptions/billing-cycle#new-subscriptions
yeah this is what i'm doing actually (got proration and anchor working with the hosted invoice page)
so this "use previously saved card" and "proration, billing cycle anchor" cannot co-exist in one same payment UI, am i right?
not in a Stripe provided one at least! It's technically possible if you build your own payment page. For example you could use https://stripe.com/docs/api/payment_methods/customer_list to list a customer's saved payment methods, render a UI for showing the details to the customer and let them pick one, and call https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-existing with the ID of the saved payment method, for the PaymentIntent belonging to the Invoice you create, on your own payment pages
alright, got it.