Closed overture8 closed 4 years ago
Sorry, it's working exactly as expected - I was just being stupid. The error was not happening at the time of customer creation but at the point I was trying to create a Stripe.Session
. I was passing the customer object to Stripe.Session.create
rathern than the customer.id.
When I try to create a customer with the following...
I get the error below. I've checked the Stripe API and it says coupon can be passed through (https://stripe.com/docs/api/customers/create). I've tried retrieving and passing the actual Coupon object as well - it ends up with the same error.