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