Lenbox CBNX


This payment gateway plugin is for lenbox’s clients who use the Woocommerce backend.

In order to use the plugin, the user needs credentials provided by lenbox which are available on subscription at Lenbox.io.

When the payment gateway is active, the end user will be redirected to lenbox’s payment page where they will have to fill the appropriate forms to request an EMI from Lenbox’s bank partner(s).


The order table page is not loading.

Please verify if you have the credentials entered on the Woocommerce payments page. While the order table is on the external admin menu, it still uses the credentials configured on the Woocommerce admin to retrieve data from lenbox.

How to refresh order statuses ?

In the order list table, you will find the a custom admin option “Refresh Status for Lenbox Orders”. Select the orders you want to refresh and run the command. The system will skip any orders that are not associated with this module automatically.

How to add additonal product data ?

At the moment, the plugin fetches only the data required for mandatory fields required by lenbox’s API; In order to fill the additional fields, please use Woocommerce’s hooks as shown in the example below.


add_action( ‘woocommerce_checkout_update_order_meta’, ‘before_checkout_create_order’, 20, 2 );
function before_checkout_create_order( $order_id, $values ) {
$product_details = array(
‘modele’ => ‘text modele’,
‘marque’ => ‘Peugeot’,
‘image’ => “lien d’image”,
‘kilometrage’ => 2345.42,
‘pfisc’ => 2345.42,
update_post_meta( $order_id, ‘product_details’, $product_details );


There are no reviews for this plugin.

Contributors & Developers

“Lenbox CBNX” is open source software. The following people have contributed to this plugin.


“Lenbox CBNX” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Lenbox CBNX” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Add support for blocks


  • Switch to French as default language.


  • Use eligibilities API to validate the client options on the cart


  • Clients can choose the type of CBNX directly from the cart


  • Added payment gateway for Card payments
  • Added 12NX for CBNX Gateway


  • Sandbox mode : “Use test” targets sandbox instead of test environment
  • Hide Lenbox Payment Gateway if no products are applicable


  • Bugfix : Regresseion when trying to support variable product eligibilities


  • Update bad range condition


  • Update defaults to not break extension on automatic update


  • Set price range per cart


  • Store the references for all the payment tentatives (fixes the bug when a previous attempt succeeded)


  • Added support for fetching eligibility in product page


  • Removed pulling customer details from billing data due unpredictable customer environments / setup


  • Updated webhook response for cleaner plugin integration


  • Update order API to use enum list for payment options


  • Use Woocommerce’s loggers to track changes
  • Use exact match for “lenbox_ref”


  • Added a custom metadata field “lenbox_ref” for each order to track the unique order reference for each payment attempt.
  • Added a custom admin action to fetch statuses from lenbox based on “lenbox_ref”.
  • Existing orders will use Order ID as “lenbox_ref” for backwards compatibility.


  • Update json parsing when fetching form_status
  • Update generation of product ID to track multiple requests for the same order


  • Update API to prepopulate name and email from billing details


  • Fixed bug in status update webhook.


  • Plugin supports Woocommerce payments
  • Redirects to lenbox’s external payment page when user pays order via lenbox
  • Payment status is updated via pre-configured webhook that will be triggered asynchrnously by lenbox