Unlocking Joy: 50% Off On Botble Themes Get It Now >

Tamara Payment Gateway For Botble ecommerce (UAE, BAHRAIN, KUWAIT, SAUDI ARABIA)

12 Sales
-
Recently Updated
Tamara Payment Gateway For Botble ecommerce (UAE, BAHRAIN, KUWAIT, SAUDI ARABIA)

# Tamara Payment Gateway Plugin for Botble CMS

**Split purchases into interest-free installments with Tamara.**

![Tamara](public/images/tamara.png)

---

## About

Tamara Buy Now Pay Later payment gateway integration for Botble CMS (Shofy, Nest, Farmart & Martfury themes). Allows customers to split their purchases into 4 interest-free installments. Supports UAE, KSA, Bahrain & Kuwait.
ย 

**Version:** 1.1.0

**Minimum Core Version:** 7.3.0

**Requires:**`botble/payment`

---

## Developed By

**Maryam International LLC**

- ๐ŸŒ Website: [www.codeupp.xyz](https://www.codeupp.xyz)

- ๐Ÿ“ง Email: maryaminternationalllc@gmail.com

- ๐Ÿ“ฑ WhatsApp: +971553682656

---

## Features

-**Pay in 4 Installments** โ€” Customers split their order into 4 interest-free payments

-**Product Detail Widget** โ€” Dynamic installment price display on product pages (price รท 4)

-**Checkout Integration** โ€” Tamara payment method at checkout with redirect to Tamara

-**Auto Authorise & Capture** โ€” Automatic order authorisation and payment capture on success

-**Webhook & Notification** โ€” Handles Tamara webhook events and notification callbacks

-**Refund Support** โ€” Process refunds directly from Botble admin panel

-**Multi-Country** โ€” UAE (AED), KSA (SAR), Bahrain (BHD), Kuwait (KWD)

-**Sandbox / Live Toggle** โ€” Easy switch between Test Mode and Live Mode in admin settings

-**Arabic & English** โ€” Locale-aware checkout (ar_SA / en_US)

-**Works on Shofy , Nest, Farmart & Martfury** โ€” Compatible with both Botble CMS themes

---

## Installation

1. Copy the plugin folder to `platform/plugins/tamara` in your Botble CMS installation

2. Go to **Admin โ†’ Plugins** and activate **Tamara Payment Gateway**

3. Go to **Admin โ†’ Payments โ†’ Settings** and configure Tamara

---

## Configuration

In the admin payment settings, fill in the following fields:

| Field | Description |

|--------------------|--------------------------------------------------|

| **API Token** | Your Tamara API token from the Partners Portal |

| **Public Key** | Your Tamara public key from the Partners Portal |

| **Notification Key** | Your Tamara notification key for webhook auth |

| **Mode** | ๐ŸŸก Test Mode (Sandbox) or ๐ŸŸข Live Mode (Production) |

### Tamara API Endpoints

| Mode | API URL |

|------------|----------------------------------|

| Sandbox | `https://api-sandbox.tamara.co` |

| Production | `https://api.tamara.co` |

---

## Sandbox Testing

1. Set **Mode** to **๐ŸŸก Test Mode (Sandbox)** in admin settings

2. Use your sandbox API credentials from Tamara Partners Portal

3. Place a test order and select Tamara at checkout

4. You will be redirected to Tamara's sandbox checkout page

5. Complete the test payment flow

---

## Plugin Structure

```

tamara/

โ”œโ”€โ”€ helpers/

โ”‚ โ””โ”€โ”€ constants.php

โ”œโ”€โ”€ plugin.json

โ”œโ”€โ”€ public/

โ”‚ โ””โ”€โ”€ images/

โ”‚ โ””โ”€โ”€ tamara.png

โ”œโ”€โ”€ resources/

โ”‚ โ””โ”€โ”€ views/

โ”‚ โ”œโ”€โ”€ detail.blade.php

โ”‚ โ”œโ”€โ”€ instructions.blade.php

โ”‚ โ”œโ”€โ”€ methods.blade.php

โ”‚ โ””โ”€โ”€ partials/

โ”‚ โ””โ”€โ”€ product-detail-tamara.blade.php

โ”œโ”€โ”€ routes/

โ”‚ โ””โ”€โ”€ web.php

โ””โ”€โ”€ src/

โ”œโ”€โ”€ Forms/

โ”‚ โ””โ”€โ”€ TamaraPaymentMethodForm.php

โ”œโ”€โ”€ Http/

โ”‚ โ””โ”€โ”€ Controllers/

โ”‚ โ””โ”€โ”€ TamaraController.php

โ”œโ”€โ”€ Plugin.php

โ”œโ”€โ”€ Providers/

โ”‚ โ”œโ”€โ”€ HookServiceProvider.php

โ”‚ โ””โ”€โ”€ TamaraServiceProvider.php

โ””โ”€โ”€ Services/

โ”œโ”€โ”€ Abstracts/

โ”‚ โ””โ”€โ”€ TamaraPaymentAbstract.php

โ””โ”€โ”€ Gateways/

โ””โ”€โ”€ TamaraPaymentService.php

```

---

## Routes

| Method | URL | Description |

|--------|------------------------------|----------------------------|

| GET | `/payment/tamara/callback` | Customer return from Tamara |

| POST | `/payment/tamara/webhook` | Tamara webhook events |

| POST | `/payment/tamara/notification` | Tamara notification callback |

> Webhook and notification routes are excluded from CSRF verification.

---

## Payment Flow

1. Customer selects **Tamara** at checkout

2. Plugin creates a checkout session via Tamara API

3. Customer is redirected to Tamara to complete payment

4. On success, Tamara redirects back to callback URL

5. Plugin authorises the order with Tamara

6. Plugin captures the payment

7. Order is marked as **Completed** in Botble

---

## Changelog

### Version 1.1.0 (2 September 2026)

-**Fixed:** Tamara Payment Logs. The plugin now properly logs all API payloads and responses securely to Botble's Admin Payment Logs menu, perfectly matching the behavior of core plugins like Stripe.

-**Fixed:** BNPL Rejection Error Messages. Customers are now properly informed via a user-friendly error message ("Your Tamara payment was not approved") when their BNPL application is rejected, instead of the system returning a generic checkout error.

-**Enhanced:** Deep Scalability Optimization. Cleaned up backend service instantiation loops to prevent session data loss.

-**Improved:** General codebase data optimization and faster API response handling to seamlessly handle high checkout volumes.

### Version 1.0.0

- Initial Release of the Tamara Payment Gateway integration.

---

## Support

For any issues or questions regarding this plugin:

**Maryam International LLC**

๐ŸŒ [www.codeupp.xyz](https://www.codeupp.xyz)

๐Ÿ“ง maryaminternationalllc@gmail.com

๐Ÿ“ฑ WhatsApp: [+971553682656](https://wa.me/971553682656)

---

## License

Proprietary โ€” Developed by Maryam International LLC. All rights reserved.

License Option
Free Free
$10.89 $0.00
Quality checked by Marketplace.Codeupp.xyz
Full Documentation
Future updates
Author Support
Contact us on whatsapp

Have doubt? Contact us on WhatsApp

Our product is high quality. Contact us for any kind of custom work.

12 Sales

Last update:

Sep 02, 2026 09:03 PM

Published:

Feb 11, 2026 03:53 AM

Version:

v1.1.0

Category:

Tags:

codeupp_xyz's items

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More