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

How to Take Conekta Payments with Gravity Forms (Cards, OXXO, SPEI)

GravityExtra
How to Take Conekta Payments with Gravity Forms (Cards, OXXO, SPEI)

Mexican customers like to choose how they pay: many use a credit or debit card, many others prefer to pay in cash at an OXXO store around the corner, and a growing number send a SPEI transfer from their banking app. Conekta brings these three on one hosted payment page. If your workshops, bookings, registrations or donations already run on Gravity Forms, you can send each submission straight to that page and get a paid, checked entry back. This guide walks through the setup with the Gravity Forms Conekta Premium Add-on, from test mode to your first real pesos.

Before you begin

Conekta is a payment gateway for businesses in Mexico, and this add-on charges in Mexican pesos (MXN). Set the Gravity Forms currency to Mexican Peso (it is in the Gravity Forms list; the add-on only adds it if another plugin removed it). Your customers can pay with a card, with cash at OXXO and other stores, or with a SPEI bank transfer, as far as these methods are active on your Conekta account.

Why connect Gravity Forms to Conekta

  • One form, one payment: the customer fills in your form and pays right after, without a shop or a cart.
  • The charge is the total Gravity Forms calculates on your server, so a price changed in the browser is never what gets charged.
  • Customers who do not use cards can still pay, in cash at OXXO or by SPEI, and the entry updates by itself when they do.
  • The entry tells you whether the customer paid, how, and with which Conekta order, and you refund cards from the same screen.
  • Booking emails can wait until the money is really there.

What you need

  • A Conekta account. Test mode is ready right away; live payments start when Conekta has activated your business.
  • Gravity Forms 2.9 or newer, with the currency set to Mexican Peso.
  • A public site on HTTPS, so Conekta can send webhook events.
  • The add-on: one site $49 a year, five sites $69 a year, unlimited sites $199 a year.

Step 1: Copy your private key

Log in to the Conekta panel, turn on test mode and open Developers → API Keys. You see a public key and one or more private keys. The add-on only needs a private key, which starts with key_. Test and live keys are different; the panel shows the test keys while test mode is on. Keep the private key to yourself: it stays on your server and the add-on stores it encrypted.

Conekta value Needed?
Private key Yes, one per mode: creates orders, reads them back and refunds cards
Public key No: it is for Conekta’s card scripts, which the add-on does not load
Webhook signing key Yes, created for you from the settings page (one per mode)

Step 2: Install the add-on and connect

Install and activate the add-on, open Forms → Settings → Conekta and activate your licence. Leave the mode on Test, paste the private key, tick the payment methods you want and save. The account line turns green with a masked key.

Conekta settings: test or live mode, the private key of each mode, the payment methods card, cash and SPEI, the payment window, the MXN currency line and the account-ready line
Settings: choose test or live mode and paste the private key from Developers, API Keys. Keys are stored encrypted.

The payment window sets how many hours the payment page and an OXXO or SPEI reference stay valid; 72 hours is the default and gives customers time to visit a store. For events with a deadline, a shorter window keeps unpaid places from blocking your calendar.

Step 3: Connect the webhook

Conekta tells your site about every change of an order with a webhook event. Copy the webhook address from the settings page, then in the Conekta panel open Developers → Webhooks and create a webhook with that address and the order events. Do this in test mode now and again in live mode later; the same address serves both.

Back in the add-on, press Create a test webhook signing key. Conekta keeps the private half of that key and signs every event with it; the add-on keeps the public half and checks each signature. The settings page shows that signatures are checked and, after your first payment, the last event the add-on accepted.

Step 4: Build the form

Add a name, an email, a mobile number and your product fields with a total. Quantities, options and calculations work as usual, and amounts keep their centavos. Conekta needs the customer’s name, email and phone for every order, so make those fields required. When the form products add up exactly to the total, Conekta shows them as separate items; otherwise the order carries one item named after your payment description.

A pottery workshop booking form with name, email, mobile number, workshop places and lunches with quantities, the total in Mexican pesos and the Continue to payment button
The form your customer fills in. Card details are entered on the Conekta page, not here.

Step 5: Add the Conekta feed

In the form settings, open Conekta and add a feed. Choose Products and Services with the form total and map the name, email and phone. Write a payment description such as Workshop booking #{entry_id}; it appears on the Conekta page so the customer knows what they are paying for.

