Gestpay for WooCommerce


Gestpay for WooCommerce is a payment gateway for WooCommerce which allows you to use Gestpay on your WooCommerce-powered website.

There are four operational modes in this plugin, which depends on Gestpay version you are using:

  • Gestpay Starter
  • Gestpay Professional
  • Gestpay Professional On Site
  • Gestpay Professional iFrame

Click here to read the full usage documentation on Gestpay.

Actions and filters list

Here is a list of filters and actions used in this plugin:


  • gestpay_before_processing_order
  • gestpay_after_order_completed
  • gestpay_after_order_failed
  • gestpay_before_order_settle
  • gestpay_order_settle_success
  • gestpay_order_settle_fail
  • gestpay_before_order_refund
  • gestpay_order_refund_success
  • gestpay_order_refund_fail
  • gestpay_before_order_delete
  • gestpay_order_delete_success
  • gestpay_order_delete_fail


  • gestpay_gateway_parameters
  • gestpay_encrypt_parameters
  • gestpay_settings_tab
  • gestpay_my_cards_template
  • gestpay_cvv_fancybox
  • gestpay_gateway_cards_images
  • gestpay_alter_order_id -> this can be used to add, for example, a prefix to the order ID
  • gestpay_revert_order_id -> this must be used to revert back the order ID changed with the gestpay_alter_order_id filter


  1. Ensure you have the WooCommerce 3+ plugin installed
  2. Search “Gestpay for WooCommerce” or upload and install the zip file, in the same way you’d install any other plugin.
  3. Read the usage documentation on Gestpay.




Gestpay for WooCommerce はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。


“Gestpay for WooCommerce” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。



  • New: filters gestpay_alter_order_id and gestpay_revert_order_id
  • Improvement for WooCommerce Subscriptions compatibility: added ability to change the tokenized card for an active Subscriptions: the customer will be able to change the card that will be used to pay the next recurring payment.
  • Improvement for developers: tokenized cards will also have the expiry date stored on the post meta GESTPAY_META_TOKEN of the order_id.


  • Feature PayPal – Added ability to retrieve a Token for Subscription payments (with external plugin WooCommerce Subscriptions).
  • Added 3DS 2.0 support. Read more
  • Fix WooCommerce 3.7.0 compatibility for the configuration page.


  • Subscriptions – Fix token saving on the parent of a renewal order after is failed and is manually paid.


  • Subscriptions – Added ability, for S2S and iFrame accounts, to use a second account with 3DS disabled. In this way it will be possible to use the main account with 3DS activated for the first payment and the second account (with 3DS disabled) for recurring payments.
  • Added MyBank small icon in the card list
  • Added filter gestpay_gateway_cards_images
  • Cleaned up old code for WC < 3.x (which is not supported anymore)
  • Checks – Verified compatibility with WooCommerce 3.6.2 and WordPress 5.2


  • Fix S2S – Show the input form for the card when tokens are disabled.
  • Fix MyBank – When using MyBank on mobile devices, the bank/institute list must be shown and the Customer must select one of them before proceeding.
  • Feature MyBank – Added MyBank text/logos/style to be compliant with the MyBank Style Guide requirements.
  • Feature MyBank – Added an option for MyBank to be able to force also Customers on desktop devices to select a bank/institute from the website. Removed ability to change title and description for MyBank: these must be statically assigned.
  • Cleaned up some of the old code for WC < 3.x (which is not supported anymore); payment types classes refactoring.


  • Fix – flush rewrite rules causes issues with WPML: just flush only once, after plugin activation.
  • Fix – On S2S if the customer select a default card, the new card form must be hidden.
  • Fix – Changed costant name to force sending email to WC_GATEWAY_GESTPAY_FORCE_SEND_EMAIL.
  • Fix – On S2S use the parent order id to handle failed recurring payments.
  • Checks – Verified compatibility with WooCommerce 3.5.7 and WordPress 5.1.1


  • Feature – Added new available currencies
  • Fix – Some currencies (JPY, PKR, IDR, KRW) does not allow decimals in the amount; VND allow just one decimal.
  • Fix – On S2S (On-Site version) added Buyer Name field.
  • Fix – Allow Google Analytics tracking (utm_nooverride)
  • Checks – Verified compatibility with WooCommerce 3.5.1


  • Feature – Added apiKey authentication method option
  • Checks – Verified compatibility with WooCommerce 3.4.5


  • Fix recurring payments with iFrame/Tokenization
  • Checks – Verified compatibility with WordPress 4.9.8, WooCommerce 3.4.4 and WooCommerce Subscriptions 2.3.3


  • Fix – The JS on configuration page must distinguish between Pro and On-Site/iFrame options.
  • Checks – Verified compatibility with WordPress 4.9.6 and WooCommerce 3.4.2


  • Fix – HTML slashes must be escaped inside JS.
  • Fix – No need to instantiate the SOAP Client of order actions in the constructor.
  • Feature – Added the ability to temporarily use unsecure Crypt URL when TLS 1.2 is not available.
  • Feature – Added an option to enable On-Site merchants to set the withAuth parameter to “N”.


  • Fix typo in the JS of the TLS check


  • Feature – Added compatibility with WC Sequential Order Numbers Pro.
  • Security – Added TLS 1.2 checks for redirect and iFrame versions: prevent old and unsecure browsers to proceed with the payment.
  • Fix – Show an error if required fields are not filled on the On-Site version (S2S).
  • Fix – Prevent Fatal Errors if WooCommerce is inactive.
  • Fix – Save transaction key on phase I
  • Checks – Verified compatibility with WordPress 4.9.4/.5 and WooCommerce 3.3.4/.5.


  • Fix – Consel Merchant Pro parameter is now changed to be an input box on which the merchant can add the custom code given by Consel.


  • Feature – Added help text near the CVV field (for it/en languages) for “on site” and iframe versions.
  • Feature – Added Consel Customer Info parameter.


  • Fix – Updated test URLs from to
  • Checks – Verified compatibility with WordPress 4.9 and WooCommerce 3.2.5


  • Fix Custom Info parameter.


  • Fix error “-1” that happens when using the S2S notify URL.
  • Verified compatibility with WooCommerce Subscriptions 2.2.7


  • Fix – Moved ini_set( ‘serialize_precision’, 2 ) to the Helper, to avoid rounding conflicts.
  • Checks – Verified compatibility with WooCommerce v 3.0.5


  • Fix – Verify if class WC_Subscriptions_Cart exists before disabling extra Gestpay payment types.


  • Checks – Verified compatibility with WooCommerce version 2.6.14 and 3.0.4
  • Checks – Verified compatibility with WooCommerce Subscriptions version 2.1.4 and 2.2.5
  • Feature – Added support for Tokenization+Authorization (here called “On-Site”) and iFrame services.
  • Feature – Added support for 3D Secure and not 3D Secure payments.
  • Feature – Added endpoint to handle cardholder’s cards/tokens for the “On-Site” version.
  • Feature – Added Refund/Settle/Delete S2S actions for transactions.
  • Feature – Added more filters and actions.
  • Feature – Disable extra Gestpay payment methods when paying a subscription.
  • Fix – Correctly loading of plugin localization.
  • Fix – Show/Hide Pro options on the configuration page.
  • Fix – Removed extra payment “upmobile”, which is not used anymore.


  • First public release.