Introduction : The Tamara payment module allows you to integrate the Tamara payment gateway with your online store. This document outlines the steps necessary to configure the Tamara payment module on your website.

Prerequisites Before proceeding with the installation process, ensure that you have the following:

  • Your website's admin panel login credentials • Your Tamara merchant account credentials • A Tamara API key

 Follow the steps below to configure the Tamara payment module on your website:

  1. Log in to your website's admin panel. Fathershops : Ecommerce 

  2. Locate the "Apps" tab and click on "Payment ".

  3. Locate the Tamara payment module and click on it.

  4. Click "API Configurations" and Enter your Tamara merchant account details and the API key in the relevant fields. Configure the following settings as per your requirements.

(a) API Environment : Select “Sandbox” for testing the TamaraPayment module or Select “Production” for setting up the TamaraPayment module on your website. It's better to choose Sandbox Environment and test your payment module before making it live.

 

(b) Merchant Token : If you have chosen the Sandbox Environment then enter the testing Merchant token otherwise enter your Production token.

(c) Notification Token : Enter your notification token for the chosen environment.

(d) Public Key : Enter your Public key for the selected environment. 

(e) Enable trigger to Tamara : If it is enabled then the order you cancel will also be canceled in the Tamara dashboard.

(f) Don't show the Tamara widget on product(ids) : Enter the product id separated by comma for which you want to disable the Tamara payment module. Leave the field blank if you want to enable it for all products.

Go to fathershops admin panel, click on the catalog->Products. Edit a product then go to the url, there you can find the product id located in the url. E.g if product_id=100 then enter 100 in the field. So for product whose id is 100, tamara payment option will be disabled. 

 

(g) Don't show tamara widget on category(ids) : This field allows you to disable the payment module in specific categories. 

Go to fathershops admin panel, click on the Catalog->Categories. Edit a category then go to the url, there you can find the category id located in the url. E.g if category_id=69 then enter 69 in the field. So for category whose id is 69, tamara payment option will be disabled. 

 

(h) Only show Tamara for these customers : Enable Tamara only for specific customers. Enter customers email address separated by comma, for whom you want to enable Tamara Payment module. If you dont want to enable for specific customers then leave the field blank. (E.g : abc@gmail.com, xyz23@gmail.com)

 

5. Click on “Checkout Order Statuses” 

(a) Order status when checkout is failure : Select the order status that should be assigned to orders when payment is Failed.

(b) Order status when checkout is cancelled : Select the order status that should be assigned to orders when payment is Cancelled.

6. Click on “Tamara Trigger Configuration.” 

(a) Which order status do you want to trigger Tamara cancel API? You should set it to the status when order is canceled.

7. Click on “General Configuration”

(a) Geo Zone : Select the geo zones for which you want to enable the Tamara payment module.

(b) Status : Enable or disable the payment module. Enable the payment module to show it in your website.

(c) Sort Order : Set the position of the payment module in the list of available payment methods on the checkout page.

8. Now save the changes.

 

Testing : Testing After configuring the Tamara payment module, you should test the payment gateway to ensure that it is working correctly. Follow the steps below to test the payment gateway:

  1. Go to the website's front end.

  2. Add a product to your cart and proceed to checkout.

  3. Select the Tamara payment method and enter the necessary details.

  4. Tamara will send the verification code to the customer’s mobile number via an SMS.

  5. The customer will verify themselves with the received code and complete the checkout process.

  6. Submit the payment and wait for the payment confirmation.

  7. The customer will then be redirected to your website via the respective status URLs that were provided in your checkout session request.

 The Tamara payment module provides a secure and convenient payment method for your online store. By following these steps outlined in this document, you can quickly integrate the Tamara payment gateway into your website and start accepting payments online.