#brandan_best-practices

1 messages ยท Page 1 of 1 (latest)

toxic hamletBOT
novel garnetBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

toxic hamletBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250443051038412913

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

fallen kestrel
#

Hello
Threads are closed automatically after they've been idle without a response for a while.

#

Can you summarize your ask here?

#

I'm happy to help

uncut snow
#

Yes!

I am using Stripe iOS SDK to implement Apple Pay on an iOS mobile application. We are aware that we can't use Stripe Test cards in Apple Wallet to test certain scenarios and can only use the Apple Sandbox cards. We are wondering what sort of validation happens between Apple Pay and Stripe when a payment token is created. (example: if Apple Wallet's card is now expired, or if it was a prepaid card that no longer has sufficient funds, etc (any negative cases) How does that get handled in Stripe and/or what are the best practices of handling that if it's not done on Apple/Stripes side?

fallen kestrel
#

Are you asking about validation when the card is saved? OR are you asking if the card that has been saved already is charged at a later point?

If the card is "now" expired/doesn't have funds etc then you'd get a decline when trying to charge it.

#

There are some cases where expired card can be charged

#

@blissful trench please stop jumping into other threads and create your own using the form from #help channel

uncut snow
#

That's a good question, likely looking for an answer for both. Once an initial purchase is made with Apple Pay the users are able to toggle an 'auto-renew' option in our system as well as go purchase other items with an existing card on file (apple pay card). It's great to know that there will be some sort of decline from stripe when trying to charge expired cards in some cases. Do you know how we can test this via apple pay? I know Apple Sandbox doesn't provide any options for negative test cards like Stripe does.. we are struggling to find a way to do end to end testing on that

#

For cases where a expired card can be charged, what is best practices surrounding those cases with Apple Pay?

fallen kestrel
#

Unfortunately, there's no way to test this end to end using Apple Pay since it doesn't allow you to store a test card.

uncut snow
#

Ok, that's unfortunate but wanted to at least get confirmation on if that's possible to test negative scenarios so we don't have our team searching down rabbit holes. I think this helps give us some clarity.

So if the users apple pay card was used and valid for one purchase, and then the card was on file, used a few months later but then was expired - would Stripe kickback an error? Or when is Stripe able to allow charging expired cards?

fallen kestrel
uncut snow
#

Thanks for the link to the documentation. I think I have the info I was looking for - should be all set to close this thread. Thank you for your help!

fallen kestrel
#

NP! ๐Ÿ™‚ Happy to help