#amar_api
1 messages · Page 1 of 1 (latest)
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.
- amar_api, 2 minutes ago, 18 messages
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1246105014540439552
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
I had a request about this a few minutes ago and I followed this article https://support.stripe.com/questions/prefilling-saved-cards-in-checkout to add "payment_method_data": {
"allow_redisplay"
:
"always"
,
}, to my checkout
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
So I completed this checkout session req_lYO5eobGLpCcJ4
Then I created a new checkout req_vtpxwVmUtcnMwn but my payment method didn't show
Hi there đź‘‹ since you're in running in subscription mode, my suspicion is that you aren't seeing those because a billing address isn't being collected, whcih is a requirement for reshowing payment methods in subscription mode:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=stripe-hosted#handling-existing-customers
If you set billing_address_collection to required and step through this again, do you then see the Payment Method filled on the return visit?
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-billing_address_collection
Will this work instead: saved_payment_method_options: {
payment_method_save: 'enabled',
},
You said it doesn't in your testing, right?
Well I'm trying this: payment_method_data:{ "allow_redisplay": allow_redisplay }
But you just sent this documentaiton
Hm, that's the section I meant to link to, and not the section I'm seeing when clicking the link. I wanted to direct you to section of the documentation that explained the requirements for saved payment methods to appear in Subscription mode:
In subscription mode, Stripe processes the customer’s default payment method if it’s a card. Otherwise Stripe processes the most recent card. The Checkout page requires a valid billing address, billing name, and billing email to prefill the customer’s card details.
Ok let me give that a go
Also while I have you, I am having issues with Google Pay & Apple pay not showing in checkout
I don't pass any payment methods into my checkout session to control them in the dashboard
but they dont show
tried it, didn't work
I made this change, went to checkout, filled in my address, created a new checkout and there were no saved payment methods
Can you share IDs?
For the wallets, are you testing from a browser which supports Apple or Google pay, with profiles that have wallets set up, and where you have at least one card in those wallets?
Yes I am using it on my phone which has google pay
Do you have a test site that I can hit to see that behavior?
It's ok we can come back to that
This is the checkout where i completed with my address and test payment method
This is the second checkout where the payment method didnt show as a pre-filled option
Both of those sessions are still open, neither one has been completed.