#bogny_api
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/1364643555263385682
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
HI ๐
I'm afraid I don't understand what you mean here. What is the behavior you want to see?
Hi, the customer cus_S8pStfC9wivDkG has a default payment method pm_1REXoNKZ7TaYvHWt9M3zVh50 to be used for future payments. But when I try to pay, payment details are asked again
Are you attempting to display the saved payment method so the customer can select it?
We describe how to get started with this here
But the payment method was already saved to be used in future.. I would expect it to be prefilled here already..
Or I made somethings wrong when saving payment method?
There are some extra steps you need to take to allow the Payment Method to be redisplayed on the Checkout Page istelf.
I recommend you review the doc I provided
ok thanks
probably I found the problem, payment method has property allow_redisplay to 'limited' instead 'always'
In that case you would need to update the saved_payment_method_options.allow_redisplay_filters parameter when you create Checkout Sessions to allow displaying limited. Or you could save payment methods with the allow_redisplay: 'always' value