The Joomla module installs as a regular zip archive and exposes a helper that returns a payment link. You embed the pay button into your own e-commerce component — the module handles creating the payment, not the checkout.
What the module does
- Installs through the standard Joomla extension manager, with no manual file edits.
- Keeps the MulenPay keys in the module settings.
- Exposes
getPaymentLink(): it takes an amount, order id, description and line items, and returns a payment link. - Ships a
webhook.phpfile for receiving payment status notifications.
What you will have to write
In the base version webhook.php receives the notification but knows nothing about your store component: linking a payment status back to an order is on you. It is a few lines, but they have to be written.
What to pass to getPaymentLink()
The helper expects an amount, a unique order id, a description and an array of line items. Each item carries a name, price, quantity and the receipt codes — VAT rate, subject and settlement method. Keep names human-readable: the buyer sees them on the receipt.
If you do not need a full store, look at payment links — in many scenarios they solve the task with no integration at all.