#bhanu365-invoice

1 messages · Page 1 of 1 (latest)

frigid dragon
dusky dirge
#

req_wXlt0wjFoGe5Ok

frigid dragon
#

you have a space in the parameter name

#

I guess in your PHP code you did " invoice_settings" => ... instead of "invoice_settings"=>...

dusky dirge
#

Ahh yes found it

#

now getting another error is "The customer does not have a payment method with the ID pm_1LabeNFmM52WOkSoYF3XsvCl. The payment method must be attached to the customer. "

#

req_AvByqG3K39pWTn

frigid dragon
#

yep, you didn't attach the payment method to that customer.

#

you should pass customer as the ID of that customer when you* create the SetupIntent *previously, so it's automatically attached for you.