16 Commits

Author SHA1 Message Date
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Shamim Rezaie
0ecce652b1 MDL-69166 core_payment: Use promises instead of callbacks 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
Shamim Rezaie
2d7feb7583 MDL-69166 core_payment: Renamed plugintype name from pg to paygw 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
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
d5958c420e MDL-69166 pg_paypal: only prevent closing during autorisation 2020-10-27 14:40:49 +11:00
Shamim Rezaie
950e69dd4c MDL-69166 pg_paypal: capture payment directly 2020-10-27 14:37:29 +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
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
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
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