Cuenti Pay
Payment gateway for WooCommerce: take orders with a Cuenti Pay payment link.
Install in
Cuenti Pay adds the payment method «Cuenti Pay» to your store. When the customer places the order, the store creates a Cuenti Pay payment link for the order total and sends the customer to pay it with the payment methods your business has enabled in Cuenti Pay (for example cards, Nequi or PSE in Colombia, Yappy or Clave in Panama).
Cuenti Pay does not hold your money: payments are processed by your own payment gateway account connected in Cuenti Pay (Wompi Colombia, Wompi Panama or Yappy). You need a Cuenti Pay account with at least one payment gateway connected.
How orders are confirmed:
- An order is marked paid only after the store reads the link status from Cuenti Pay. The signed notice (webhook) from Cuenti Pay only tells the store which link to check; neither that notice nor the customer coming back to the store marks anything on its own.
- If the link expires or is cancelled without a payment, the order is cancelled with a note. While a payment is in progress, the order waits.
- If the amount paid does not match the order, the order is put «On hold» with a note for you to review.
- If the customer pays an order again, the store checks the previous link first, so the same order is not charged twice. If two payments still arrive for one order, the order is put «On hold» with a note.
- A test-mode payment puts the order «On hold» with a note saying no real money was received.
- Currencies: COP or USD, the one chosen when you connect.
- Limits: each connection has a maximum amount per order and per day, shown in the settings. When the cart total is above the maximum per order, Cuenti Pay is not offered at checkout.
- Works with the classic checkout, the Cart and Checkout blocks, and High-Performance Order Storage (HPOS).
Refunds are made outside Cuenti Pay: this plugin does not issue refunds.
Amounts are read from your payment gateway. Cuenti Pay Lite does not verify them with the bank.
The plugin’s screens and messages are in Spanish.
External services
This plugin connects to Cuenti Pay, the service that creates the payment links. It is needed to connect the store, create a payment link for each order and read whether it was paid. Nothing is sent until an administrator clicks «Conectar con Cuenti».
Outgoing calls (the API address is the one Cuenti Pay returns when you connect, by default https://app-paylite.cuenti.co/api/v1):
- Connect: the administrator’s browser opens https://app-paylite.cuenti.co/conectar/woocommerce with the store address, the return address, a random state and a PKCE code challenge. The store then sends the one-time connection code, the state and the PKCE code verifier to https://app-paylite.cuenti.co/api/v1/store/connect/exchange, and receives the store key, the webhook secret, the branch, the currency, the limits and the list of payment methods.
- Checkout: when a customer places an order with Cuenti Pay, the store sends to
/store/checkout-linksthe order total, the order ID as reference, a concept («Pedido # – »), the language, the link expiry, the order page address (to return the customer to the store) and the customer’s billing name, e-mail and phone. The customer is then sent to the payment page on https://pay-online.cuenti.co. - Status: the store reads a link by its ID (
/store/checkout-links/<id>) when the customer returns, when a notice arrives, and every 5 minutes for pending orders up to 24 hours. Only the link ID is sent. - Cancel: the store cancels a link by its ID (
/store/checkout-links/<id>/cancel) when an order is cancelled or replaced by a new link. Only the link ID is sent. - Disconnect: the store sends a disconnect request (
/store/disconnect) when you click «Desconectar» or delete the plugin. No order data is sent.
Every call uses HTTPS and the store key; no redirects are followed.
Incoming calls (REST routes the plugin adds to your site):
/wp-json/cuenti-pay/v1/verify: during the connection only, Cuenti Pay sends a random challenge and the store answers with a proof computed from its secret code. It answers nothing when no connection is in progress./wp-json/cuenti-pay/v1/webhook: Cuenti Pay sends a signed notice with the ID of a paid link. The store checks the signature and then reads the link from Cuenti Pay before changing the order.
Cuenti Pay terms of service: https://www.j4pro.com/wp-content/uploads/T%C3%A9rminos-y-Condicones.pdf
Cuenti Pay privacy policy: https://cuenti.com/wp-content/uploads/2023/09/POLITICA-DE-PRIVACIDAD-Y-DE-PROTECCION-DE-DATOS-PERSONALES-DE-GRUPO-SEJEL.pdf
Payments are processed by the merchant’s own gateway (Wompi or Yappy) under that gateway’s own terms.
Written by Joobi from the project's own listing. See the source page
1.3.6
- The checkout shows «Cuenti Pay · Yappy» and «Cuenti Pay · Tarjeta» as separate methods when your connection offers them; each opens a link with only that method (Clave is offered inside «Cuenti Pay · Tarjeta»). The general «Cuenti Pay» is hidden then, unless you turn on «Mostrar también Cuenti Pay con todos los medios». Classic and block checkout.
1.3.5
- New payment methods «Cuenti Pay · Yappy», «Cuenti Pay · Tarjeta» and «Cuenti Pay · Clave», never shown at checkout: a paid order moves to the one that paid it, so accounting systems can map each method to its bank. The checkout keeps one «Cuenti Pay».
1.3.4
- The paid order now shows which method was used: its payment method reads «Cuenti Pay · Yappy», «Cuenti Pay · Tarjeta» or «Cuenti Pay · Clave», and the order keeps it in the meta
_cuenti_pay_method(code) and_cuenti_pay_method_label(name) for accounting systems.
1.3.3
- Fix: on a new store, connecting with Cuenti now leaves Cuenti Pay enabled at checkout (before, it appeared only after pressing «Save changes» once). A merchant who turned it off keeps it off.
1.3.2
- Admin notices appear only on the Plugins screen and the WooCommerce settings, never on the dashboard.
1.3.1
- Prepared for the WordPress.org directory: readme in English, direct access protection in every file, WordPress URL parsing, «Tested up to» 7.1.
1.3.0
- The description shown to the customer names only the payment methods of your connection. A description you wrote yourself is never changed; on disconnect a generated description goes back to a general text.
1.2.0
- An order is no longer cancelled while its payment is in progress.
- Cancelling an order in WooCommerce cancels its payment link.
- A payment that arrives after the order was cancelled puts the order «On hold» with a note.
- After reconnecting the store, an order with a link of the previous connection does not get a second link.
- The 5-minute check uses the link’s date and includes cancelled orders that have a link.
1.1.0
- Stronger connection: PKCE code and a check that the store answers at its address.
- The store key and the webhook secret are stored encrypted.
- The notice from Cuenti Pay only says which link to check; the order is decided by reading the link.
- An order keeps all its links, and a second payment puts the order «On hold» for review.
- Cuenti Pay is hidden when the cart is above the maximum per order.
- The settings show the limits per order and per day.
- Deleting the plugin revokes the connection in Cuenti Pay.
1.0.0
- First version: one-button connection, payment link when the order is placed, signed webhook and a status check every 5 minutes.
1.3.3
- Fix: on a new store, connecting with Cuenti now leaves Cuenti Pay enabled at checkout (before, it appeared only after pressing «Save changes» once). A merchant who turned it off keeps it off.
1.3.2
- Admin notices appear only on the Plugins screen and the WooCommerce settings, never on the dashboard.
1.3.1
- Prepared for the WordPress.org directory: readme in English, direct access protection in every file, WordPress URL parsing, «Tested up to» 7.1.
1.3.0
- The description shown to the customer names only the payment methods of your connection. A description you wrote yourself is never changed; on disconnect a generated description goes back to a general text.
1.2.0
- An order is no longer cancelled while its payment is in progress.
- Cancelling an order in WooCommerce cancels its payment link.
- A payment that arrives after the order was cancelled puts the order «On hold» with a note.
- After reconnecting the store, an order with a link of the previous connection does not get a second link.
- The 5-minute check uses the link’s date and includes cancelled orders that have a link.
1.1.0
- Stronger connection: PKCE code and a check that the store answers at its address.
- The store key and the webhook secret are stored encrypted.
- The notice from Cuenti Pay only says which link to check; the order is decided by reading the link.
- An order keeps all its links, and a second payment puts the order «On hold» for review.
- Cuenti Pay is hidden when the cart is above the maximum per order.
- The settings show the limits per order and per day.
- Deleting the plugin revokes the connection in Cuenti Pay.
1.0.0
- First version: one-button connection, payment link when the order is placed, signed webhook and a status check every 5 minutes.
Follow this listing's changes (Atom feed)