Wompi¶
Wompi (Bancolombia) is an online payment provider for Colombia. Customers can pay sales orders and invoices from the eCommerce website and the customer portal with a card, PSE, Nequi, or a Bancolombia transfer.
Configuration¶
Install the Wompi Payment Provider module, which requires the Colombian localization. Then follow these steps:
Go to and open Wompi Bancolombia.
Enter the public key, the integrity key, the private key, and the events secret, for the test mode and for the production mode. You find them in the Wompi dashboard, under and .
In the Wompi dashboard, register
https://<your domain>/payment/wompi/webhookas the events URL.Enable the provider and publish it on the website.
These are the keys, and what each one is for:
Public key (
pub_prod_…): opens the payment.Integrity key (
prod_integrity_…): signs the amount.Private key (
prv_prod_…): queries the transaction when the customer comes back from the payment.Events secret (
prod_events_…): verifies the notices sent to the webhook.
Note
Without the private key and the events secret, Wompi is not offered to pay and the payment
returns an error. Each key has its test pair (pub_test_…, test_integrity_…, prv_test_…,
test_events_…). Before enabling the provider in production, try a payment and an event in the
Wompi sandbox.
How it works¶
The customer chooses Wompi when paying an order or an invoice, and then the payment method: card, PSE, Nequi, or Bancolombia transfer. Wompi confirms the payment through the webhook, and the transaction becomes authorized, pending, paid, or cancelled according to the response. The order or the invoice is reconciled as with any other provider.
Nexovate validates the integrity signature, and the amount and currency paid against the order.
See also