Skip to content

Commit c5e589d

Browse files
committed
[ADD] payment_providers/paymob: add paymob configuration
task-4987887 closes #14835 Signed-off-by: Audrey Vandromme (auva) <[email protected]>
1 parent b305ecd commit c5e589d

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

content/applications/finance/payment_providers.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Online payments
1919
payment_providers/mercado_pago
2020
payment_providers/mollie
2121
payment_providers/nuvei
22+
payment_providers/paymob
2223
payment_providers/paypal
2324
payment_providers/razorpay
2425
payment_providers/stripe
@@ -121,6 +122,12 @@ Online payment providers
121122
-
122123
-
123124
-
125+
* - :doc:`Paymob <payment_providers/paymob>`
126+
- The provider's website
127+
-
128+
-
129+
-
130+
-
124131
* - :doc:`PayPal <payment_providers/paypal>`
125132
- The provider's website
126133
-
@@ -470,6 +477,7 @@ payments from other payments.
470477
- :doc:`payment_providers/mercado_pago`
471478
- :doc:`payment_providers/mollie`
472479
- :doc:`payment_providers/nuvei`
480+
- :doc:`payment_providers/paymob`
473481
- :doc:`payment_providers/paypal`
474482
- :doc:`payment_providers/razorpay`
475483
- :doc:`payment_providers/stripe`
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
======
2+
Paymob
3+
======
4+
5+
`Paymob <https://paymob.com/>`_ is an Egypt-based payment service provider operating in Egypt, Oman,
6+
Pakistan, Saudi Arabia, and the United Arab Emirates. It allows businesses to accept online payments
7+
through credit and debit cards, as well as several local payment methods.
8+
9+
.. _payment_providers/paymob/configure_dashboard:
10+
11+
Configuration on the Paymob dashboard
12+
=====================================
13+
14+
#. Create a Paymob account if necessary and log into the Paymob dashboard:
15+
16+
- `Paymob dashboard for Egypt <https://accept.paymob.com/portal2/en/login>`_
17+
- `Paymob dashboard for Oman <https://oman.paymob.com/portal2/en/login>`_
18+
- `Paymob dashboard for Pakistan <https://pakistan.paymob.com/portal2/en/login>`_
19+
- `Paymob dashboard for Saudi Arabia <https://ksa.paymob.com/portal2/en/login>`_
20+
- `Paymob dashboard for the United Arab Emirates <https://uae.paymob.com/portal2/en/login>`_
21+
22+
#. Check the account mode in the top left corner of the page. Use the :guilabel:`Test` mode to try
23+
the integration without charging customers. Switch to :guilabel:`Live` mode once you are
24+
ready to accept payments.
25+
#. Navigate to :menuselection:`Settings` in the left menu.
26+
#. In the :guilabel:`Account Info` section, copy the value of the :guilabel:`HMAC` field and save it
27+
for :ref:`later <payment_providers/paymob/configure_odoo>`.
28+
#. Click :guilabel:`View` next to the :guilabel:`API Key`, :guilabel:`Secret Key`, and
29+
:guilabel:`Public Key` fields to reveal each value. Copy each key and save it for
30+
:ref:`later <payment_providers/paymob/configure_odoo>`.
31+
#. Navigate to :menuselection:`Developers --> Payment Integrations` in the left menu.
32+
#. Ensure that all required payment methods are listed in the payment integrations. If any
33+
payment method is missing, contact Paymob support.
34+
35+
.. _payment_providers/paymob/configure_odoo:
36+
37+
Configuration on Odoo
38+
=====================
39+
40+
#. :ref:`Navigate to the payment provider Paymob <payment_providers/add_new>` and change its state
41+
to :guilabel:`Enabled` (or :guilabel:`Test Mode` if you are trying Paymob as a :ref:`test
42+
<payment_providers/test-mode>`).
43+
#. In the :guilabel:`Credentials` tab, set the :guilabel:`Account Country` field to your company's
44+
country.
45+
#. Fill in the :guilabel:`HMAC Key`, :guilabel:`API key`,
46+
:guilabel:`Secret Key`, and :guilabel:`Public Key` fields with the information saved at the step
47+
:ref:`payment_providers/paymob/configure_dashboard`.
48+
#. In the :guilabel:`Configuration` tab, click :guilabel:`Enable Payment Methods`, then
49+
:ref:`activate the payment methods <payment_providers/payment_methods>` you want to offer.
50+
#. Return to the provider's form and click :guilabel:`Synchronize with Paymob`.
51+
52+
.. important::
53+
- For a payment method to be available to customers, it must be activated in Odoo **and**
54+
added to the :ref:`list of payment integrations on the Paymob dashboard
55+
<payment_providers/paymob/configure_dashboard>`.
56+
- If a payment method is added to the Paymob dashboard **after** synchronization, click
57+
:guilabel:`Synchronize with Paymob` again to make it available in Odoo.
58+
59+
#. Configure the remaining options as needed.
60+
61+
.. seealso::
62+
:doc:`../payment_providers`

0 commit comments

Comments
 (0)