#priya_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/1235255733847855127
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Yeah, you can't specify payment method types which are not compatible with the currency you're using.
is there any doc of the currency and payment method mentioned?
I don't know of a single guide with all payment methods and the currencies they support, but each payment method's page has details about the currencies. Alipay is here, for example: https://docs.stripe.com/payments/alipay
Have you considered using dynamic payment methods, where you turn on the ones you want in the Dashboard and don't have to specify them in your code?
Then you wouldn't have to worry about the currency issues or anything, Stripe would select the correct ones automatically for you.
hmm what if I have some disabled payment method?
I don't want them to be show but everything else supported
Not sure I understand, can you provide more details?
okay so in our case user can disable a certain payment method to be not shown to the user. Suppose i disabled bancontact. so in the checkout i should all other but not bancontact
is there a way to just send the disabled ones so that payment element can display rest?
??
Ah, gotcha. You could create different Payment Method Configurations to handle different scenarios: https://docs.stripe.com/payments/payment-method-configurations
That's only practical if you have a limited number of variations though.
also, does stripe element support Discover payment method?
Yes, have a look here: https://docs.stripe.com/payments/payment-methods/overview
it's included in card brand. If user disables the discover card brand. How can I do that while sending it to payment method? since we just send 'card'
You can't disable just Discover with payment method types.
In our site the user can disable specific card brand. like I can disable discover then user should not be able to do payment with discover card. how can i do that?