33 Commits

Author SHA1 Message Date
Ilya Tregubov
7a635606e0 MDL-72256 enrol_fee: Fix indentaion for Behat. 2022-05-18 13:13:02 +06:00
Dan Marsden
b51d8d9a7a MDL-72256 enrol_fee: add payment information to course/info.php 2022-05-18 18:55:29 +12:00
Jun Pataleta
70f6b1605b MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
Andrew Nicols
bb9741d472 MDL-72701 unit tests: Fix broken @covers annotations 2021-12-21 09:24:00 +08:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
abgreeve
fcd4de8639 MDL-72090 navigation: Update to behat feature files for navigation.
This updates feature files to use the new steps to navigate to certain
pages.
2021-12-09 11:13:35 +08:00
Eloy Lafuente (stronk7)
deb0e76eee MDL-73278 phpunit: Rename already namespaced classes to match file name
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.

All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:29 +01:00
Shamim Rezaie
652392d932 MDL-70721 output: remove {{#quote}} wherever it was misused
Also use the new {{#cleanstr}} helper where it was more appropriate
than the {{#str} helper.
2021-11-16 10:08:06 +11:00
Shamim Rezaie
9317849257 MDL-70287 core_payment: Redirect user to the successurl after payment 2021-02-24 22:44:10 +11:00
Shamim Rezaie
51b73e431e MDL-70287 core_payment: Add get_success_url to service_provider 2021-02-24 22:44:10 +11:00
Shamim Rezaie
03b9d60b8e MDL-70287 core_payment: Improving existing and missing phpdocs 2021-02-24 22:42:03 +11:00
Shamim Rezaie
22dfcb1029 MDL-70459 enrol_fee: Sort the list of currencies when displaying 2020-12-16 22:26:44 +11:00
David Matamoros
9b5eb38f55 MDL-63683 enrol: Fix plugin settings when no role has student archetype 2020-12-04 09:09:37 +01:00
Eloy Lafuente (stronk7)
96c572c5f3 NOBUG: Fixed SVG browser compatibility 2020-10-27 23:47:24 +01:00
Sara Arjona
54d718b2b0 MDL-69166 enrol_fee: fix behat string from fee to enrolment by payment 2020-10-27 15:00:30 +01:00
Sara Arjona
5c422a03b9 MDL-69166 enrol_fee: define default value to currency setting 2020-10-27 15:00:11 +01:00
Shamim Rezaie
ce7c648526 MDL-69166 core_payment: Add privacy implementation 2020-10-27 15:34:56 +11:00
Shamim Rezaie
f5d94d6305 MDL-69166 core_payment: Addressing various integration points
- Add help for 'payment account' field in the enrol instance form
- Remove MOODLE_INTERNALs when not necessary
- Add $userid to deliver_order
- Check if provider classes implement the provider interface
- Rename get_cost to get_payable
- get_payable returns payable object
- Improve registerEventListeners and added init
- Rename payment\provider to payment\service_provider
2020-10-27 15:34:56 +11:00
Shamim Rezaie
d5a9d6e520 MDL-69166 core_payment: Rename componentid to itemid 2020-10-27 15:34:56 +11:00
Marina Glancy
9ad96a63a4 MDL-69166 core_payment: addressing integration review 2020-10-27 15:34:55 +11:00
Shamim Rezaie
61766b3d11 MDL-69166 core_payment: Add paymentarea to the payment subsystem 2020-10-27 14:40:49 +11:00
Marina Glancy
409857a42f MDL-69166 core_payment: archiving accounts, triggering events, tests 2020-10-27 14:40:49 +11:00
Shamim Rezaie
73527fa213 MDL-69166 core_payment: Show cost on the modal when no gateway is chosen 2020-10-27 14:40:49 +11:00
Marina Glancy
1d479dc0cf MDL-69166 core_payment: improvements to api, small fixes 2020-10-27 14:40:49 +11:00
Marina Glancy
6ff3087fe6 MDL-69166 core_payment: add payment accounts 2020-10-27 14:40:49 +11:00
Shamim Rezaie
3c87455f4b MDL-69166 enrol_fee: Show a warning when no currency is supported 2020-10-27 14:40:49 +11:00
Shamim Rezaie
22a949196d MDL-69166 enrol_fee: Prevent adding instance if no currency is supported 2020-10-27 14:40:49 +11:00
Shamim Rezaie
9d773ee592 MDL-69166 enrol_fee: use template for payment btn & properly format cost 2020-10-27 14:37:28 +11:00
Shamim Rezaie
184d2d078a MDL-69166 enrol_fee: Implement callback functions for payment subsystem 2020-10-27 14:37:28 +11:00
Shamim Rezaie
e88e3b87be MDL-69166 enrol_fee: set a description for enrolment 2020-10-27 14:37:28 +11:00
Shamim Rezaie
8ef156b7dc MDL-69166 core_payment: post to process payment 2020-10-27 08:37:08 +11:00
Shamim Rezaie
e9de430907 MDL-69166 core_payment: display the gateways modal 2020-10-27 08:37:08 +11:00
Shamim Rezaie
a580b33738 MDL-69166 enrol_fee: An enrolment plugin that supports payments 2020-10-27 08:37:08 +11:00