#Slack Robot
1 messages · Page 1 of 1 (latest)
I'm trying to follow up on the previous thread but looks like it's archived and it appears to be new thread
Hi there, what kind of test are you going to perform?
Make a payment method on Stripe via Stripe token i.g. "tok_visa"
and someone suggested not using such a token like this so I'm following up
OK. Tokens and Sources are legacy APIs and we always recommend our users to use the new PaymentMethods/PaymentIntents API for integration
So if you are using the new PaymentMethods API, you can use a test Paymentethod like pm_card_visa in your test code.
You can find the list a test payment methods here https://stripe.com/docs/testing?numbers-or-method-or-token=payment-methods
Got it. Thank you very much!