#r0ckii-checkout-customer

1 messages · Page 1 of 1 (latest)

fervent pastureBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • rockii, 3 days ago, 63 messages
thorny seal
#

Hi there

#

We can't re-open threads, but if you summarize your issue here then I'd be happy to help.

hearty saddle
#

Could you review that thread so you have context on the issue?

thorny seal
#

No sorry. We help multiple folks in real-time here. I can't read through a long thread.

hearty saddle
#

In short, we have a website were users have two onboarding flows:

  1. THe first flow (Application Flow) users are applying to be members of our community. They fill out a form and at the end of the form, we are using elements to capture their payment information and a user is successfully created in our Stripe Dashboard. This is is how the Elements form submits the captured payment info (see image) and this (see second image) is how it generates the checkout session for the subscription -- we use the 'external_url' present on 'session'. The review process can take days or weeks, but once approved, they are sent an email with a link that takes them through the second Flow
thorny seal
#

Okay

#

Are you having an issue here where another PaymentMethod is collected from the Checkout Session?

hearty saddle
#

My mistake we use the 'client_secret' prensent on 'setupIntent' to access the elements form on the FE

#

This is how the Elements form submits the cc info

thorny seal
#

Okay, what's the actual problem?

hearty saddle
#

And this generates the checkout session for the subscription. We use the external_url present on session

#
  1. The second flow (Registration Flow) is when an applicant has been approved and can formally register. During this flow we use a hosted payment form. But when the user gets to this page, their CC info is missing and is not being auto-filled
#

It fills their email, name and country but not their credit card. This is the issue we're having

thorny seal
#

Correct

#

In subscription mode, the customer’s default payment method will be used if it’s a card, otherwise the most recently saved card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.

hearty saddle
#

We meet all the conditions

thorny seal
#

Can you provide a Checkout Session ID that I can look at where the card wasn't pre-filled in that case?

fervent pastureBOT
hearty saddle
#

kk one sec

#

cs_test_c1pAq3nNsa0DQFxxomJOIjzT7Wzl7Y3H1GB9cqNSRFoMQ63AWQUsJU340F

thorny seal
#

Thanks looking

hearty saddle
#

will look into this with our dev and follow up -- thanks

thorny seal
#

Sounds good!