#schteve
1 messages · Page 1 of 1 (latest)
Hi there!
Using payment_method: pm_card_visa is very useful for thesting things. But it's doesn't make any sense in production, since you should use a real Payment Method instead.
Oh okay so it is just a testing value rather than being able to only confirm visa paymentintents?
Exactly. You can see all our test values here: https://stripe.com/docs/testing
In practice:
- If you have an existing PaymentMethod saved, then you would use
payment_method: pm_xxxwith a real payment method ID - If you don't have one, then you would not set
payment_methodat all, and collect a new one on the frontend with the Payment Element.
alrighty that makes sense, thank you 🙂