Config/Install Payment Plugins

What a payment plugin does

A Joom Donation payment plugin connects a donation form to a payment provider. It creates or submits the payment, receives the provider's result, and updates the donation record. A provider account is required for online gateways such as PayPal, Stripe, Square, and Mollie. The account must be able to accept the currency and payment method that you offer; availability can also depend on the provider's country and product approval.

Offline Payment is different. It does not contact a provider. The donor submits the form and receives your instructions for paying later (for example, by bank transfer). Joom Donation keeps the donation pending until an administrator confirms receipt.

The repository currently contains manifests and implementation files for the six gateways described below, as well as other gateways. Whether a particular gateway is present in a released Joom Donation package depends on that package. If it is not listed in Joom Donation → Payment Plugins, obtain the matching plugin package from the Joom Donation payment plugin catalog. Do not install a package made for a different Joom Donation version.

Plugin Donor checkout experience Recurring donations Setup guide
PayPal (os_paypal) Redirects to PayPal's hosted payment flow. Supported by the implementation. PayPal
Stripe (os_stripe) Card fields are embedded in the donation form. Supported by the implementation. Stripe
Stripe Checkout (os_stripecheckout) Redirects the donor to Stripe Checkout. Supported by the implementation. Stripe Checkout
PayPal Expanded Checkout (os_paypalepc) PayPal buttons and optional card fields are embedded in the form. Not supported by the implementation. PayPal Expanded Checkout
Square Card (os_squarecard) Card details are collected by Square's embedded card form. Not supported by the implementation. Square Card
Mollie (os_ideal) Redirects the donor to Mollie's hosted checkout; available methods are selected by Mollie. Supported by the implementation. Mollie

“Supported” above is based on the plugin source and Joom Donation's recurring payment path. It is not a claim that every provider account, currency, or country supports recurring billing. No recurring implementation was verified for PayPal Expanded Checkout or Square Card.

Open and manage Payment Plugins

  1. In Joomla administrator, open Components → Joom Donation → Payment Plugins.
  2. A row is installed when it appears in this list. Click its title to edit the configuration. Use the Published control or the toolbar to enable or disable it, then click Save.
  3. To add a separately supplied plugin, use the upload area at the bottom of this Joom Donation screen, choose the plugin archive, and click Install. This is Joom Donation's own installer; it is not the Joomla Extension Installer. The archive must contain the payment plugin XML manifest.
  4. Configure and publish only the gateways that you intend to offer. Never put API secrets, access tokens, or signing secrets in a public document or in a browser-side field.

Installed, published, and usable are different states:

  • Installed means that the plugin is present in the Payment Plugins list.
  • Published means that Joom Donation can select it when processing a donation. The payment plugin is also queried as published when a stored donation is processed.
  • Usable by a donor additionally requires a published campaign/form, a compatible donation type, valid plugin credentials, and a currency and provider account that accept the payment. Recurring options are shown only when the campaign enables recurring donations and the selected plugin reports recurring support.

The source tree contains the six manifests documented here. The default database seed in admin/sql/plugins.jdonation.sql explicitly creates PayPal and Offline Payment; it does not prove that the other five are included in every release archive. Check the release archive and the Payment Plugins list rather than relying on an old “five default plugins” list.

Offline Payment

Offline Payment is the manual-payment option. The donor sees the instructions configured by the administrator, submits the donation, and receives the completion page and configured email. The plugin does not call an external provider and does not support recurring donations. The donation remains pending until an administrator verifies the transfer or cash payment.

To configure the instructions:

  1. Open Components → Joom Donation → Configuration → Messages.
  2. Edit User email body (offline payment) and Thank you message (offline payment). Include only the payment instructions that you are prepared to maintain.
  3. Enable and publish Offline Payment in Payment Plugins.
  4. After receiving the money, open the donation in Joom Donation's donation management screen and approve/update it there. Do not mark a donation paid before checking the provider or bank record.

PayPal

When to use it

os_paypal uses PayPal's standard hosted donation flow. The donor leaves the site for PayPal and returns to the Joom Donation completion or cancellation page. It is suitable when PayPal should collect the payment details and manage the hosted experience.

Requirements and configuration

Create a PayPal merchant account and confirm that PayPal Donations/checkout and the desired currencies are available in your country. For test payments, use a PayPal Sandbox account. In Payment Plugins, edit PayPal (os_paypal):

  • Paypal Mode: choose test/sandbox or live, and use matching provider credentials.
  • Paypal Email: enter the PayPal merchant email shown in the account.
  • Locale: optional; leave blank for the site's detected locale or enter a supported PayPal locale.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional amounts that Joom Donation adds to the donor's gateway amount.
  • Sandbox Client ID/Secret or Client ID/Secret: optional REST credentials used by the current implementation for account operations. Do not mix sandbox and live values.
  • Log IPN messages: leave No unless support asks for diagnostics.

