#anton-dekhtyar_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/1265978667784474665
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! hmm, why only Amex? what happens if a customer wants to pay you and doesn't have an Amex?
at a technical level it can be possible to integrate this but it's a bit complex so I want to understand more before getting into it.
I have payments with other cards and methods. Amex will be an alternative payment method through Stripe. I don't need the rest of the cards in the iframe.
why don't you process the other cards through Stripe as well?
customer requirement
Then you're going to need to implement a server-side confirmation flow that allows you to tokenise the card details in the Payment Element and handle any custom logic before processing the payment. So in your case you can check the brand of the card and prevent payment: https://docs.stripe.com/payments/finalize-payments-on-the-server
Can the icons of other cards be removed only with styles?
Not today
This is impossible?
To hide the icons in the Payment Element? Yes
Please tell me why the method you proposed is better than what I was thinking of doing? Before submitting, I check the entered card at the front, and if it is not Amex, I return an error.
I already explained how