National Bank WooCommerce (NBG Mastercard Gateway)
Install NBG Mastercard Gateway, enter your National Bank of Greece credentials, configure webhooks, capture or void payments, issue refunds and migrate from e-Simplify.
Applies to v1.0.2 (24 Aug 2026) · WooCommerce 8.5+ · WordPress 6.0+ · PHP 7.4+
1. Overview and guide
Guide to the National Bank of Greece plugin (NBG Mastercard Gateway) at WooCommerce: what it does, what you need and all steps up to live.
The plugin OBS NBG Payment Gateway connect WooCommerce to NBG Mastercard Gateway (i-bank e-Enterprise) of the National Bank of Greece. The customer pays by card on the bank's page, in lightbox or in integrated form. It supports 3D Secure, direct charge or pre-approval with capture/void, returns from WooCommerce, stored cards, webhooks, HPOS and Cart & Checkout Blocks.
Who's it for?#
For e-shops by contract e-commerce (i-bank e-Enterprise) in the National, affiliated with Merchant ID and API Password. It is not for Global Payments accounts (App ID/App Key): for them there is the NBG Global Payments plugin.
Pre-conditions#
- Convention e-commerce (i-bank e-Enterprise) with the National and Connection Codes in the e-Enterprise.
- Merchant ID from the bank: test (with prefix TEST) and productive.
- API Password and Webhook Secret: you take them from e-Enterprise. API Password is different in the test and productive profile.
- WordPress 6.0+, WooCommerce 8.5+, PHP 7.4+ with CURL, HTTPS, active REST API.
- License from OBS.
The general guide is also on the page NBG Mastercard Gateway for WooCommerce.
All Guides#
- National Bank of Greece for WooCommerce: installation and activation
- National Bank of Greece for WooCommerce: license and updates
- National Bank of Greece for WooCommerce: connection to NBG Mastercard Gateway
- National Bank of Greece for WooCommerce: plugin settings
- National Bank of Greece for WooCommerce: method of payment and 3D Secure
- National Bank of Greece for WooCommerce: webhook notifications
- National Bank of Greece for WooCommerce: running a test transaction and going live
- National Bank of Greece for WooCommerce: instalments and handling fees
- National Bank of Greece for WooCommerce: business details, line items and prefixes
- National Bank of Greece for WooCommerce: order statuses
- National Bank of Greece for WooCommerce: captures, voids and refunds
- National Bank of Greece for WooCommerce: transition from e-Simplify
- National Bank of Greece for WooCommerce: common problems
2. Installation and activation
How to download the ZIP of the NBG Mastercard Gateway plugin from the OBS account, install it on WordPress and open the settings.
What you need#
- WordPress 6.0+, WooCommerce 8.5+ and PHP 7.4+ with CURL.
- HTTPS throughout the e-shop and active WordPress REST API (for bank notifications).
- Full file and base backup.
Installation steps#
- Login to your obstechnologies.gr account and open the section Downloads.
- The WooCommerce National Bank — Mastercard Gateway press the button Download v... last version and save ZIP (
obs-nbg-gateway-…zipDo not decompress it. - In WordPress open Plugins → Add Add Add Add (page opens with title Add Plugins) and press Transhipment Plugin.
- Press Select File, select ZIP and press Install Now.

Select ZIP and press "Register Now". - When completed, press Enable Plugin.

After installation press "Enable plugin". - Open WooCommerce → Settings → Payments → OBS NBG Payment Gateway (or press) Settings below the plugin in the plugin list). The method is inactive until you activate it.

"OBS NBG Payment Gateway" appears in Payments. The "Management" button opens its settings.
Upgrade from earlier version#
Before each upgrade hold backup files and base. Upload the new ZIP the same way. WordPress will tell you that the plugin already exists: press Replace current with downloaded. Your settings remain as they are, because they are stored on the base rather than on the plugin files.

