Closed gausam closed 3 years ago
Thanks for this, please can you test renewals for 'parent' accounts. The fields should be hidden by default and then shown if the user unchecks the 'keep child account active' or it should show the number of fields for the remaining amount of uses for that level. So if they've used 2/3, show one field. If they uncheck a child account, it should show 2 fields (1/3 'uses')
Here's my setup used for this test:
global $pmprosm_sponsored_account_levels; $pmprosm_sponsored_account_levels = array( //seats based on field at checkout 1 => array( 'main_level_id' => 1, 'sponsored_level_id' => 2, 'seats' => 2, 'seat_cost' => 10, 'sponsored_accounts_at_checkout' => true, ) );
Screenshot:
Here's the error message when trying to checkout -
Thanks, Andrew 👍 I've added adjustments to handle the renewal scenario and I successfully tested with scenarios:
Allow configurations where the number of seats is fixed and cannot be edited by the user during checkout.
All Submissions:
How to test the changes in this Pull Request:
Other information:
Changelog entry