HyperPay Payments
by CRM Smiths https://crmsmiths.com/odoo-apps/payment-hyperpay/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_hyperpay$ 149.00
HyperPay Payments
HyperPay Payments (COPYandPAY) for Odoo
Take card payments in Odoo with HyperPay's COPYandPAY payment form: server-side payment status, result codes, AES-256-GCM encrypted webhooks and refunds, with no card data on your server.
Independent integration by CRM Smiths, using the HyperPay (Open Payment Platform) COPYandPAY API. You need your own HyperPay merchant account. Not affiliated with or endorsed by HyperPay.
What it does
Adds HyperPay as an Odoo payment provider. Odoo prepares the checkout server to server and shows HyperPay's own payment form (their script, with its integrity hash); the customer types the card there, so no card data ever reaches Odoo.
When the customer comes back, Odoo asks HyperPay for the payment status and checks the payment id, reference, amount, currency, payment type and brand before the order is confirmed. Result codes are read with HyperPay's published groups: success, manual review, pending or declined.
Webhooks are decrypted with your AES-256-GCM key; a webhook that does not authenticate is refused.
Screenshots

The HyperPay provider: masked access token, entity ID, card brands, the webhook decryption key and the webhook address to enter in the HyperPay portal.

Checkout: HyperPay offered next to your other payment methods; the card is entered in HyperPay's own payment form.

Payment transactions: paid, refunded, declined and manual-review payments, each with its HyperPay checkout id.

HyperPay history: checkouts, payment status reads with their result codes, refunds and refused webhooks.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (63 offline tests) passes on all four versions.
Depends on: Payment (payment); Python requests and cryptography (both shipped with Odoo).
Setup
- Install the module. In Odoo: Invoicing/Accounting or Website > Configuration > Payment Providers > HyperPay.
- Enter the Access Token and the Entity ID HyperPay gave you (test values in Test Mode, live ones when enabled) and the Card Brands enabled for your entity. Click Test Connection.
- In the HyperPay portal (Administration > Webhooks) add a webhook to the Webhook URL for HyperPay shown on the form, and copy its 64-character decryption key into Odoo.
- Publish the provider.
Features
| Feature | What it does |
|---|---|
| Payment form | HyperPay's COPYandPAY form on a page of your Odoo, script loaded with its SRI integrity hash; the page needs the token of the customer's own redirect. |
| Verified payments | The payment status is read from HyperPay; id, reference, amount, currency, type and brand must match. |
| Result codes | Success, manual review (kept pending with a message), pending and declined, from HyperPay's published code groups. |
| Encrypted webhooks | AES-256-GCM with your 64-character key; the authentication tag must verify. |
| Refunds | Full and partial (RF), checked against the refunds HyperPay already linked to the payment. |
| Rate limits | At most one status read per transaction every 30 seconds (HyperPay allows two per minute). |
| History | One row per HyperPay call and webhook, with result codes; credentials visible to administrators only and never logged. |
What it does not do
- Pre-authorisation and capture, tokenised (one-click) payments, subscriptions, pay-by-link.
- Server-to-server card payments (they would put card data in Odoo).
- Three-decimal currencies (HyperPay amounts have two decimals).
FAQ
Does Odoo see card numbers?
No. The card is entered in HyperPay's form, which talks to HyperPay directly; Odoo only reads the payment status.
How do I offer mada?
Add the brand code HyperPay gives you for your mada entity to Card Brands; the form shows the brands you list.
Why does a payment stay pending?
HyperPay answered with a pending or manual-review result code. The scheduled check reads it again; manual review is decided in the HyperPay portal.
Where do I configure the webhook?
In the HyperPay portal (Administration > Webhooks), with the URL shown on the provider form; then copy the decryption key into Odoo.
Support
Questions, problems or a feature you need: write to hello@crmsmiths.com. Please include your Odoo version and, for an error, the message shown and the matching row of the module's history.
Published by CRM Smiths. Independent integration; not affiliated with or endorsed by HyperPay.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1277 |
| Technical Name |
cs_payment_hyperpay |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/payment-hyperpay/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_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