#eddy_ece-applepay

1 messages ยท Page 1 of 1 (latest)

quaint tartanBOT
#

๐Ÿ‘‹ 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/1440401360595193947

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

stuck mason
#

Unfortunately, blocking prepaid card on Apple Pay interface is not supported natively on Stripe integration.

One way I can think of is to use deferred intent flow, which you will create and inspect a ConfirmationToken to inspect if the card is a prepaid. If the customer uses a prepaid card, your system can prompt the user for a new payment method again.

Here's the guide of deferred intent flow: https://docs.stripe.com/payments/build-a-two-step-confirmation

chrome wave
#

But this would be a terrible UI/UX, people will pay then get a rejection, how we can do this?

stuck mason
#

Blocking prepaid card on Apple Pay interface is not supported on Stripe integration currently. I'd recommend using the deferred intent suggested earlier.

chrome wave
#

but duolingo is using stripe and they actually do block them

#

and I'm not saying this from a native app, they use it on their web checkout page

quaint tartanBOT
solemn barn
#

eddy_ece-applepay

#

@chrome wave they might be using PaymentRequestButton which is an older integration (deprecated) which supported this. We haven't added this to ExpressCheckoutElement yet sadly but I recommend reaching out to our support team at https://support.stripe.com/contact to flag your interest in this feature!

chrome wave
#

So you're saying I should be able to do this with PaymentRequestButton?

Stripe radar + block rules won't automatically help?

solemn barn
#

yes to #1 but it's a deprecated feature so I would discourage you from using this
#2 works but it is not a good experience like you rightly called out

chrome wave
#

Thank you, will try #1 - understood it's not recommended but honestly if it can lower our failure rate from 99% to 20-30% it would be great.

By using #1 can we block specific BIN?

solemn barn
chrome wave
#

We can't create a setup intent, block bin numbers and use the checkout element?

#

or payment intent element with apple pay

solemn barn
#

Sorry this is super vague ๐Ÿ˜“
We don't have a concept of "blocking a certain BIN" in the API, we don't expose the BIN by default (you have to be approved to access it)
Also ApplePay doesn't really guarantee that the DPAN they generate has the same BIN as the original card. They try but I don't think it's guaranteed

chrome wave
#

All good thanks for your help guys. Best support team

solemn barn
#

Thank you ๐Ÿ™‚