#Santhosh Kumar R
1 messages · Page 1 of 1 (latest)
Hi, can you add more details here? Can you share the checkout session id with me?
cs_test_a1RqUFtvrauBqhQMyiRhjsTGUT5haRJGXFDFGWwp4JO1k9vYsrOQQ1gpdd
when i open this checkout session it auto popuates the credit card infomration
the customer is doing multiple prices so he ccould be using multiple credit cards
hi are u still lookin
cs_test_a1Q7QpubtINe4XMxETyreglBG8UF7l28XApaSjLo9dKsUZBqAaNNvKQgRb#fidkdWxOYHwnPyd1blpxYHZxWjA0TGBWfXdBQWlKYXdra29JU0JnZzNsU0k2Q3VsbFF9XUhjdEM1X2ZdaXRHdTBJbF03bWNuQ1BWfGZsa3UyUXdtYGdVfFRgVTNcXTR3cHdublB0ZDd9QkJrNTVBak9UREpAYCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl
It looks like you're passing the customer id when creating the checkout session. Is the card being prefilled the default payment method associated to the customer?
new checkout i created just now ..
yes..
the customer used this card earlier so it auto populated
but i want to overide that behaviour
is it possble?
I'm testing it now, please give me a few minutes here
OKei
I'm having a hard time replicating this on my end, when I pass the customer id with a default payment method, it does not automatically prefill this for me. I still have to input this information. Can you run this in an incognito window and confirm if it's pre-filling for you? (I'm wondering if you have saved cards and your browser is pre-filling)
Yeah, I see what you mean from the second session id you shared, let me look at something else to confirm
If the customer id has a payment method attached to them, by default, this information will be prefilled. This is document in our API resources here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Specifically:
In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page
@tall heart let me know if you have any questions!
no alternative to reset the oayment information for the ccustomer?
No, but if you click on 'Change', it would 'reset' the form and you can input the card details again.