🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials November 4, 2026

How to Take Wompi Payments with Gravity Forms

GravityExtra
How to Take Wompi Payments with Gravity Forms

Wompi, the payment platform of Bancolombia, is one of the most common ways to get paid online in Colombia. Customers can pay with a card, PSE from almost any Colombian bank, Nequi, the Bancolombia button and more, which is what many Colombian buyers expect to see. If your bookings, orders, registrations or donations already run on Gravity Forms, you can take those payments in pesos right from the form, on the secure Wompi page. This guide shows how, step by step, with the Gravity Forms Wompi Premium Add-on.

Why take payments in the form itself

  • The customer fills in one form and pays at once, without a separate online shop.
  • The amount is the form total worked out on your server, so a changed price in the browser is never charged.
  • Wompi shows the payment methods of your account, including PSE and Nequi, which many Colombian customers prefer to cards.
  • The entry shows whether the customer paid, the reference, the Wompi transaction and the payment method.
  • Your booking e-mails can wait until the payment is confirmed.

What you need before you start

  • A Wompi business account for Colombia, with its Sandbox and Production environments.
  • Gravity Forms 2.9 or newer with the currency set to Colombian Peso (the add-on adds it to the list).
  • Your site public and on HTTPS, so Wompi can send events.
  • The add-on: one site $49 a year, five sites $69 a year, unlimited sites $199 a year.

Step 1: Find your Wompi keys

Log in to the Wompi dashboard and open Desarrolladores (Developers). Each environment has four values. The public key (pub_test_ or pub_prod_) identifies your business on the checkout page. The private key (prv_test_ or prv_prod_) lets your server read transactions. Under Secretos para integración técnica you find the integrity secret, which signs each checkout, and the events secret, which signs the events Wompi sends you. Start with the Sandbox values: no money moves there.

Step 2: Install the add-on and connect

Install and activate the add-on, then open Forms → Settings → Wompi and activate your licence. Leave the mode on Sandbox, paste the four Sandbox values, and the four Production values if you have them, and save. Each environment gets a green line with the masked keys, and the one in use says so. The add-on refuses a key pasted in the wrong environment, so a Production key never ends up in a Sandbox field by mistake.

Wompi settings: Sandbox or Production mode, the COP currency line, the Sandbox and Production keys with the public key shown and the private key, integrity secret and events secret hidden, the ready lines with masked keys and the events URL
Settings: choose Sandbox or Production and save the four keys of each. Secrets are stored encrypted and shown masked.

Step 3: Paste the events URL in Wompi

The settings page shows your Events URL. Paste it in the Wompi dashboard as the URL de eventos, for Sandbox and for Production. Wompi then tells your site about every change of a transaction, even when the customer closes the browser right after paying.

How events are checked

Every Wompi event carries a SHA-256 checksum made from the transaction values it lists, the time and your events secret. The add-on recalculates it and ignores any event that does not match. Even a genuine event is not trusted on its own: the add-on then reads the transaction from the Wompi API with your private key, and only that answer, with the right reference, amount, currency and status, changes the entry.

Step 4: Build the form

Add a name, an e-mail, a phone, a document number if you collect it, and your product fields with a total. Quantities, options and calculations work as usual, because the add-on charges the total Gravity Forms works out on the server when the form is submitted. Prices show in pesos, such as $ 95.000.

A coffee farm tour booking form with name, e-mail, phone, cédula, tours and tasting boxes with quantities, the total in Colombian pesos and the Continue to payment button
The form your customer fills in, with prices in Colombian pesos. The payment itself happens on the Wompi page, not here.

Step 5: Add the Wompi feed

In the form settings, open Wompi and add a feed. Choose Products and Services with the form total and map the name, e-mail, phone and document number. Pick the document type, CC for most Colombian customers, and keep the phone country code at +57. Wompi fills these in on its page, so paying takes fewer taps on a phone.

The Wompi feed: products and services with the form total, first name, last name, e-mail, phone and document number mapped, the document type, the phone country code and the notification option
The feed: map the billing fields so the Wompi page is already filled in, and choose the document type.

