Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Julien44's avatar

3D Secure with Laravel/Cashier as REST API with Vue.js SPA

Hello guys, I am struggling to make 3d secure payment work with Laravel cashier. I use Laravel and Laravel Cashier as rest API for my single page application made in Vue.js

The payment without 3d secure works perfectly however as soon as I try with a 3d secure test card from stripe, I receive this error: "The payment attempt failed because additional action is required before it can be completed."

After this line:

$ user->newSubscription (env('STRIPE_SUB'), $planID)->create ($paymentID);

I had never used stripe before. Do you have any idea how to deal with this issue?

Thank you so much

0 likes
0 replies

Please or to participate in this conversation.