I followed this tutorial step by step: https://appdividend.com/2018/12/05/laravel-stripe-payment-gateway-integration-tutorial-with-example/
However, when I go to tes
Downgrade your Cashier version to 9.x.
On Cashier 10.x's create()
method accepts a paymentMethod
as the first parameter.
On Cashier 9.x's create()
method accepts a stripeToken
as the first parameter.
OR
Upgrade your frontend JS to work with the Payment Intents API. But this will be a problem if you're planning to work with the new Stripe Checkout (as shown here - https://github.com/laravel/cashier/issues/637)
My suggestion is to downgrade the Cashier version until it fully supports.