#Aarti MusicHub
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Let me see if we have any docs on this
I found this for Link
https://stripe.com/docs/payments/checkout/customization#link
However, I remember there being a reference in the docs for card payments. Checking...
this doesnt help me, Ive seen this already. We have customers payment method already, its not the first subscription they will create using checkout
link would help if the first subscription is created using checkout and we save the card using link for the next subscription
Ah we have a video tutorial for this
https://www.youtube.com/watch?v=HrqSXUzW7_w
this is for payment mode, we want to use subscription mode
You can not pass payment_intent_data in subscription mode is what I get when I follow the tutorial but for subs
Ah I see..
My understanding is that if you've saved and attached the payment method to the customer (and set it as default payment method on customer.invoice_settings.default_payment_method) then checkout should prefill it in subscription mode
Ah it also needs valid billing address
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout#handling-existing-customers
thats not what is happening in reality
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
for this customer when I create a checkout session, only the name on card is prefilled even though billing address and card details are added on the payment method and its set as default
are you able to open the links I sent? or I can share screenshots
Hmm the link isn't working
ok thank you
Ah it seems like the PaymentMethod is missing billing email
Can you try updating that on the PaymentMethod by calling the API?
https://stripe.com/docs/api/payment_methods/update#update_payment_method-billing_details-email
oh yes
that was the issue
thanks, not easy to figure out , since there's no error as such
thanks a lot, that helps
Glad that worked! ๐ Happy to help