#Matt11
1 messages · Page 1 of 1 (latest)
of course, req_eBf1zxHGzFNAQK
taking a look
thank you!
ok so basically you don't need the off_session: false the setup_future_usage: 'off_session' is enough
ok it works!!
another question, is it mandatory to set a default payment method to let everything in stripe works?
if you're not using Stripe Billing as I mentioned earlier there's no reason to set that param
ok so if a customer has 3 different cards Stripe is able to decide which one to use right?
in which scenario?
recurring payment in which I create a new PI for the customer
@topaz fiber please stop using recurring payment unless you're referring to Stripe's subscriptions otherwise you will get us confused
since you are passing the PM in your PI there's nothing that Stripe needs to do to define which PM to use
mmm is it possibile to get the latest payment method added? because otherwise I cannot know which PM send to the PI
No, there's currently no concept of a "default" payment method for one-off payment intent payments
you must explicitly provide a payment method ID (or new payment method details)
If you want to use a default from your perspective, you need to store the ID to use for that and provide it with each payment intent
and why setting the default into Stripe is not a good idea? it could be a solution?
Setting where?
setting the default payment method on the customer
you mean the customer invoice_settings[default_payment_method?
yes, even if I'm not using Billing. or the default_source field