Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. Moyasar Payments v 18.0
  4. Sales Conditions FAQ

Moyasar Payments

by CRM Smiths https://crmsmiths.com/odoo-apps/payment-moyasar/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_moyasar
Odoo

$ 129.00

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License

Moyasar Payments

Moyasar Payments (mada and Cards) for Odoo

Take mada and card payments in Odoo through Moyasar's hosted payment page: server-side verification, signed webhooks and refunds, with no card data on your server.

Independent integration by CRM Smiths, using the Moyasar API (v1). You need your own Moyasar account. Not affiliated with or endorsed by Moyasar.

Moyasar Payments (mada and Cards) demo video

Watch the demo (1:27)

What it does

Adds Moyasar as an Odoo payment provider. When a customer pays an order, invoice or payment link, Odoo creates a Moyasar invoice and sends the customer to Moyasar's hosted payment page; the card details are entered there, never in Odoo.

The return page, Moyasar's invoice callback and the webhooks are only signals: Odoo reads the invoice back from Moyasar and checks its reference, currency and amount (in halalas) before the payment is confirmed. Payment links expire after 24 hours, so an old link cannot be paid later.

Full and partial refunds from Odoo, checked against Moyasar's refunded total so nothing is refunded twice.

Screenshots

The Moyasar provider: masked secret key, the webhook with its shared secret and verification state, and the Test Connection and Register Webhook buttons.

The Moyasar provider: masked secret key, the webhook with its shared secret and verification state, and the Test Connection and Register Webhook buttons.

Checkout: Moyasar offered next to your other payment methods; the customer pays on Moyasar's hosted page, so no card data reaches Odoo.

Checkout: Moyasar offered next to your other payment methods; the customer pays on Moyasar's hosted page, so no card data reaches Odoo.

Payment transactions: paid, refunded, failed and pending Moyasar payments, each with its Moyasar invoice id.

Payment transactions: paid, refunded, failed and pending Moyasar payments, each with its Moyasar invoice id.

Moyasar history: invoices created, verified invoice reads, refunds, webhook registration and verification, refused webhooks.

Moyasar history: invoices created, verified invoice reads, refunds, webhook registration and verification, refused webhooks.

Supported versions

Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (66 offline tests) passes on all four versions.

Depends on: Payment (payment); Python requests.

Setup

  1. Install the module. In Odoo: Invoicing/Accounting or Website > Configuration > Payment Providers > Moyasar.
  2. Enter the Secret Key from the Moyasar dashboard: sk_test_... with the provider in Test Mode, sk_live_... when enabled. Click Test Connection.
  3. Make sure web.base.url is the public https address of your Odoo, then click Register Webhook. If Moyasar asks to verify the webhook, Odoo answers the verification code by itself.
  4. Publish the provider.

Features

FeatureWhat it does
Hosted payment pageA Moyasar invoice per attempt (amount in the smallest unit, your reference in its metadata, 24-hour expiry); no card data in Odoo.
Verified paymentsReturn page, invoice callback and webhooks trigger a read of the invoice; id, reference, currency, amount and a matching paid payment are required.
Signed webhooksMoyasar sends the shared secret Odoo registered; webhooks without it, or from the other mode (live/test), are refused.
RefundsFull and partial, compared with Moyasar's refunded total before each one.
Key checkA live key on a provider in Test Mode, or a test key on an enabled one, is refused.
Scheduled checkReads open invoices again for customers who closed the browser before coming back.
HistoryOne row per Moyasar call and webhook, refused ones included; keys visible to administrators only and never logged.

What it does not do

  • Moyasar's embedded JavaScript card form, saved cards (tokens), payment intents and SADAD bills.
  • Manual capture and void (Moyasar captures invoice payments).
  • Apple Pay, Samsung Pay or STC Pay sessions in your own checkout page (the hosted page offers what your Moyasar account enables).

FAQ

Does Odoo see card numbers?

No. The customer pays on Moyasar's hosted page; Odoo only receives the invoice and payment status from the Moyasar API.

Which key do I use?

The secret key: sk_test_... in Test Mode, sk_live_... when the provider is enabled. A key of the wrong mode is refused before any call.

Can someone fake a Moyasar webhook?

A webhook without the shared secret is refused. One with it still changes nothing by itself: Odoo reads the invoice from Moyasar and follows that.

What if a customer opens an old payment link?

Links expire after 24 hours; an expired invoice cancels the Odoo transaction.

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 Moyasar.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1244
Technical Name cs_payment_moyasar
LicenseOPL-1
Websitehttps://crmsmiths.com/odoo-apps/payment-moyasar/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_moyasar
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with