Payment gateways: Difference between revisions

From MoodleDocs
(→‎See also: dev doc link)
mNo edit summary
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Managing a Moodle site}}
{{Managing a Moodle site}}
{{New features}}
 
A payment gateway is a technology used by merchants to accept debit or credit card purchases from customers.  
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 used with [[Enrolment on payment]] to provide different payment options when purchasing access to a course.
 
<div class="alert alert-info">'''Note:''' Moodle does not store any credit card information. It includes Paypal as standard. Additional payment gateways are available from [https://moodle.org/plugins/browse.php?list=category&id=80 Moodle plugins directory: Plugin type: Payment gateways]  and implement their own methods. You use these plugins at your own risk.</div>


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 a plugin type with the PayPal payment gateway included as standard. Additional payment gateways such as Alipay, WeChat and Stripe are available from the [https://moodle.org/plugins/browse.php?list=category&id=80 Moodle plugins directory:Plugin type: Payment gateways].


==Payment gateway set-up==
==Payment gateway set-up==
Line 26: Line 28:




{{MediaPlayer | url = https://www.youtube.com/watch?v=1jk05y7bTus | desc = Payment gateways}}
{{MediaPlayer | url = https://youtu.be/TWfcZ6Cf3l8 | desc = Payment gateways}}


==See also==
==See also==
Line 33: Line 35:
* Developer documentation [[:dev:Payment API|Payment API]]
* Developer documentation [[:dev:Payment API|Payment API]]


[[fr:Passerelles_de_paiement]]
[[es:Portales de pago]]
[[es:Portales de pago]]
[[de:Zahlungs-Gateways]]
[[de:Zahlungs-Gateways]]

Revision as of 14:43, 24 May 2024


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

Payment gateways are used with Enrolment on payment to provide different payment options when purchasing access to a course.

Note: Moodle does not store any credit card information. It includes Paypal as standard. Additional payment gateways are available from Moodle plugins directory: Plugin type: Payment gateways and implement their own methods. You use these plugins at your own risk.

Payment gateways are a plugin type with the PayPal payment gateway included as standard. Additional payment gateways such as Alipay, WeChat and Stripe are available from 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 payment gateway link e.g. PayPal opposite the account name.
  4. Enter a client ID and secret from PayPal, tick the Enable box and save changes.

The payment gateway will then show as enabled for the account.

Multiple payment accounts may be set-up as required.

When done, the payment gateway and payment accounts are ready to be used with Enrolment on payment.


Payment gateways

See also