#priya_code

1 messages ¡ Page 1 of 1 (latest)

agile yewBOT
#

👋 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.

devout folio
#

Hello! Yeah, you can't specify payment method types which are not compatible with the currency you're using.

deft vale
#

is there any doc of the currency and payment method mentioned?

devout folio
#

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

deft vale
#

okay

#

thank u

devout folio
#

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.

deft vale
#

hmm what if I have some disabled payment method?

#

I don't want them to be show but everything else supported

devout folio
#

Not sure I understand, can you provide more details?

deft vale
#

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?

#

??

devout folio
#

That's only practical if you have a limited number of variations though.

deft vale
#

also, does stripe element support Discover payment method?

devout folio
deft vale
#

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'

devout folio
#

You can't disable just Discover with payment method types.

deft vale
#

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?

devout folio
#

If you want to prevent Discover payments you need to create the Payment Method first, then look at the card brand, then decide if you want to proceed. This would need to happen in your own custom code.

deft vale
#

okay

#

how to add apple pay?

#

and google pay to it?