#rohan_api

1 messages ¡ Page 1 of 1 (latest)

vestal inletBOT
#

👋 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/1286498531099672629

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

wild plover
#

Hi there, you can use any test card number to test payments in SGD or IDR.

wide dome
#

Oh awesome, thank you!

#

Is that also true for PHP?

#

(Phillippines)

wild plover
#

Yes you are right

wide dome
#

Thanks!

wild plover
#

Test it out and let me know if you encounter any problem

wide dome
#

Will do

#

We currently validate the returned card country against the expected country, so for example in sandbox if you try 4242 4242 4242 4242, we'll reject the payment unless the expected country is US. Is there a card number that returns a country of SG, ID, or PH?

wild plover
#

https://docs.stripe.com/testing#international-cards gives you a list of test cards issued in various countries

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

#

there's a 4000007020000003 for Singapore, but I don't see test cards for ID or PH