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.
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.
https://gravityranger.com/limit-stripe-subscriptions-specified-number-payments/
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.
Reference: https://formidableforms.com/knowledgebase/stripe/#kb-trigger-an-action-based-on-payment-amount
Please login or Register to submit your answer