Title: Payment Gateway for maib for WooCommerce
Author: alexminza
Published: <strong>February 28, 2018</strong>
Last modified: August 4, 2026

---

Search plugins

![](https://ps.w.org/wc-moldovaagroindbank/assets/banner-772x250.png?rev=2749855)

![](https://ps.w.org/wc-moldovaagroindbank/assets/icon-256x256.png?rev=3464263)

# Payment Gateway for maib for WooCommerce

 By [alexminza](https://profiles.wordpress.org/alexminza/)

[Download](https://downloads.wordpress.org/plugin/wc-moldovaagroindbank.1.5.2.zip)

 * [Details](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/#developers)

 [Support](https://wordpress.org/support/plugin/wc-moldovaagroindbank/)

## Description

Accept Visa and Mastercard directly on your store with the Payment Gateway for maib
for WooCommerce.

#### Features

 * Charge and Authorization card transaction types
 * Reverse transactions – partial or complete refunds
 * Admin order actions – complete authorized transaction
 * Close business day scheduled action
 * Supports WooCommerce [block-based checkout experience](https://woocommerce.com/checkout-blocks/)
 * Free to use – [Open-source GPL-3.0 license on GitHub](https://github.com/alexminza/wc-moldovaagroindbank)

#### Getting Started

 * [Installation Instructions](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/./installation/?output_format=md)
 * [Frequently Asked Questions](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/./faq/?output_format=md)

## Screenshots

[⌊Plugin settings⌉⌊Plugin settings⌉[

Plugin settings

[⌊Connection settings⌉⌊Connection settings⌉[

Connection settings

[⌊Advanced connection settings⌉⌊Advanced connection settings⌉[

Advanced connection settings

[⌊Refunds⌉⌊Refunds⌉[

Refunds

[⌊Order actions⌉⌊Order actions⌉[

Order actions

## Installation

Before installation you need to sign up with **maib** and receive the client certificate.

See [https://www.maib.md/en/persoane-juridice/e-commerce](https://www.maib.md/en/persoane-juridice/e-commerce)
and contact [ecom@maib.md](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/ecom@maib.md?output_format=md)
for details.

 1.  Configure the plugin Connection Settings by performing one of the following steps:
 2.   * **BASIC**: Upload the PFX client certificate file received from the bank
      * **ADVANCED**: Convert and copy the private key and certificates PEM files to
        the server, securely set up the owner and file system permissions, configure
        the paths to the files
 3.  Set the certificate / private key password
 4.  Provide the _Callback URL_ to the bank to enable online payment notifications
 5.  Enable _Test_ and _Debug_ modes in the plugin settings
 6.  Perform the following tests and verify all the transactions are processed correctly:
 7.   * **Test case No 1**: Set _Transaction type_ to _Charge_, create a new order 
        and pay with a test card
      * **Test case No 2**: Set _Transaction type_ to _Authorization_, create a new
        order and pay with a test card, afterwards perform a full order refund
      * **Test case No 3**: Set _Transaction type_ to _Charge_, create a new order 
        and pay with a test card, afterwards perform a full order refund
 8.  Review the _Close day_ scheduled action settings on the WooCommerce Status page
 9.  Disable _Test_ and _Debug_ modes when ready to accept live payments

See [MaibApi MAIB Payment PHP SDK](https://github.com/maibank/maibapi) for more 
details.

## FAQ

### How can I configure the plugin settings?

Use the _WooCommerce > Settings > Payments > maib_ screen to configure the plugin.

### Where can I get the Connection Settings data?

The merchant data and connection settings are provided by maib. This data is used
by the plugin to connect to the maib payment gateway and process the card transactions.
See [https://www.maib.md/ro/persoane-juridice/acceptare-plati/e-commerce](https://www.maib.md/ro/persoane-juridice/acceptare-plati/e-commerce)
and contact [ecom@maib.md](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/ecom@maib.md?output_format=md)
for details.

### What store settings are supported?

maib currently supports transactions in MDL (Moldovan Leu), EUR (Euro) and USD (
United States Dollar).

### What is the difference between transaction types?

 * **Charge** submits all transactions for settlement.
 * **Authorization** simply authorizes the order total for capture later. Use the
   _Complete transaction_ order action to settle the previously authorized transaction.

### How can I manually run the Close day action?

On the _WooCommerce > Status > Scheduled Actions_ page filter the actions list by
_Pending_ status and search for _maib\_close\_day_. Click the **Run** link next 
to the action title to execute the _Close day_ action immediately.

### How can I contribute to the plugin?

If you’re a developer and you have some ideas to improve the plugin or to solve 
a bug, feel free to raise an issue or submit a pull request in the [Github repository for the plugin](https://github.com/alexminza/wc-moldovaagroindbank).

You can also contribute to the plugin by translating it. Simply visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wc-moldovaagroindbank)
to get started.

## Reviews

![](https://secure.gravatar.com/avatar/046af8e4f6ab3a3c15a35567bee21d59b42b98c9a2013e10ac32e0a14d9c19a4?
s=60&d=retro&r=g)

### 󠀁[Great solution](https://wordpress.org/support/topic/great-solution-263/)󠁿

 [grifas](https://profiles.wordpress.org/grifas/) January 12, 2024 1 reply

Great solution for our local business. THX

 [ Read all 1 review ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/)

## Contributors & Developers

“Payment Gateway for maib for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

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

“Payment Gateway for maib for WooCommerce” has been translated into 2 locales. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wc-moldovaagroindbank/contributors)
for their contributions.

[Translate “Payment Gateway for maib for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/wc-moldovaagroindbank)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wc-moldovaagroindbank/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wc-moldovaagroindbank/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wc-moldovaagroindbank/)
by [RSS](https://plugins.trac.wordpress.org/log/wc-moldovaagroindbank/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

See [wc-moldovaagroindbank project releases on GitHub](https://github.com/alexminza/wc-moldovaagroindbank/releases)
for details.

#### 1.5.2

Updated WordPress and WooCommerce compatibility requirements and improved dependency
handling.

#### 1.5.1

Added list of supported languages for better payment gateway localization integration.

#### 1.5.0

 * Improved keys management and connection settings
 * Improved logging and admin setup guidance
 * Code modernization and refactoring for better maintainability

#### 1.4.6

Adjusted plugin name and code to comply with the WordPress Plugin Directory review
feedback.

#### 1.4.5

Adjusted plugin code to comply with the WordPress Plugin Directory review feedback.

#### 1.4.4

Adjusted plugin name to comply with the [WooCommerce trademark guidelines](https://woocommerce.com/trademark-guidelines/).

#### 1.4.3

Updated Tested up to 6.8 and WC tested up to 9.8.2.

#### 1.4.2

Improved reliability of the `maib_close_day` scheduled action registration on certain
systems.

#### 1.4.1

 * Improved [Composer packages versions compatibility](https://vanrossum.dev/37-wordpress-and-composer)
   by using [Jetpack Autoloader by Automattic](https://github.com/Automattic/jetpack-autoloader)
 * Updated [MAIB Payment PHP SDK](https://github.com/maibank/maibapi) to the latest
   version [v3.0.5](https://packagist.org/packages/maib/maibapi)

#### 1.4.0

Added support for WooCommerce [Cart and Checkout Blocks](https://woocommerce.com/document/cart-checkout-blocks-status/).

#### 1.3.2

Added support for WooCommerce [High-Performance Order Storage (HPOS)](https://woocommerce.com/document/high-performance-order-storage/).

#### 1.3.1

Updated [MAIB Payment PHP SDK](https://github.com/maibank/maibapi) to fix Windows
platform compatibility.
 See [Result code value is parsing wrong issue #29](https://github.com/alexminza/wc-moldovaagroindbank/issues/29)
and [Gateway response parsing is platform-dependent issue #3](https://github.com/maibank/maibapi/issues/3)
for details.

#### 1.3.0

 * Migrated to the official [MAIB Payment PHP SDK](https://github.com/maibank/maibapi)
 * Minimum supported PHP version changed to 7.2
 * Added _No logo_ option for payment method at checkout
 * Improved logging and admin setup guidance

#### 1.2.5

Updated Tested up to 6.1 and WC tested up to 7.1.0

#### 1.2.4

Updated maib test payment gateway URL and visual identity

#### 1.2.3

Fixed refund transaction amount value in the underlying third party module.
 See
[GitHub Fruitware/MaibApi issue #9](https://github.com/Fruitware/MaibApi/issues/9)
and [Pull request #10](https://github.com/Fruitware/MaibApi/pull/10) for details.

#### 1.2.2

Fixed refund transaction amount parameter in the underlying third party module.

See [GitHub Fruitware/MaibApi issue #6](https://github.com/Fruitware/MaibApi/issues/6)
and [Pull request #7](https://github.com/Fruitware/MaibApi/pull/7) for details.

#### 1.2.1

Modified MAIB payment gateway URL for 3DS v2 compliance

#### 1.2.0

Updated Tested up to 5.6 and WC tested up to 4.8.0

#### 1.1.9

 * Added Verify transaction order action
 * Updated WC tested up to 4.5.2

#### 1.1.7

Improved Close day scheduled action registration.
 For this feature to work properly
at least WooCommerce 4 with [Action Scheduler 3](https://woocommerce.wordpress.com/2020/01/08/action-scheduler-3-0/)
are required – see [bug fixes from PR #333](https://github.com/woocommerce/action-scheduler/pull/333)
for details.

#### 1.1.6

Added support for EUR and USD currencies

#### 1.1.5

Fixed transaction reversal status check

#### 1.1.3

Minor improvements

#### 1.1.2

Minor improvements

#### 1.1.1

Basic and Advanced settings configuration modes

#### 1.1

 * Simplified payment gateway setup
 * Added client certificate upload
 * Added payment method logo image selection
 * Added close business day scheduled action
 * Added validations for certificates, private key and settings

#### 1.0.1

 * Added total refunds via payment gateway calculation (since WooCommerce 3.4)
 * Improved logging and unsupported store settings diagnostics
 * Check WooCommerce is active during plugin initialization

#### 1.0

Initial release

## Meta

 *  Version **1.5.2**
 *  Last updated: **3 months ago**
 *  Active installations: **100+**
 *  WordPress Version: ** 5.6 or higher **
 *  Tested up to: **7.0.8**
 *  PHP Version: ** 7.2.5 or higher **
 *  Language:
 * [English (US)](https://wordpress.org/plugins/wc-moldovaagroindbank/), [Romanian](https://ro.wordpress.org/plugins/wc-moldovaagroindbank/),
   and [Russian](https://ru.wordpress.org/plugins/wc-moldovaagroindbank/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wc-moldovaagroindbank)
 * Tags:
 * [MAIB](https://en-ca.wordpress.org/plugins/tags/maib/)[mastercard](https://en-ca.wordpress.org/plugins/tags/mastercard/)
   [moldova](https://en-ca.wordpress.org/plugins/tags/moldova/)[payment gateway](https://en-ca.wordpress.org/plugins/tags/payment-gateway/)
   [visa](https://en-ca.wordpress.org/plugins/tags/visa/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/wc-moldovaagroindbank/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wc-moldovaagroindbank/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wc-moldovaagroindbank/)