Shamim Rezaie
11b2d9e9ac
MDL-69166 core_payment: show cost on the modal
2020-10-27 14:37:29 +11:00
Shamim Rezaie
950e69dd4c
MDL-69166 pg_paypal: capture payment directly
2020-10-27 14:37:29 +11:00
Shamim Rezaie
9e6630ab99
MDL-69166 pg_paypal: New helper to get order details from PayPal
2020-10-27 14:37:29 +11:00
Marina Glancy
7740c45de4
MDL-69166 core_form: allow modals to prevent closing on accidental click
2020-10-27 14:37:28 +11:00
Shamim Rezaie
fd187060ad
MDL-69166 core_payment: ES6-ifying modal_gateways
2020-10-27 14:37:28 +11:00
Shamim Rezaie
b23dcc37f2
MDL-69166 core_payment: Use a custom modal type for gateway selector
2020-10-27 14:37:28 +11:00
Shamim Rezaie
2bb44987a6
MDL-69166 pg_paypal: Support multiple currencies on the same page
2020-10-27 14:37:28 +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
ad6df31745
MDL-69166 core_payment: es6-ify
2020-10-27 14:37:28 +11:00
Shamim Rezaie
b5507b8685
MDL-69166 core_payment: add a callback for when payment is done
2020-10-27 14:37:28 +11:00
Shamim Rezaie
8726d77517
MDL-69166 pg_paypal: Display PayPal buttons in a modal
2020-10-27 14:37:28 +11:00
Shamim Rezaie
c67e35521a
MDL-69166 pg_paypal: handle paypal checkout callbacks
2020-10-27 14:37:28 +11:00
Shamim Rezaie
330f492089
MDL-69166 pg_paypal: Ability to connect to sandbox or live environment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
16099e4038
MDL-69166 pg_paypal: Process after payment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
52ed1392f8
MDL-69166 core_payment: Save general payment information
2020-10-27 14:37:28 +11:00
Shamim Rezaie
fc37fb1eb2
MDL-69166 pg_paypal: paypal helper class to work with API
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
22c68a8197
MDL-69166 core_payment: helper methods to get cost and to deliver order
...
Also create the infrastructure to let components know when they have to
deliver what they sold. We are going to use namespace functions instead
of traditional callbacks.
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
03f20edbd5
MDL-69166 core_payment: send a purchase description to payment gateways
...
We truncate description to 127 chars as per PayPal requirement
2020-10-27 14:37:28 +11:00
Shamim Rezaie
7f988ff518
MDL-69166 pg_paypal: render PayPal buttons and set up transaction
...
We truncate brand_name to 127 chars as per PayPal requirement.
2020-10-27 14:37:25 +11:00
Michael Hawkins
2660d542c8
MDL-69559 core: Removed stopPropagation from tree click handling
...
It was preventing JS click event handlers being reached on some
elements, such as course admin items in Classic
(eg download course content for teachers).
2020-10-27 07:52:43 +08:00
Michael Hawkins
c2b115f829
MDL-69559 course: Fixed behat navigation in download course content
2020-10-27 07:52:18 +08:00
Paul Holden
e5fa5c31d5
MDL-64723 tool_mobile: workaround for invalid certificate parsing.
...
This is to account for specific server configuration that are affected
by one of the following issues, which results in certificate signature
algorithms being incorrectly parsed:
* https://bugs.php.net/bug.php?id=77548
* https://github.com/curl/curl/issues/3706
2020-10-26 23:04:46 +00:00
Sara Arjona
c7d9b12994
MDL-65959 core_badges: fix unique index in upgrade.php
...
There was an error when creating the unique index. Apart from that,
the code has been reorganised to copy data in the new structure only
if password field hasn't been removed.
2020-10-26 23:56:04 +01:00
Sara Arjona
5deb0dad76
Merge branch 'MDL-65959-master' of git://github.com/peterRd/moodle
2020-10-26 22:39:28 +01:00
Shamim Rezaie
e75112a886
MDL-69166 pg_paypal: WS and AMD to return some settings to be used in js
2020-10-27 08:37:08 +11:00
Shamim Rezaie
8ef156b7dc
MDL-69166 core_payment: post to process payment
2020-10-27 08:37:08 +11:00
Shamim Rezaie
59eaf4b662
MDL-69166 core_payment: display an image for each gateway
2020-10-27 08:37:08 +11:00
Shamim Rezaie
96f57f803d
MDL-69166 core_payment: some basic styling
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
9f2d8a0bdc
MDL-69166 core_payment: WS to get list of gateways supporting a currency
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
Shamim Rezaie
a5d219b811
MDL-69166 pg_paypal: A new payment gateway is born
2020-10-27 08:37:08 +11:00
Shamim Rezaie
9e9ae7a51e
MDL-69166 core: list settings page in the admin tree
2020-10-27 08:37:08 +11:00
Shamim Rezaie
e52362fc5c
MDL-69166 core_payment: basic gateway skeleton
2020-10-27 08:37:08 +11:00
Shamim Rezaie
9d77bf7c9b
MDL-69166 core: define payment as a subsystem and pg as a plugin type
2020-10-27 08:37:08 +11:00
Jun Pataleta
b7294cc13b
MDL-70004 qtype_multichoice: Set appropriate clear my choice role
2020-10-27 01:58:44 +08:00
Peter Dias
ef447fc7ef
MDL-65959 badges: Allow cross domain/protocol functionality - obv2
2020-10-27 00:28:16 +08:00
Peter Dias
d3af959238
MDL-65959 badge: Enable OB2.1 *connection* with cross domain ability
2020-10-27 00:27:20 +08:00
Peter Dias
f451ef06cd
MDL-65959 badge: Reset external_identifiers if backpack details modified
2020-10-27 00:27:19 +08:00
Peter Dias
8308d10561
MDL-65959 badge: Confirm assertion data is updated before awarding
2020-10-27 00:27:19 +08:00
Peter Dias
6d2df90a0c
MDL-65959 badges: Unit and Behat tests
2020-10-27 00:27:19 +08:00
Peter Dias
96ec45cb17
MDL-65959 badges: Do not use badge user preference after verification
2020-10-27 00:27:19 +08:00
Peter Dias
3cae9421a8
MDL-65959 badges: Update the implementation to use admin set backpack
2020-10-27 00:27:19 +08:00
Peter
b6435e0934
MDL-65959 core_badges: Allow ability to upload badges cross domain.
2020-10-27 00:27:18 +08:00
Eloy Lafuente (stronk7)
0dbeb9748b
MDL-70010 core: reconcile MOODLE_310_STABLE and master
...
There are some unexpected differences between 310 and master,
better reconcile them now. Note this is not 100% critical but,
as far as nothing exclusively for 4.0 has landed to master yet
only branch/version differences should exist.
2020-10-26 10:48:53 +01:00
Eloy Lafuente (stronk7)
3dcb4f549f
Merge branch 'MDL-69993' of git://github.com/paulholden/moodle into master
2020-10-26 10:42:31 +01:00
Andrew Nicols
08b523871c
Merge branch 'MDL-69995-master' of git://github.com/lucaboesch/moodle
2020-10-26 16:00:19 +08:00
Adrian Greeve
e1eba7fa9b
MDL-69559 core_course: Fix to bad behat test formatting.
2020-10-26 13:24:12 +08:00