#morunas

1 messages · Page 1 of 1 (latest)

weary plankBOT
mellow leaf
#

hi! well the easiest option is to just use payment_settings: {save_default_payment_method: 'on_subscription'}, so that Stripe automatically sets the PaymentMethod used as the default, so you don't have to read or do it yourself.

latent quartz
#

If I use that setting, then the payment method will be on the dashboard for the customer? So that if I do \Stripe\PaymentMethod::all([
'customer' => $customer->id,
'type' => 'card'
]) then I get a collection of the customer's cards?

mellow leaf
#

you would yes

latent quartz
#

ah ok. I'll try that then. Thank you.