The Conekta feed: products and services with the form total, first name, last name, email and phone mapped, the payment description and the notification option
The feed: map the customer details Conekta needs (name, email, phone) and set the payment description.

Step 6: Test in test mode

  1. Open the form, fill it in and press the submit button.
  2. You land on the Conekta payment page in test mode. Pay with a test card from the Conekta documentation.
  3. You come back to your confirmation, and the entry shows Paid with the order, the charge and the card.
  4. Try cash as well: the page shows an OXXO reference, the entry is Pending, and it turns Paid when the test payment is completed.
  5. Try a declined card: your page says nothing was charged, the entry is Failed, and Try the payment again opens a fresh payment.

How each payment is verified

An event is accepted only if its DIGEST header, an RSA-SHA256 signature of the event body, matches your webhook key. After that the add-on does not take the event at its word: it reads the order back from Conekta with your private key and compares the order, your reference, the amount in cents, the currency, the mode and the payment status with the entry. Only an order that Conekta reports as paid marks the entry paid, and a repeated event never pays twice.

What the customer sees

  1. Your form, with the total in pesos updating as they choose places or extras.
  2. The Conekta page with the amount and the methods you allow: card, cash at OXXO, SPEI.
  3. Your own confirmation after paying by card. If the payment is still being confirmed, the page says so and checks again by itself.
  4. After choosing cash or SPEI, the reference or CLABE to pay with and the date to pay by, on your own page.
  5. If the payment is declined or the time runs out, a clear message that nothing was charged and a link to try again.

Cash at OXXO and SPEI transfers

With cash, the customer takes the Conekta reference to an OXXO or another listed store and pays at the counter. With SPEI, they transfer the amount to the CLABE Conekta gives. Either way the entry waits as Pending with the reference in a note, and your held notifications stay held. When the money arrives, Conekta sends an event, the add-on reads the order and the entry becomes Paid. If the payment window closes first, the entry becomes Failed and the customer can start again with a new order.

Refunds from the entry

Open a card-paid entry and use the refund form in the Conekta box. The add-on reads the order first, sends the refund for the paid charge with an idempotency key (a repeat is the same refund, never a second one), reads the order again and books the refund. Refund all of it at once or part of it in several steps. Refunds made in the Conekta panel are booked too, after the add-on has read the order.

An entry paid by card through Conekta and partly refunded: the Conekta box with the status, order, charge, card, Conekta status, amount, refunded amount and the refund form
The entry after payment: status, Conekta order and card, and refunds from the entry screen.
Payment method Refund
Card (credit or debit) From the entry screen: full or partial, in several steps up to the amount paid
Cash at OXXO and other stores From your Conekta panel (Conekta pays cash refunds out separately); the refund is recorded on the entry
SPEI bank transfer From your Conekta panel; the refund is recorded on the entry

What about subscriptions?

Conekta documents its subscription checkout only for the embedded checkout component, which needs Conekta’s script on your own page. The add-on keeps every payment on the hosted page and does not offer a subscription option: each form submission is one payment. For monthly fees, a reminder email with a link to the form works well, and customers can keep paying by OXXO or SPEI.

Good uses

Business Form
Workshops and classes Places, materials and lunches
Tours and guesthouses Bookings with dates, guests and extras
Clinics and services Deposits and appointment fees
Events and communities Tickets, registrations and merchandise
Schools and associations Enrolment fees, uniforms and donations

Going live

  1. Wait until Conekta has activated your account for live payments.
  2. In the panel, turn off test mode, open Developers, API Keys and copy a live private key.
  3. Paste it into the Live field of the add-on, create the live webhook signing key, choose Live and save.
  4. Create the live webhook in the Conekta panel with the same address.
  5. Make one small real card payment and refund it from the entry.

A quick checklist

Check Where
Account line green in the right mode Forms, Settings, Conekta
Forms use Mexican Peso Forms, Settings, Currency
Webhook created in the Conekta panel for test and live mode Conekta panel, Developers, Webhooks
Signatures checked for the mode you use Forms, Settings, Conekta, Webhooks
Card, OXXO, SPEI, a declined card and a refund tested Test mode

Wrapping up

With the add-on in place, your Gravity Forms send customers to the Conekta page with the ways Mexicans pay every day, every webhook event is signature-checked, every result is read back from Conekta and checked on your server before an entry changes, and card refunds run from the entry screen. Read the full setup guide for every setting, or get the Gravity Forms Conekta 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