Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: Payment gateways.

Payment gateways: Difference between revisions

From MoodleDocs
(Plugins directory link)
(Payment gateway and payment account set-up)
Line 5: Line 5:
In Moodle 3.10 onwards, payment gateways are used with [[Enrolment on payment]] to provide different payment options when purchasing access to a course.
In Moodle 3.10 onwards, payment gateways are used with [[Enrolment on payment]] to provide different payment options when purchasing access to a course.


Payment gateways are a plugin type with the PayPal payment gateway included as standard. It is expected that more payment gateways will be developed in the future and shared in the [https://moodle.org/plugins/browse.php?list=category&id=80 Moodle plugins directory:Payment type: Payment gateway].
Payment gateways are a plugin type with the PayPal payment gateway included as standard. It is expected that more payment gateways will be developed in the future and shared in the [https://moodle.org/plugins/browse.php?list=category&id=80 Moodle plugins directory:Plugin type: Payment gateways].


Payment gateways are managed via ''Site administration / Plugins / Payment gateways''.
==Payment gateway set-up==


In the PayPal payment gateway settings, you can set a surcharge i.e. an additional percentage charged to users who choose to pay using PayPal.
# Go to ''Site administration / Plugins / Payment gateways'' and enable payment gateways as required.
# Click the settings link for each payment gateway to set a surcharge i.e. an additional percentage charged to users who choose to pay using this payment gateway, then save changes.
 
==Payment account set-up==
 
# Go to  ''Site administration / Plugins / Payment gateways'' and click the link 'Payment accounts'.
# Click the button 'Create payment account' then enter an account name for identifying it when setting up enrolment on payment, then save changes.
# On the Payment accounts page, click the PayPal link opposite the account name.
# Enter a client ID and secret from PayPal, tick the Enable box and save changes.





Revision as of 11:19, 12 January 2021

New feature
in Moodle 3.11!

A payment gateway is a technology used by merchants to accept debit or credit card purchases from customers.

In Moodle 3.10 onwards, payment gateways are used with Enrolment on payment to provide different payment options when purchasing access to a course.

Payment gateways are a plugin type with the PayPal payment gateway included as standard. It is expected that more payment gateways will be developed in the future and shared in the Moodle plugins directory:Plugin type: Payment gateways.

Payment gateway set-up

  1. Go to Site administration / Plugins / Payment gateways and enable payment gateways as required.
  2. Click the settings link for each payment gateway to set a surcharge i.e. an additional percentage charged to users who choose to pay using this payment gateway, then save changes.

Payment account set-up

  1. Go to Site administration / Plugins / Payment gateways and click the link 'Payment accounts'.
  2. Click the button 'Create payment account' then enter an account name for identifying it when setting up enrolment on payment, then save changes.
  3. On the Payment accounts page, click the PayPal link opposite the account name.
  4. Enter a client ID and secret from PayPal, tick the Enable box and save changes.


Payment gateways

See also