Step 6: Make a Sandbox payment

  1. Open the form page, fill it in and press the submit button.
  2. You land on the Wompi page with the amount and your details filled in. In Sandbox, use the test cards and test results Wompi lists in its documentation.
  3. Approve the payment. Wompi sends you back to the form page and sends the event; the add-on reads the transaction from the Wompi API and the entry shows Paid with the reference, the transaction and the method.
  4. Try a declined payment too: your form page says nothing was charged and offers a link to try again with a new reference.

What the customer sees

  1. Your form, with the total in pesos updating as they choose products or quantities.
  2. The Wompi page with the amount and the payment methods of your account: card, PSE, Nequi, the Bancolombia button and others.
  3. Your own confirmation after paying. If Wompi is still waiting for the money, the page says so and checks again by itself.
  4. If the payment is declined, a message that nothing was charged and a link to try again.

PSE, cash and other statuses

Not every payment is finished in a second. A PSE transfer or a cash payment can stay PENDING for a while; the entry then shows Pending and turns Paid when Wompi approves it and sends the event. Declined payments and errors mark the entry Failed with Wompi’s reason, and a voided card payment marks a paid entry Refunded.

Wompi status Entry
APPROVED Paid, with the Wompi transaction, the payment method and how it was checked
PENDING Pending and a note; for example a PSE bank transfer or a cash payment on its way
DECLINED or ERROR Failed with Wompi’s reason; no money was taken and the customer gets a link to try again
VOIDED Refunded for a paid entry (a card payment voided in Wompi or from the entry)
An entry paid through Wompi: the Wompi box with the status, reference, transaction, card method, Wompi status APPROVED, the API check, the amount and the Void card payment button
The entry after payment: status, reference, Wompi transaction, payment method and how it was checked, with the void button for card payments.

Voids, refunds and subscriptions

An approved card payment can be voided from the entry with one button while Wompi still allows it; the entry turns Refunded when Wompi confirms. Other refunds are made in the Wompi dashboard, and the add-on does not change the entry when you refund there. Subscriptions are not offered: Wompi’s recurring charges need a card saved with Wompi’s own JavaScript widget on your page, which a redirect checkout does not use. For one-off bookings, orders, fees and donations, everything runs in the form.

Good uses

Business Form
Tours and experiences Farm tours, city walks, day trips and extras
Schools and courses Enrolment fees, exams and materials
Events Tickets, registrations and add-ons such as meals
Foundations and associations Membership dues and donations
Services Deposits and appointment payments

Going to Production

  1. Make sure your Production keys are saved and the Production events URL is set in the Wompi dashboard.
  2. Open Forms → Settings → Wompi, choose Production and save.
  3. Make one small real payment with a card and check the entry.
  4. Void it from the entry if you like.

A quick checklist

Check Where
Sandbox and Production lines green Forms, Settings, Wompi
Events URL pasted for both environments Wompi dashboard, Desarrolladores
Currency set to Colombian Peso Forms, Settings, Currency
Feed with the form total and the billing fields Form, Settings, Wompi
Approved and declined Sandbox payments done Sandbox mode
One small real payment after switching Production mode

Common questions

Do I need a developer to connect Wompi? No. You paste the keys from the Wompi dashboard and the events URL into Wompi, and the add-on does the signing, the checks and the status updates for you.

Which currency works? Colombian pesos. Wompi Web Checkout takes COP, and the add-on sends the amount in centavos as Wompi asks.

What if the customer closes the browser after paying? Nothing is lost. Wompi sends the event to your site directly, server to server, so the entry turns Paid even if the customer never comes back to the form page.

Does the add-on put Wompi scripts on my site? No. The customer is sent to the Wompi page; nothing from Wompi is loaded on your own pages.

Wrapping up

With the add-on in place, your Gravity Forms take payments in pesos on the Wompi page, every payment is read back from the Wompi API and checked on your server before an entry changes, and PSE or cash payments that take a little longer are tracked as Pending until they are approved. Read the full setup guide for every setting, or get the Gravity Forms Wompi Premium Add-on for one site $49 a year, five sites $69 a year, unlimited sites $199 a year.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr