It's not clear from the documentation but, from what I've gleaned anecdotally from others' comments and examples, the newSubscription function is supposed to:
a. take the token as created in createToken()
b. create customer in Stripe
c. associate a new subscription with that new customer
d. update Laravel databases accordingly
Is this correct? In my testing, I always get the same message:
"message": "No such customer: tok_********************",
"exception": "Stripe\Error\InvalidRequest",
because Cashier has not in fact created a Stripe user using my token.
Apologies if I'm missing something obvious. Are we supposed to use the Stripe PHP to create Customer and THEN use Cashier to associate a subscription to that customer?