Closed handhikadj closed 11 months ago
14.12.8
10.22.0
8.1.4
MySQL 8
when there's no payment method (card), laravel cashier should throw an exception instead of creating it away. in real life, the subscription should not be created. currently I use test account. if this is expected behavior, then please clarify why
$user ->newSubscription('default', config('services.stripe.default_price')) ->quantity(1) ->create();
screenshot from my stripe (test) account on customer detail:
create new fresh stripe (test) account, code this inside a controller's method and "visit" it:
Hi there. This is the default stripe behavior or creating a subscription and afterwards setting up a payment method.
Cashier Stripe Version
14.12.8
Laravel Version
10.22.0
PHP Version
8.1.4
Database Driver & Version
MySQL 8
Description
when there's no payment method (card), laravel cashier should throw an exception instead of creating it away. in real life, the subscription should not be created. currently I use test account. if this is expected behavior, then please clarify why
screenshot from my stripe (test) account on customer detail:
Steps To Reproduce
create new fresh stripe (test) account, code this inside a controller's method and "visit" it: