Hello everyone,
I have a small problem at the moment concerning the cancellation of a plan for a user.
I’m using the stripe plugin and I’m using the “Cancel the current user’s plan” action. It works correctly on stripe. However, I’d like to program the cancellation of the plan’s functionality. In my database, this would result in a “Make changes to current user” action with the following field: User Plan = “No Plan”.
However, I don’t want to program this action now, but at the time of the next theoretical payment, which won’t take place (the user has cancelled his plan). We can also use the date of the last payment on stripe + the subscription duration if that’s simpler.
I think I need a workflow backend for this, but I’m not familiar enough with it.
In the same vein, how can I retrieve the date of the subscription cancellation and the date of the next or last payment? I’d like to be able to display it in the user’s billing area.
Thank you in advance for your help, and don’t hesitate to get back to me if I haven’t been clear enough.
Take care,
Mike