pmpro-multiple-memberships-per-user
pmpro-multiple-memberships-per-user copied to clipboard
Payment Process not showing
Replication Steps: I suppose you have two groups and any number of levels and Group names are Group A and Group B. I will be referring with same here too.
- Create a Free Level in Group A
- Now create a paid level in Group B
- Do the checkout by selecting Free level from Group A and Paid Level from Group B
- And will be able to replicate
I've been able to recreate this. Working on a fix.
Did some work on this here https://github.com/strangerstudios/pmpro-multiple-memberships-per-user/commit/3284d3864e179ea4e1f92ddf0d01a644d89419aa
However, we need to also update core PMPro to use the pmpro_require_billing filter when whether or not to enqueue gateway JavaScript. e.g. here: https://github.com/strangerstudios/paid-memberships-pro/blob/dev/classes/gateways/class.pmprogateway_stripe.php#L370
To avoid having multiple versions of the pmpro_require_billing filter, I'm going to create an abstracted function (maybe pmpro_require_billing() ) that checks the pmpro_level by default, but includes the filter so MMPU will override it. I'll try to get that pushed out ASAP. Maybe next week. Will link here when we have a patch.