Skip to Content
Catalog / ECO · E-Commerce & Integrations / Payment Provider: Bank of Palestine / Lahza
Payment Provider: Bank of Palestine / Lahza
payment_bop

Payment Provider: Bank of Palestine / Lahza

Accept online card payments through Bank of Palestine's Lahza gateway in Odoo.

v19.0.1.0.0 Abdelfatah Mohammad (AlshayebCo) E-Commerce & Integrations

Inherits payment provider (adds the 'bop' code with bop_secret_key / bop_public_key and a USD/ILS/JOD currency constraint), payment transaction (Lahza charge-authorization, capture, void, server-side verify, token extraction, receipt email), and payment token (stores Lahza authorization code and card metadata). A frontend OWL interaction patches PaymentForm to drive the Lahza inline popup; a public jsonrpc controller (/payment/bop/verify_transaction, /charge_authorization, /capture) processes gateway responses via _process('bop', ...). Depends only on the base 'payment' module; post_init/uninstall hooks register and reset the provider.

Overview

Businesses in Palestine and the region need a way to take Visa and Mastercard payments online, but Odoo ships with no local gateway support. This module integrates Bank of Palestine's Lahza payment gateway directly into Odoo's checkout, letting customers pay by card in USD, ILS, or JOD through a secure hosted popup. Successful payments are verified server-side, optionally saved as reusable tokens for repeat charges, and confirmed with a branded email receipt.

Workflow

Payment Transaction

Draft
Pending
Authorized
Confirmed
Canceled
Error

Key Features

  • Adds Bank of Palestine / Lahza as a selectable card payment provider in Odoo checkout and the eCommerce portal.
  • Processes payments through the Lahza inline popup using your public and secret API keys.
  • Verifies every transaction server-side against the Lahza API before marking it paid, preventing tampering.
  • Saves cards as reusable tokens (last 4 digits, brand, type, issuing bank, expiry) for one-click repeat payments.
  • Charges saved tokens automatically for subscriptions and back-office payments via charge-authorization.
  • Restricts and validates supported currencies to USD, ILS, and JOD to match what the gateway accepts.
  • Sends a branded, Lahza-compliant HTML email receipt to the customer when a payment succeeds.
  • Detects expired or invalid saved cards, deactivates the token, and guides the customer to retry.
  • Provides a back-office BOP Transactions view plus Send Receipt and Debug actions on each transaction.
  • Ships with 70+ language translations and a staging data-neutralization script for safe test databases.

Technical Details

Technical Name payment_bop
Version 19.0.1.0.0
License LGPL-3
Domain ECO · E-Commerce & Integrations

Menu Structure

Transactions

Security

The module defines no custom access rules or groups; it relies entirely on Odoo's built-in payment module security. Provider API keys are managed by accounting/settings administrators, while customer-facing verification runs through a public route guarded by a per-transaction access token, and token charging is restricted to logged-in users.

Dependencies

payment