Skip to content
All integrationsDrupal

Accepting payments on Drupal | MULENPAY

The Drupal module provides a payment-creation service and a ready webhook endpoint. Unlike out-of-the-box store modules, you wire the payment call into your own code — the module gives you a method, not a checkout button.

What the module does

  • Adds a settings page for the MulenPay keys in the admin panel.
  • Exposes mulen_payment.service with a payment-creation method that returns a payment link.
  • Registers the callback endpoint that MulenPay posts payment statuses to.

What you will have to write

Worth being straight about this: in the base version the callback controller only logs the incoming data to Drupal. Updating the order status in your system is on you — in the same callback() method.

Separately, verify the signature of the incoming request before changing anything in the database from it: without that check the endpoint accepts whatever arrives.

Who it suits

This is the option for sites where the commerce side is custom-built rather than assembled from a ready store. If you want full control over the flow, look at the payment API as well — the module essentially wraps it.

Installation

  1. 1Copy the mulen_payment folder into the modules/custom directory of your site.
  2. 2Open the Extend page in the admin panel (/admin/modules).
  3. 3Find the Mulen Payment module and enable it.
  4. 4Go to Configuration → Web services → Mulen Payment Settings and fill in the keys.
  5. 5Call the mulen_payment.service service from your own code to create a payment.
  6. 6Set the callback address in your MulenPay dashboard.

What to fill in

  • Shop ID — your store identifier in MulenPay
  • Secret Key — the secret key from your dashboard

Webhook

So your store learns the payment status, set this address as the webhook URL in your MulenPay dashboard:

https://your-site.com/payments/callback

Common questions

No. The module exposes a payment-creation service, and the call is embedded into your site code — this is a developer integration, not an out-of-the-box solution.

Other platforms

All CMS and platform integrations

Need help with the integration?

Write to us — we will help install the module and verify that payments work.

Telegram bot

@Mulenpay_support_bot

Quick answers 24/7

Legal address

RBY Commerce Ltd.

8 Copthall, Roseau Valley, 00152, Commonwealth of Dominica

Leave a request

Fill out the form — a manager will get in touch, tailor the terms and help with the integration.

By clicking the button, you agree to the processing of personal data.

TelegramTelegram