#schteve

1 messages · Page 1 of 1 (latest)

lapis thornBOT
shrewd gale
#

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.

vague ether
#

Oh okay so it is just a testing value rather than being able to only confirm visa paymentintents?

shrewd gale
#

In practice:

  • If you have an existing PaymentMethod saved, then you would use payment_method: pm_xxx with a real payment method ID
  • If you don't have one, then you would not set payment_method at all, and collect a new one on the frontend with the Payment Element.
vague ether
#

alrighty that makes sense, thank you 🙂