Stripe recurring payments - specify number of payments

By: Elizabeth Martinez | Asked: 01/06/2023
ForumsCategory: Code HelpStripe recurring payments - specify number of payments
Elizabeth Martinez asked 1 year ago
Is there a way to set-up more of a payment plan with Stripe instead of just an infinite monthly payment. I want to set-up an option for 4 payments or 6 payments - not an endless recurring payment.
2 Answers
Victor Font answered 1 year ago
See this:
Elizabeth Martinez replied 1 year ago

Yes, that shows how to set-up an infinite recurring payment - there is no way to specify the number of payments, it just creates a non-ending subscription. I am looking for a way to specify recur every month but stop after 4 payments have been made - or stop after 6 payments have been made.

Shawn Pery replied 1 year ago

Yes, it’s not possible out of the box afaik. I had to use woo for one of my projects that needed this, when simply limiting stripes recurring number of payments would’ve been perfect. That and change payment method are missing.

Not really helpful, but I found this code explanation that someone wrote for gravity forms, when I was on my search.

Bobby Clapp answered 1 year ago

I won't be of much help here, but you'll likely have to create a complex hook using the "frm_payment_status_complete" hook.


Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community