From the note in docs, make sure this matches:
Cashier 12 utilizes Stripe API version 2020-03-02
Also review the change log:
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello All, recently we upgraded our application to laravel 7.x, cashier 12.x and spark 11.x, we are using spark stripe api for subscription payments and it was working fine before the upgrade, and started giving the following error after upgrade, i checked cashier docs and i am not able to understand where we should add the payment method, this issue is occurring for new registrations, we are sending the following fields to stripe:
address, address_line_2, city, country, email, name, state, plan, stripe_token, terms, zip
and once token received from stripe, the register call failing with the following error, Thank you all for your help.
message: "The given data was invalid.", errors: {stripe_payment_method: ["The stripe payment mthod field is required."]}
Please or to participate in this conversation.