Payment setup
JoomCourses offers four ways to pay. Each one except cash is a plugin of the group joomcourses, listed in System > Manage > Plugins.
| Method at checkout | Plugin | How the booking becomes Paid |
|---|---|---|
| Credit or debit card (Stripe) | JoomCourses - PaymentStripe | Automatically, when Stripe confirms the payment. See Stripe. |
| PayPal Payment | JoomCourses - PaymentPaypal | Automatically, when PayPal sends the IPN. See PayPal. |
| Request an Invoice | JoomCourses - Payment Request Invoice | You set it to Paid when the money arrives. See Request an Invoice. |
| Cash Payment | None, the Cash Payment option | You set it to Paid when the customer pays. |
The installer enables the three plugins. A method shows at checkout as soon as its plugin is enabled, so disable the ones you do not use, and set up Stripe or PayPal before a customer can choose them.
Choose the methods
- Go to System > Manage > Plugins and search for
joomcourses. - Enable the payment plugins you want and disable the others.
- Open each enabled plugin and fill in its settings.
- In Configuration > General Settings, set Cash Payment to Yes or No.
The order of the plugins in the plugin manager is the order of the methods at checkout. Cash comes last.
Limit a method to some totals
The three plugins have Minimum amount and Maximum amount. For example, offer Request an Invoice only from 500, so companies can pay by invoice and private customers pay by card.
Free courses and no payment
- A booking with a total of 0 needs no payment method. It is set to Paid at once.
- Disable Payment set to Yes removes the payment step for every booking. Bookings stay Submitted and you handle the payment yourself.
Unpaid bookings
An online booking holds its seats while it waits for payment. To free seats of customers who never pay, set Expire unpaid online bookings after (hours) in Configuration > General Settings, for example 48. Stripe and PayPal bookings that are still unpaid after that time become Expired. Invoice and cash bookings never expire.
The customer can pay later from the booking page while the booking is Submitted or Pending.
Payment emails
The confirmation email goes out at checkout, for every method. A second email goes out when the booking becomes Paid, if you chose a Payment Received Email Template. See Email templates.
Payment records
Every change to Paid or Refunded writes a record with the amounts and, for Stripe and PayPal, the reference of the payment. The booking shows it in the Payment box as Transaction ID. The payment plugins and JoomCourses write a log in the Joomla log folder: com_joomcourses.payments.php, plg_joomcourses_paymentstripe.php and, with logging on, plg_joomcourses_paymentpaypal.php.