#yukirivero

1 messages · Page 1 of 1 (latest)

vast auroraBOT
icy ledge
#

Hi 👋

The OS should't matter here. You are running the Stripe CLI?

deep bison
#

yes

icy ledge
#

If you run stripe version what do you see?

deep bison
#

1.13.12

icy ledge
#

and what is the command you are entering exactly?

#

I just tested this and got

stripe customers create
{
  "id": "cus_NSYM5lDDql3X84",
  "object": "customer",
  "address": null,
  "balance": 0,
  ...
}
deep bison
#

stripe customers create --description Test --email test@test.com --payment-method pm_card_visa -d "invoice_settings[default_payment_method]"=pm_card_visa

icy ledge
deep bison
#

oh I misplaced the "

#

it should be at the end

icy ledge
#

Oh, for the -d parameter? Yeah

deep bison
#

should be like this
stripe customers create --description Test --email test@test.com --payment-method pm_card_visa -d "invoice_settings[default_payment_method]=pm_card_visa"

#

yes, thank you so much

#

I saw the link you sent

#

and saw my mistake from there

icy ledge
#

Happy to help. Sometimes just writing out the problem helps clear things up too