Title: Opayo Direct Gateway for Gravity Forms
Author: PatSaTECH
Published: <strong>23 Aprile 2019</strong>
Last modified: 22 Marzo 2026

---

Ricerca i plugin

![](https://ps.w.org/sagepay-direct-gateway-for-gravity-forms/assets/banner-772x250.
png?rev=2888623)

![](https://ps.w.org/sagepay-direct-gateway-for-gravity-forms/assets/icon.svg?rev
=2888623)

# Opayo Direct Gateway for Gravity Forms

 Di [PatSaTECH](https://profiles.wordpress.org/patsatech/)

[Scarica](https://downloads.wordpress.org/plugin/sagepay-direct-gateway-for-gravity-forms.1.0.3.zip)

 * [Dettagli](https://it.wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/#description)
 * [Recensioni](https://it.wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/#developers)

 [Supporto](https://wordpress.org/support/plugin/sagepay-direct-gateway-for-gravity-forms/)

## Descrizione

This add-on connects **Gravity Forms** to **Opayo Direct** (formerly Sage Pay Direct),
so you can take payments inside your forms without sending shoppers to an external
payment page.

**What you get**

 * On-form card fields: number, expiry, and security code are submitted securely
   to Opayo using the Direct integration.
 * **Test and live** modes, plus global settings for vendor name and transaction
   type (Payment, Deferred, or Authenticate).
 * Optional **per-form feed overrides** for vendor name, mode, and transaction type
   when you need different Opayo settings per form.
 * **3-D Secure** support: when Opayo requires authentication, the shopper is guided
   through the challenge and returns to your site to complete the payment.
 * **Gravity Forms payment features**: product and donation pricing, feed conditional
   logic (where configured in Gravity Forms), delayed notifications until payment
   succeeds, and payment-related notification events.

**Requirements**

 * **Gravity Forms 2.5 or newer** with the **Payment Add-On** framework (required
   by this plugin).
 * An **Opayo** merchant account with **Direct** enabled.
 * **HTTPS (SSL)** on your site. Card data is collected on your domain; you are 
   responsible for **PCI DSS** compliance for your environment.

**Support and custom work**

Send ideas and feedback to [PatSaTECH](https://www.patsatech.com/). We also build
custom payment gateway integrations.

More plugins:

 * [Easy Digital Downloads](https://www.patsatech.com/product-category/wordpress/easy-digital-downloads/)
 * [Gravity Forms](https://www.patsatech.com/product-category/wordpress/gravity-forms/)
 * [WooCommerce](https://www.patsatech.com/product-category/wordpress/woocommerce/)

## Installazione

**Before you start**

 1. Install and activate **Gravity Forms** (a licensed copy that includes payment functionality).
 2. Confirm your site uses **HTTPS** and meets your **PCI** obligations for collecting
    card details on-site.

**Install the plugin**

 1. Download the plugin ZIP (or clone/unzip the package).
 2. In WordPress, go to **Plugins  Add New  Upload Plugin**, choose the ZIP, and click**
    Install Now** — **or** upload the plugin folder to `wp-content/plugins/` via FTP/
    SFTP.
 3. Activate **Opayo Direct Gateway for Gravity Forms** under **Plugins**.

**Connect Opayo**

 1. In the WordPress admin, open **Forms  Settings  Opayo Direct** (or the add-on’s
    settings screen under Gravity Forms).
 2. Choose **Test** or **Production**, enter your **Vendor Name**, and set the default**
    Transaction Type**.
 3. Copy the **IPN / notification URL** shown on that page and add it in your Opayo
    account if your integration or support documentation requires it (it is used for
    3-D Secure and callback handling).

**Create a payment feed**

 1. Edit the form that should accept payments.
 2. Open **Settings  Opayo Direct** (or **Payment** settings for that form, depending
    on your Gravity Forms version).
 3. Add a **feed**: map products or totals, billing fields, and the credit card field;
    save and test in **Test** mode before going live.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Opayo Direct Gateway for Gravity Forms” è un software open source. Le persone che
hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ PatSaTECH ](https://profiles.wordpress.org/patsatech/)

[Traduci “Opayo Direct Gateway for Gravity Forms” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/sagepay-direct-gateway-for-gravity-forms)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/sagepay-direct-gateway-for-gravity-forms/)
segui il [repository SVN](https://plugins.svn.wordpress.org/sagepay-direct-gateway-for-gravity-forms/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/sagepay-direct-gateway-for-gravity-forms/)
tramite [RSS](https://plugins.trac.wordpress.org/log/sagepay-direct-gateway-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial Release

#### 1.0.1

 * Updated to change the branding from SagePay to Opayo

#### 1.0.2

 * Raised Tested up to WordPress 6.9.4 in the plugin header and readme.

#### 1.0.3

 * Gravity Forms: minimum version 2.5; aligned with current Payment Add-On patterns;`
   subscribe()` returns a clear error (subscriptions are not implemented for this
   gateway).
 * Feed settings: billing First/Last name mappings use `get_field` / `replace_field`
   and scan nested Address-style field maps (no brittle fixed section index).
 * Billing data for Opayo: ISO 3166-1 alpha-2 country codes (UKGB, common alpha-
   3 map, Gravity Forms country helpers); resolve country from submission, entry,
   and Address field `.6` when needed; clear validation if country is missing.
 * Billing address: resolve street, city, state, postcode, email, and phone from
   submission data, entry, and Address sub-inputs `.1`–`.5`; promote line 2 to line
   1 when line 1 is empty; trim values to typical Opayo field lengths.
 * Callback / IPN: validate `oid`, session, and entry; per-feed test/live mode for
   gateway URLs; `home_url()`-based IPN URLs; sanitized inputs; escaped output on
   challenge and status pages; `HOUR_IN_SECONDS` for transients where used.
 * 3-D Secure: optional parent page with embedded iframe for the challenge (filter`
   gf_sagepay_direct_3ds_use_iframe` to disable if an issuer blocks iframes); after
   authentication, redirect targets the top window using session state so the thank-
   you page is not trapped inside the frame (ACS may omit query parameters on return).
 * Reliability: `JSON.stringify` for delayed-notification IDs; strict notification
   ID matching; fixed error URL `message` parameter (legacy `meesage` still accepted);`
   update_post_meta` only when the entry has a `post_id`; HTTP timeouts and default
   TLS verification for gateway `wp_remote_post` calls; `wp_safe_redirect` / confirmation
   redirects where appropriate.

## Meta

 *  Versione **1.0.3**
 *  Ultimo aggiornamento **7 mesi fa**
 *  Installazioni attive **10+**
 *  Versione WordPress ** 4.5 o superiore **
 *  Testato fino alla versione **6.9.10**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/)
 * Tag
 * [ecommerce](https://it.wordpress.org/plugins/tags/ecommerce/)[GravityForms](https://it.wordpress.org/plugins/tags/gravityforms/)
   [Opayo direct](https://it.wordpress.org/plugins/tags/opayo-direct/)[opayo go](https://it.wordpress.org/plugins/tags/opayo-go/)
   [payment gateway](https://it.wordpress.org/plugins/tags/payment-gateway/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/sagepay-direct-gateway-for-gravity-forms/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[La tua recensione](https://wordpress.org/support/plugin/sagepay-direct-gateway-for-gravity-forms/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/sagepay-direct-gateway-for-gravity-forms/reviews/)

## Collaboratori

 *   [ PatSaTECH ](https://profiles.wordpress.org/patsatech/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/sagepay-direct-gateway-for-gravity-forms/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://secure.2checkout.com/order/product.php?PRODS=6129141&QTY=10&LANG=en)