Symptoms
Need to create a payment plan of equal installments for a limited number of transactions using the Gravity Forms Stripe Add-On. Or you would like to cancel a Stripe subscription after a specified number of payments.
The Stripe API doesn’t allow you to set the total number of recurring payments when creating the subscription and as a result you will not see an option for that when setting up your Stripe feed.
How To Fix It
The geniuses over at Gravity Forms have already put together a simple solution to this problem. You can read more about it here: Cancel a Stripe Subscription After a Specific Number of Payments.
Basically all you need to do is add the code snippet below to your themes functions.php file or a functionality plugin like WPCodeBox (recommended) and modify it as explained in the snippet.
Need More Help?
If you still need help, use the chat or leave a comment below and we’ll get back to you.
Comments