Save and publish the plugin. Recurring donations use PayPal subscription/IPN processing; the plugin supplies its notification URL to PayPal. Do not create a second webhook by copying an old guide. If PayPal asks for an IPN endpoint, use the URL generated by the plugin for the selected site and mode, and follow the official PayPal IPN documentation.

Capabilities and verification

One-time and recurring donations are implemented. The first recurring payment creates the PayPal subscription; later IPN notifications are used to record renewals. Provider fees are separate from the optional Joom Donation fee fields. Test that the payment method appears on the intended form, complete a Sandbox payment and recurring test if enabled, confirm the donation and IPN status in both systems, then replace every Sandbox value with its live counterpart. Do not test with a real charge while configuring.

Stripe

When to use it

os_stripe embeds Stripe Elements/card fields in the donation form. The donor enters card details on the site through Stripe's JavaScript integration; the server uses the Stripe secret key for the payment and subscription operations.

Requirements and configuration

Create a Stripe account and enable the payment methods and currencies required by the campaign. Obtain keys from Stripe's API keys page. In the plugin configuration enter:

  • Public API Key: the publishable key used by the browser.
  • Secret API Key: the server-side secret key.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional Joom Donation fee fields.

Use test keys while Test mode is enabled in Stripe and live keys only for live traffic. Save and publish the plugin. Do not expose the secret key in template JavaScript or documentation.

Confirmation, recurring, and verification

The plugin has a server-side recurring handler for invoice.payment_succeeded. It creates the initial subscription and records later renewal invoices; the implementation, rather than a browser return URL, is authoritative for renewals. Configure the endpoint in Stripe only when the plugin version or support instructions require it. If an endpoint is required, use a URL in this form, replacing the host and keeping the plugin name:

https://example.com/index.php?option=com_jdonation&task=recurring_donation_confirm&payment_method=os_stripe

Select invoice.payment_succeeded and copy the signing secret from that Stripe endpoint into the plugin's corresponding field if the installed version provides one. The current os_stripe manifest exposes public and secret keys but does not expose an endpoint-secret field, so do not claim that a signing secret can be entered unless your installed package adds that field. Follow Stripe's webhook endpoint and API key documentation.

One-time and recurring donations are implemented. Check the form, run a Stripe test-mode payment, confirm the payment and renewal events in Stripe and Joom Donation, and then switch keys and the Stripe endpoint to live mode.

Stripe Checkout

When to use it

os_stripecheckout creates a Stripe Checkout Session and redirects the donor to Stripe-hosted checkout. This is a separate integration from os_stripe; do not copy its fields or webhook settings into the other plugin.

Requirements and configuration

In Stripe, create test or live API keys and a webhook endpoint for the same mode. In Stripe Checkout enter:

  • Payment Mode: Sandbox for test keys or Live for live keys.
  • Sandbox Public API Key and Sandbox Secret API Key, or Public API Key and Secret API Key for live mode.
  • Endpoint Secret: the signing secret for this Stripe webhook endpoint.
  • Order Prefix: a unique prefix when more than one extension uses the Stripe account; keep it short and do not change it for existing subscriptions.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional Joom Donation fee fields.
  • Log IPN messages: leave No unless support asks for diagnostics.

Save and publish the plugin. Never use a test endpoint secret with live mode. Stripe's Checkout documentation explains the hosted flow and webhook signature verification.

Confirmation, recurring, and verification

The plugin uses the browser return URL for the donor's immediate result, but server-side webhook processing confirms payment. Configure a Stripe endpoint using this example URL:

https://example.com/index.php?option=com_jdonation&task=recurring_donation_confirm&payment_method=os_stripecheckout

Enable the exact events handled by this implementation:

  • checkout.session.completed for the Checkout result and first payment.
  • invoice.payment_succeeded for successful subscription renewals.

Copy that endpoint's signing secret into Endpoint Secret. One-time and recurring donations are implemented; the first invoice is handled separately from later renewal invoices. Test both a one-time Checkout Session and, when enabled on the campaign, a recurring test subscription. Verify the records and events in Stripe and Joom Donation before switching both keys and endpoint to live mode.

PayPal Expanded Checkout

When to use it

os_paypalepc embeds PayPal buttons and, when Enable Advanced Card Fields is enabled, PayPal Advanced Card Fields. The donor approves or enters card information in the embedded PayPal experience; the plugin creates and captures an Orders v2 order on the server. This is not PayPal Standard and does not use the Standard plugin's email/IPN settings.

