#drinko-testing
1 messages · Page 1 of 1 (latest)
@spring talon yep, you can't use the test tokens (https://stripe.com/docs/testing#cards) in live mode. Did you write code to do that?
$intent->confirm(['payment_method' => 'pm_card_visa'])? What's wrong with visa card??
it's a test card. It's a placeholder for testing.
you're supposed to replace it with a real card that you accept from the customer on your frontend(for example you'd use our Stripe Elements inputs to accept a card, those create pm_xxxx PaymentMethods which is what you'd actually use)
pm_card_visa is a test placeholder to let you quickly test without needing to go through your frontend credit card form each time.