#fitzlong_code
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1433431846732955668
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there. What do you mean by "Stripe doesn’t seem to remember the card information in the test environment"
I’ve already completed a payment with this customer, but when I open the checkout page again, Stripe doesn’t prefill or remember the saved card details.
Do you have session ID for this checkout session? It'll be something like cs_test_ac123
yes cs_test_a16iMznbMTz3SnEHZIifO4AHZ2OR4ZyeqS9Lx2SesYY9UlX3Gy1seqrMmx
i have two, cs_test_a1aD7kj94TAUhQ8NCR76WNAKjw0aOOXdsvpOauJDATVUsyCfLdJARLEK2N
So checkout by default only shows a customer's payment methods that they have specifically opted into having them show all the time. You can override this behaviour though when creating your checkout session. Details here: https://support.stripe.com/questions/prefilling-saved-cards-in-checkout
I could see from the checkout session above that the payment methods on the customer all had allow_redisplay set to limited which is why they didn't show for you
How should I set the allow_redisplay parameter?