Apply a 100% discount coupon. Then hit the Enrol Now button.
The UI appears to do nothing. A message is sent to admin like this:
STRIPE PAYMENT ERROR: Not a valid user id!
In the 3.4.1 release the arguments to the call stripepayment_free_enrolsettings in amd/src/stripe_payment.js are not aligned with the function in externallib.php as the user_id and coupon_id are swapped.
Apply a 100% discount coupon. Then hit the Enrol Now button.
The UI appears to do nothing. A message is sent to admin like this: STRIPE PAYMENT ERROR: Not a valid user id!
In the 3.4.1 release the arguments to the call stripepayment_free_enrolsettings in amd/src/stripe_payment.js are not aligned with the function in externallib.php as the user_id and coupon_id are swapped.