Make the upgrade in time with a little movement and, if you can, first in a copy (staging) of e-shop.
OBS does free installation and customization. If you prefer, open a request for support and we will take care of it.
If WooCommerce is not active, the plugin shows a message to activate it first.
Continue: connection to the NationalIf you had the old e-Simplify, see transition from e-Simplify.
3. License to use and updates
How you manage the license of the NBG Mastercard Gateway plugin from the OBS account, change domain and download new versions.
Where does License key enter?#
Nowhere in WordPress. The plugin has no field or License key button. Once you fill in the bank's details, the method works. The license is managed by your OBS account and corresponds to one e-shop.
Statement and change domain to OBS account#
- Login to your account at obstechnologies.gr and open Licences.
- On the plugin card you will see the license key. With the button Copy You copy it without mistakes.
- The Activated domains press + Add domain, write his domain e-shop (e.g.
example.gr) and press Enable. - To transfer to new domain press Change domain next to the old one, write the new one and press Save. Narin Release Release the position.
Each licence shall cover one e-shop. If the license limit does not allow for change, use the link Licence help at the bottom of the page or open a request for support.
Updates#
The plugin does not control for new versions alone through WordPress. When the National requests upgrade (e.g. new API version), download the latest version:
- Open them. Downloads in your account and press Download v....
- Upload ZIP as described by the guide installation.
- Check that the settings were maintained and make a test payment.
The top of the configuration page shows the plugin version and API version. The links Docs and Support under the plugin lead to old addresses. Use this guide.
4. Link to NBG Mastercard Gateway
What the National (Merchant ID) gives you, how you get from e-Enterprise the API Password and Webhook Secret and what you put in the Gateway field.
The plugin is connected to the NBG Mastercard Gateway (i-bank e-Enterprise) of National. Make sure first that your account belongs there: if you are connected to App ID and App Key, you have Global Payments (NBG Pay) and you need NBG Global Payments plugin.
What do you need and where do you need?#
| Element and from where | Field in plugin |
|---|---|
| Merchant Test ID: your Merchant ID with Test prefix (by National) | Merchant ID Test (Test Merchant ID) |
| Test API Password: you create it in e-Enterprise, in the TEST profile | Test API Password (Test API Password) |
| Productive Merchant ID (by National) | Merchant ID |
| Productive API Password: you create it in e-Enterprise, in the productive profile | API Code (API Password) |
| Webhook Secret: see it in e-Enterprise | Webhook Secret |
The National gives you Merchant ID and the e-Enterprise connection codes (https://ibanke-commerce.nbg.gr/maThe Merchant ID test is the same as the Test prefix. The Password API and the Webhook Secret are taken from the e-Enterprise. OBS does not issue them.
How you get API Password and Webhook Secret#
- Login to e-Enterprise (
https://ibanke-commerce.nbg.gr/ma) with the Merchant ID test (TEST...) and the codes given to you by the bank. - The Admin → Managers (operators) Make a user with the right Capable of configuring integration settings (May Configure Integration Settings) and log in with him.
- Open Admin → Integration Settings (Integration Settings) and press Edit (Edit). If the menu does not exist, ask the bank to activate the API in your profile.
- Press Create New (Generate New) and check "Enable Integration Access Via Password".
- Copy the password and press Submission (Submit). This is the test API Password.
- Open Admin → Webhook Notifications and copy it Notification Secret. That goes into the Webhook Secret.
- For production make the same link to the productive Merchant ID (without TEST). The code is not common in both profiles.
Steps#
- Open WooCommerce → Settings → Payments → OBS NBG Payment Gateway.
- The Gate (Gateway) the default is Europe. Change it to ‘Adjusted URL’ (Custom URL).
- In Custom Gateway Server (Custom Gateway Host) write exactly
ibanke-commerce.nbg.gr, withouthttps://And without a path.
The Gateway to the Custom URL and the server without https://. - Leave it checked. Test Environment (Test Sandbox) and pass the test data.

Test Sandbox and test data (here with test values). - Fill it in. Webhook Secret from e-Enterprise. In production put the secret of the productive profile. See webhook notifications.
- Press Save Changes And do it. Tests.
The method does not appear on checkout while Merchant ID or API Password are missing for the environment you have selected (sandbox or live).
5. Plugin Settings
All plugin NBG Mastercard Gateway configuration fields for WooCommerce, grouped as in management, with their defaults.
Settings are in WooCommerce → Settings → Payments → OBS NBG Payment Gateway. In Greek management many fields names are Greek; here Greek is first written and English in brackets.

General#
| Field | What does he do (default) |
|---|---|
| Enable/Deactivate (Enable/Disable) | Enables method (inactive). |
| Title, Description (Title, Description) | Text at checkout (OBS NBG Payment Gateway). Write, for example. Pay by card. |
| Gate (Gateway), Custom Gateway Server (Custom Gateway Host) | Default the portal Europe. To connect to the National select ‘Adjusted URL’ (Custom URL) and write ibanke-commerce.nbg.grThe same host applies to tests and production. |
| Trade Mode (Transaction Mode) | Charge (Purchase) or Pre-approval (Authorize). Default: Charge. |
| Integration Model (Integration Model), Fund interaction (Checkout Interaction), 3D-Secure | Way of paying. The Checkout Interaction Style does not appear in this version, and 3D-Secure only appears with Hosted Session (Hosted Session). See method of payment and 3D Secure. |
| Stored Cards (Saved Cards) | Stored cards as token at the gate (active). Shows only with Hosted Session (Hosted Session). |
| Debug Log (Debug Logging) | Record in wp-content/obs-nbg-gateway.log, only with active Test Environment (Test Sandbox) (inactive). |
| Send Line Elements (Send Line Items) | Sends the order lines (inactive). |

API Credentials#
| Field | What's he doing? |
|---|---|
| Test Environment (Test Sandbox) | Test environment (active). |
| Merchant ID Test (Test Merchant ID), Test API Password (Test API Password) | Test evidence. |
| Merchant ID, API Code (API Password) | Productivity data. They show up when you uncheck it. Test Environment. |
| Order ID prefix (Order ID Prefix) | Order number prefix, only if more e-shops They share the same Merchant ID. |

Other units#
- Webhook Notifications (Webhook Notifications): Webhook Secret. See webhook.
- Management Charge (Handling Fee) and Instalments (Installments). See instalments and handling fees.
- Trader Information (Merchant Information). See business data.
6. Payment method and 3D Secure
Hosted Checkout or Hosted Session, redirect, lightbox or built-in form, 3D Secure and stored cards at NBG Mastercard Gateway.
Integration Model#
| Select | What the customer sees |
|---|---|
| Hosted Fund (Hosted Checkout), default | The card form belongs to the bank. Appears depending on the Fund interaction (Checkout Interaction). |
| Hosted Session (Hosted Session) | Card fields appear within your checkout, but the data goes directly to the gate. |

Fund Interaction (Checkout Interaction, for Hosted Checkout)#
- Redirect to a Payment Page (Redirect to Payment Page): payment on the bank's page. The Checkout Interaction Style (choice) Redirect to a Payment Page or Lightbox) does not appear in this version. This is the only place the module elements are shown. Trader Information.
- Built-in (Embeded), default: the form is incorporated into the checkout.
If you see No client found for the specified request, change to Redirect to a Payment Page. It's the safest choice for a start.

3D-Secure#
Options 3D-Secure only appear when the Integration Model is Hosted Session (Hosted Session). The default is Disabled. Select 3DS2 (with fallback to 3DS1) or 3DS1, depending on what your National Account supports. If the customer does not complete the authentication, the order is made Failed with a note 3DS authorization was not provided. Payment declined..

Saved Cards#
The Stored Cards (Saved Cards) appears only with Hosted Session. When active, connected customers can pay with a card they have stored. The card is stored as a token at the bank gate, not at e-shop. Customers see their cards in My account → Methods of payment.

7. Webhook Notifications
How the NBG Mastercard Gateway notifications work, where the Webhook Secret enters and what you should not block.
In addition to returning the customer, the bank sends a notice (webhook) to any change in the transaction. So the order is updated even if the client closes the browser.
Configure#
- In e-Enterprise (
https://ibanke-commerce.nbg.gr/ma) Open Admin → Webhook Notifications and copy it Notification Secret The profile you are using (TEST or prolific). - Open WooCommerce → Settings → Payments → OBS NBG Payment Gateway, Section Webhook Notifications (Webhook Notifications).
- Paste it on Webhook Secret and press Save Changes.

The ‘Webhook Secret’ in the ‘Webhook Notifications’ section (‘Webhook Notifications’).
Alarm URL is https://το-domain-σας/wp-json/obs-nbg/v1/webhook/The plugin automatically sends it to the bank with each payment.
How each alarm is checked#
- The secret of the alarm must match the Webhook Secret. If the field is empty, all Notifications are rejected.
- Order number, amount and currency must match the order.
- Double or late notices do not change the order twice.
What should not be blocked#
- The
/wp-json/obs-nbg/v1/from firewall (WAF), security plugins that close the REST API or password. - Checkout pages, order payment and return from page cache and CDN.
8. Test transaction and launch
How to test NBG Mastercard Gateway in the test environment (Test Sandbox), which scripts you check and what you do to pass into production.
Tests on Test Sandbox#
- With a check-up. Test Environment (Test Sandbox) and test data, activate the method.
- Order with a bank test card. Success: Edited with a note marked CAPTURED or AUTHORIZED, transaction ID and approval code.
- Disposal: Failed with a note Payment was declined..
- Cancel and close the browser: order is not marked paid without confirmation of the bank.
- Narin Pre-approval (Authorize): Capture Authorized Amount and Void. See capture, void and refunds.
- Full and partial return.
- Same in classic checkout and checkout Blocks.
To diagnose, temporarily activate it Debug Log (Debug Logging). It only works on the sandbox and writes on wp-content/obs-nbg-gateway.log. Delete the file later.
Check before start#
- National confirmed the productive account.
- Unchecked Test Environment and productive Merchant ID (without TEST) and API Code (API Password), from e-Enterprise's prolific profile.
- ‘Adjusted URL’ (Custom URL) with host
ibanke-commerce.nbg.gr. - Webhook Secret from the productive profile of e-Enterprise.
- 3D Secure configured.
- A real small-value payment that agrees with e-Enterprise and was returned.
9. Management fees and charges
How the selection of instalments and management charge (Handling Fee) work on the NBG Mastercard Gateway plugin and what you need to know.
Instalments#
The Section Instalments (Installments) has one option: Enable Instalments (Enable Instruments), with the can Enable Instalments to the Fund. It is necessary to establish the WP WooCommerce interest-bearing instalments, which sets a maximum number of instalments and a charge per instalment. Attention: the plugin is updated for WooCommerce 11 and currently does not work reliably with WooCommerce 11.2, so contact OBS before using it.
- Adjust maximum number of instalments and charges to the plugin Intended instalments.
- Check. Enable Instalments (Enable Instruments) in NBG settings and save.

The ‘Enable Installments’ option (‘Effective Instalments to the Fund’). - Checkout shows up Number of Instalments with options Cash and X instalments from .../ month, with the whole.
Important: the current version does not send the number of instalments to the bank, because the National API rejected these data. The option is used for the charge and is recorded in the order. Talk to us before you activate instalments.
Management Fee (Handling Fee)#
| Field | What do you set? |
|---|---|
| Enable/Deactivate (Enable Management Charge) | Adds charge when the customer chooses this method. |
| Management Charge Text (Handling Fee Text) | The name of the charge in the basket. |
| Management Charge Type (Handling Fee Type) | Fixed amount (Fixed Amount) or Percentage (Percentage). |
| Management Charge Amount (Handling Fee Amount) | The percentage cannot exceed 100. |

Check that your contract allows extra charge for card payment.
10. Business details, line items and prefix
How you set Merchant Information Forwarding, Send Line Items and Order ID Prefix at NBG Mastercard Gateway without errors.
Merchant Information#
With the Promotion of Trader Information (Merchant Information Forwarding) active, the bank's payment page shows your business details. Only valid with Redirect to a Payment Page (Redirect to Payment Page).
| Field | What are you writing? |
|---|---|
| Merchant Name | The name of the business. Default: the name of the site. |
| Address line 1, Address line 2, Postcode / ZIP, Country / State | The address, up to 100 characters per field. |
| Email, Phone | Service information. Telephone up to 20 characters. |
| Merchant Logo | URL of the logo, with https. |

If the bank's page says False in place of name, some field, usually the Merchant Name, it's empty or wrong. Complete it or disable the option.
Send Line Items#
Sends the order products to the bank. Each product must have code (SKU). Otherwise the payment is rejected by INVALID_REQUEST: Value '' is invalid. If you don't need it, leave it inactive.
Order ID prefix (Order ID Prefix)#
Complete it only if the same Merchant ID serves more e-shops, e.g. SHOP1-So the order numbers don't conflict at the bank.
11. Order statuses
What condition does the WooCommerce order go to for every result of NBG Mastercard Gateway and what the notes write.
| Result | Status and note |
|---|---|
| The client starts the payment | Payment pending. |
| Charge (CAPTURED) | Edited, note Mastercard payment CAPTURED with transaction ID and approval code. |
| Pre-approval (AUTHORIZED) on the return of the customer | Edited, note Mastercard payment AUTHORIZED. The money's committed. |
| Pre-approval only via webhook | Standing by, note OBS NBG payment AUTHORIZED. |
| Dismissed | Failed, note Payment was declined.. |
| No 3D Secure authentication | Failed, note 3DS authorization was not provided. Payment declined.. |
| Void | Cancelled, note Gateway reverse authorization. |
| Amount of refund | Note OBS NBG registered refund. |
Good to know.#
- The plugin checks order number, amount and currency with the gate before marking the order paid.
- In Pre-approval (Authorize) the order is EditedBut the money is only collected with the capture.
- If the payment is shown in e-Enterprise but the order remains Payment pending, see webhook.
12. Capture, void and refunds
How you collect or cancel a pre-approval and how you make a total or partial return with NBG Mastercard Gateway from WooCommerce.
Capture and void (the ‘Trade Mode’: ‘Pre-approval’)#
- Open the order in WooCommerce → Orders.
- Within the framework Order Actions choose Capture Authorized Amount for charge or Void for cancelling the pre-approval.

The action is selected from the list and executed with the button next to it. - Press the button next to the list.
- After capture write note OBS NBG payment CAPTUREDAfter void the order is made Cancelled.
Actions only appear in orders of NBG which are Edited And they haven't already been charged. Charge (Purchase) the charge is made immediately and does not need capture.
Refund#
- Click on the order Refund. The button only appears on orders that have already been captured.

The "Return Money" button on the order. - Fill in the amount or quantities for total or partial refund.
- Press the return button through the payment method (not the manual).

Press the button "via OBS NBG Payment Gateway", not the "Hand Return". - Check the note OBS NBG registered refund and the transaction at e-Enterprise.
Before capture, void or return to order with unclear status, check first the transaction at e-Enterprise.
13. Transition from e-Simplify
What do you do if you e-shop you used the old National e-Simplify: new elements, new plugin and deactivate the old one.
The old e-Simplify of the National is another system. e-Simplify's keys and plugin do not work with the NBG Mastercard Gateway. Ask the National in which system your account is transferred: at the NBG Mastercard Gateway (Merchant ID, this plugin) or Global Payments (App ID, the NBG Global Payments plugin).
Steps#
- Complete the contract e-commerce (i-bank e-Enterprise) with the National and take the login codes to the e-Enterprise.
- The bank gives you the Merchant ID (TEST test and productive). The API Password and Webhook Secret are taken from e-Enterprise, as in the guide. connection.
- Install this plugin. If you already have permission for the old OBS plugin of the National, please contact us before you buy.
- Set it according to the guide connection and test on Test Environment.
- With the production data, disable the old payment method in WooCommerce → Settings → Payments and then disable the old plugin.
Good to know.#
- Old payments and returns are managed by the system where they were made.
- NBG Global Payments is another system with another plugin. Do not confuse the data.
- OBS makes the transition free along with the installation.
14. Common problems
Solutions for NBG Mastercard Gateway's most frequent errors at WooCommerce: No client found, False, INVALID_REQUEST, outstanding payments.
«No client found for the specified request»#
Solution: THE Custom Gateway Server single ibanke-commerce.nbg.gr, without http:// or https://, and Fund interaction In Redirect to a Payment Page (Redirect to Payment Page).
The bank's page reads "False"#
Solution: fill in. Merchant Name or disable it Promotion of Trader Information (Merchant Information Forwarding). See business data.
«INVALID_REQUEST: Value '' is invalid»#
Reason: with Send Line Elements (Send Line Items) some product has no SKU, or old version with discounts.
Solution: SKU in all products; or Send Line Elements inactive, and update the plugin.
Rejection by decimal amounts or percentage coupons#
Solution: Please inform the latest version of the Downloads of your account. 1.0.2 corrects the rounding of amounts, e.g. by percentage coupons.
Authentication error or no payment page opens#
Solution: The data must match the environment: TEST Merchant ID with active Test Environment (Test Sandbox), productive with inactive. API Password is different in each profile: create it in the e-Enterprise of the same profile.
He paid, but remains "Failure to pay"#
Solution: fill in. Webhook Secret And check it out. webhookConfirm to e-Enterprise before performing.
«Sorry, but we are unable to complete your payment… Support code»#
Solution: Send the National Support code and at the time of the attempt.
The links "Docs", "Support" or "Gateway API Credentials" make 404#
Solution: drive to old addresses. Use this guide and e-Enterprise. For API Password see the connection to NBG Mastercard Gateway.