Subscription date need to set start of each month
Description
I have subscription plans which are monthly, But I want to immediate payment for the current month and the next recurring payment goes to the 1st of each month. With stripe documentation we are using proration_behavior set as none and billing_cycle_anchor to 31
How can be possible to use this plugin?
Steps to reproduce
- Created form using {{ craft.enupalStripe.paymentForm('formhandle') }}
Additional info
- Craft version: 4
- PHP version: 8
- Database driver & version: MySQL
- Plugin version: 5.5.2
Hi @AmitSenjaliya I think we can calculate a setup fee (on the remaining days until 1st of next month) and start a subscription on the first of each month, does this sounds like a solution to this problem?
@andrelopez Sorry for not replying at that time. Because I found the solution to set backdate_start_date firstOfCurrentMonth Working fine without SCA enabled.
But now, this is not working with the SCA stripe checkout. billing_cycle_anchor to next month of 1st date working fine. Here, the current month amount is calculated on a prorated basis, like if someone purchases a subscription at the end of the current month, then I want to charge the full amount. I know this is not recommended. But our use case is different.
Without SCA, billing_cycle_anchor and backdate_start_date work fine, but when I tried to set up with session checkout, that backdate_start_date did not work.
Is there any solution for that?