#bumbzor_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/1356990475785076869
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ I know there is for Checkout Sessions, but I don't think that exists for Elements. Let me double check that.
Hi. It would be great if that would be possible. As we can't test a few of these gateways that have Country restrictions.
I don't think you can force them to show when using Dynamic Payment Methods, but I was able to get Twint to show for (based in the US) by explicitly setting the payment method types.
can you tell me how you did that ?
Are you creating your Payment Intent before rendering the Payment Element, or are you rendering the Payment Element first?
I think we create the intent first
just a pointer to where you "set" the method type would be enough
Well it varies based on the approach, which is why I needed to ask to know where to point to.
If you're creating the intent's first, then you can use payment_method_types to explicitly set the desired Payment Methods:
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types