HyperPay Payment Gateway - mada, Apple Pay, STC Pay, Visa Mastercard | HyperPay mada KSA
by Modvanta https://modvantaapps.tech/odoo-apps/payment-hyperpay/$ 29.91

Accept mada, STC Pay and cards with HyperPay in Odoo
The HyperPay COPYandPAY form opens on your Odoo checkout, every brand group runs on its own HyperPay entity - mada never on the card entity - and Odoo confirms the order only after reading the payment status from HyperPay.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds HyperPay as a payment provider on the standard Odoo payment framework, for the eCommerce checkout, portal invoices and payment links. Card (Visa, Mastercard, Amex), mada, Apple Pay and STC Pay are separate Odoo payment methods, each sent to the HyperPay entity ID you configure for it.
After the customer clicks Pay, the HyperPay card form opens on the checkout page or on a dedicated secure page. When the customer comes back, Odoo reads the payment status from HyperPay and confirms, declines or holds the order. Saved cards, refunds and the result code of every call are handled in Odoo.
These screenshots were taken on Odoo 19 with a Saudi shop selling in SAR. The bench has no HyperPay account, so a local stand-in answered the HyperPay calls in the shapes the module's tests use, and the card form you see is that stand-in; on your shop HyperPay's own COPYandPAY form appears in the same place.
Who it is for
Shops in Saudi Arabia Offer mada, STC Pay and Apple Pay next to Visa and Mastercard, in Arabic or English. | GCC and MENA merchants Take card payments through your HyperPay account in your local currency. | Teams handling refunds Refund from Odoo and read the HyperPay result code and description of every payment. |
Key features
Every screen below is the module running on Odoo 19.
Feature 1
Access token, entity IDs and webhook
One access token and a separate entity ID for Visa/Mastercard/Amex, mada, Apple Pay and STC Pay, the webhook URL and decryption key, the test mode parameter, 3-D Secure simulation in test mode and a Test Connection button.

Feature 2
Payment form options
Show the form on the checkout page or on a dedicated secure page, card form style, card brands, blocking mada cards on the card form, the Apple Pay merchant label, sending customer and billing data, and API log retention.

Feature 3
Card, mada and STC Pay at the checkout
Each brand group is its own payment method on the Odoo payment step, with the option to save the card. Prices here are in SAR.

Feature 4
Card form on the checkout page
After Pay the card form opens below the chosen method, with the configured brands. (On the bench a local stand-in draws the form.)

Feature 5
Order confirmed after the status check
Back from the form, Odoo reads the payment status from HyperPay and confirms the order.

Feature 6
Arabic, right to left
The same checkout in Arabic, with the saved card, mada and STC Pay.

Feature 7
Pay again with a saved card
A card saved at the first order is offered on the next one and charged as a saved card payment.

Feature 8
HyperPay details on the transaction
Brand group, brand, payment type, HyperPay payment ID, result code and description on the Odoo transaction - here a mada payment.

Feature 9
Payments and refunds
Card, mada and saved card payments with a partial refund made from Odoo.

Feature 10
API log
Connection tests, prepared checkouts, payment status checks, saved card payments and refunds, each with HTTP status, result code and description.

How it works, step by step
| 1 | Install the module HyperPay appears in Payment Providers with card, mada, Apple Pay and STC Pay. |
| 2 | Enter your HyperPay credentials Paste the access token and the entity ID of each brand group HyperPay gave you, then press Test Connection. |
| 3 | Set up the webhook Add the webhook URL in the HyperPay dashboard and paste its decryption key. |
| 4 | Choose the form options Checkout page or dedicated page, card brands, mada blocking, saved cards. |
| 5 | Test, then go live Place test orders in test mode, then switch the provider to Enabled with your live credentials. |
Settings
All settings are on the HyperPay payment provider.
| Credentials | Access token; entity IDs for Visa/Mastercard/Amex, mada, Apple Pay and STC Pay; Test Connection. |
| Webhook | Webhook URL and webhook decryption key. |
| Test mode | Test mode parameter (EXTERNAL or INTERNAL) and 3-D Secure simulation. |
| Payment form | Display on the checkout page or a dedicated page, card form style, card brands, block mada cards on the card form, Apple Pay merchant label. |
| Data and logs | Send customer and billing data, keep the API log for a number of days. |
Frequently asked questions
Why a separate mada entity?
HyperPay processes mada cards on their own entity. The module never sends a mada payment to the card entity and can refuse a mada card typed in the card form.
Does it work in Arabic?
Yes. The Odoo checkout works in Arabic, right to left, with the HyperPay payment methods.
Can customers save their card?
Yes, Visa, Mastercard and Amex cards can be saved and used for the next order.
Can I refund from Odoo?
Yes, full and partial refunds from the Refund button of the payment.
Is there a test mode?
Yes. In test mode the module calls the HyperPay test platform and can send the test mode parameter and force a 3-D Secure flow; switch to Enabled with your live credentials when you are ready.
Compatibility
Odoo 19 Community and Enterprise | Payments Standard Odoo payment providers | eCommerce Checkout, portal invoices, payment links | HyperPay OPPWA COPYandPAY |
Start taking mada and card payments with HyperPay
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, email support |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 1609 |
| Technical Name |
mdv_payment_hyperpay |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-hyperpay/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module