Forum Documentation Showcase Pricing Learn more

Stripe V3 SCA Workflow

Just a quick one.

I have a current app which subscribes users to a plan through a workflow after a user clicks a button.

The workflow is:

Subscribe to plan > Make changes to user > go to page XYZ

This works great with the V2 and works as expected.

When I switch the plugin to V3, it behaves differently. Obviously there is the stripe checkout page (I actually prefer this!). That is fine.

The issue that is happening is the rest of the workflow is happening irregardless of the stripe step.

So basically, with V2, the user can’t get the plan benefits which come from subscribing until the result of step 1 in the workflow (subscribe to plan) is successful. (How you’d want it!)

With V3, it’s simply redirecting to the checkout and then the workflow proceeds with step 2 “making changes to user”. It in essence should not be proceeding to the second step until the checkout is a success right?

Is there a way to prevent the premature action of the V3 workflow for my simple setup?

Thanks in advance.

Hi @dan8

It should probably be a completely separate workflow that you set to run only when you get feedback from Stripe that the process completed. So workflow 1 will be on button click and sends data to stripe and workflow 2 is triggered and gets feedback from stripe and then continues the rest of your process. I haven’t used v3 and use stripe.js but usually that’s how I handle stripe payments to ensure they actually went through.

Hopefully that helps

1 Like

I guess there are quite a few things I should be doing as triggered workflows then! I built them into actions on pages as I thought this was fine but it breaks with V3.

Thanks.