strangerstudios / pmpro-sponsored-members

Generate a discount code for a main account holder to distribute to sponsored members.
https://www.paidmembershipspro.com/add-ons/pmpro-sponsored-members/
15 stars 27 forks source link

Compatibility with PMPro Payment Plans #142

Open dparker1005 opened 1 year ago

dparker1005 commented 1 year ago

Is your feature request related to a problem? Please describe. 1) Sort of related to payment plans… The parent can choose their payment plan when they checkout, but number of seats is always based on the number of cycles and a fixed rate per seat for that cycle. So if the seat is $10/month and the parent pays for a monthly plan, the seat should be billed at $10/month in addition to membership fees. If the parent signs up for yearly payments, at the moment, they would only be charged $10/year for the seat since the price of the seat is $10 per cycle. We need to be able to set the cycle or set numerous options for pricing per cycle so that the math works out. So if we enter 10 in the code to set the seat price assuming that is for a month, a payment period of a year should multiple that number by 12. Either that or manually let us set different rates depending on the payment plan.

2) If when using the discount_code filter you choose a cycle_period of a Month but then when the child checks out with that discount code and tries to setup a Yearly payment plan option, you get an error message that doesn’t clearly state that the issue is they need to sign up for a monthly plan. This would probably not be an issue if the above issue of being able to set different rates for different cycle periods were implemented. Either way, the error message needs to be in plain English so that users can understand. Either that or the invalid payment plan shouldn’t be an option.