Requirements and configuration

Create a PayPal app with the Expanded Checkout products and permissions available to the merchant account and country. Obtain a client ID and secret from the PayPal developer dashboard. In PayPal Expanded Checkout enter:

  • Payment Mode: Sandbox or Live.
  • Sandbox Client ID/Secret or Client ID/Secret for the selected mode.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional Joom Donation fee fields.
  • Optional Locale, Partner Attribution ID, Enable/Disable Funding, Enable Advanced Card Fields, and button Layout, Color, and Shape only when the corresponding PayPal product is enabled for the app.

Save and publish. The source verifies the order through PayPal's API and does not implement a recurring method, IPN handler, or manually configured webhook for this plugin. Therefore recurring donations are not supported here.

Capabilities and verification

One-time order creation and capture are implemented. No country, currency, or alternative-funding availability should be inferred from the button list; PayPal decides what the account and buyer can use. Test the buttons and card fields with Sandbox credentials, verify the captured order and Joom Donation status, and then change the mode and credentials together for production.

Square Card

When to use it

os_squarecard embeds Square's card form and sends a card token to Square's Payments API. The donor remains on the donation form; Square handles the tokenization while the server creates the payment.

Requirements and configuration

Create a Square Developer application and location, and confirm that Square payments are available in the business country and currency. In Square Card enter the fields whose labels are defined by the plugin:

  • Squareup Mode: Sandbox or Live.
  • Sandbox Application ID, Sandbox Access Token, and Sandbox Location ID, or the corresponding Application ID, Access Token, and Location ID for live mode.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional Joom Donation fee fields.
  • Log IPN messages: leave No unless support asks for diagnostics.

Sandbox credentials use Square's Sandbox API and JavaScript host; production credentials use Square's production API and host. Do not mix the two sets. Follow Square's Web Payments SDK and Payments API documentation for application and location values.

Capabilities and verification

The implementation supports one-time card payments and refunds. No recurring method or webhook handler was verified for this plugin, so recurring donations are not supported. The immediate result is returned to Joom Donation after the server creates the payment; this is not a substitute for a Square webhook. Test a Sandbox card payment, confirm the payment in Square and the donation status in Joom Donation, and then switch all three live values together.

Mollie

When to use it

The Mollie plugin is named os_ideal in the source and appears as Mollie in its manifest. It redirects the donor to Mollie's hosted checkout. Mollie determines which enabled payment methods are available for the profile, currency, country, and amount; do not describe it as iDEAL-only.

Requirements and configuration

Create a Mollie profile and enable the required methods. In Mollie enter:

  • Squareup Mode: despite the legacy label in the manifest, choose Sandbox or Live.
  • Sandbox API Key or API Key, matching the selected mode.
  • Payment Processing Fee (Fixed amount) and Payment Processing Fee (%): optional Joom Donation fee fields.
  • Log IPN messages: leave No unless support asks for diagnostics.

Obtain keys from Mollie's API dashboard. Save and publish the plugin. The plugin supplies Mollie with a return URL and a server-to-server webhookUrl; a donor returning in the browser alone is not confirmation.

Confirmation, recurring, and verification

For a recurring donation, the plugin creates a Mollie customer and first payment, then uses Mollie's subscription webhook for later payments. Mollie must support the selected payment method for recurring billing; the code alone does not guarantee that every method can create a mandate. No manually copied webhook URL is needed when the installed plugin can generate it. If Mollie requests endpoint configuration, use the URL generated for the site and follow the Mollie webhooks documentation.

One-time and recurring flows are implemented. Test a Sandbox payment and a recurring first payment when the Mollie profile supports it, confirm the redirect result and webhook-driven status in both dashboards, and then replace the sandbox key with the live key. Do not perform a real donation during setup.

Final go-live checklist

  • Confirm the gateway is installed, configured, published, and visible on the intended campaign form.
  • Confirm the campaign's currency and donation type are accepted by the provider. For recurring donations, confirm that the selected plugin reports recurring support.
  • Use Sandbox/Test mode and provider test accounts where available. Check the Joom Donation donation record and the provider dashboard, including the first payment and a renewal for recurring testing.
  • Check the server-side callback/webhook result separately from the browser return page. Keep webhook endpoints on HTTPS and protect signing secrets.
  • Before launch, switch the complete credential set, endpoint, and provider mode to live; save, publish, and perform only the provider's approved verification procedure. Never include credentials or real payment data in documentation.

This page was compared with the payment manifests and PHP implementations in the repository. It was not tested against a Joomla 5/6 site or a provider Sandbox; the checklist is a procedure for the site administrator, not a claim that those tests have been run.