xpay✦ Commerce
Directory
WooCommerce plugins
MIA, Bank Card & StarCard Payment Gateway for VictoriaBank (Community Edition)
MIA, Bank Card & StarCard Payment Gateway for VictoriaBank (Community Edition)
Complete WooCommerce payment gateway for VictoriaBank: MIA Instant Payments, Visa/Mastercard, StarCard Installments, and StarCard Points.
Will this break my store?
What the WordPress.org registry says about keeping MIA, Bank Card & StarCard Payment Gateway for VictoriaBank (Community Edition) running.
Tested to 7.1.3
Tested against the WordPress branch in use today.28 days ago
At least 9.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.8.2
Your host must be running at least this version.6.0
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how MIA, Bank Card & StarCard Payment Gateway for VictoriaBank (Community Edition) is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
6 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
MIA, Bank Card & StarCard Payment Gateway for VictoriaBank (Community Edition) is a comprehensive WooCommerce plugin that enables Moldovan merchants to accept all VictoriaBank payment methods through a single plugin.
This is a community-developed plugin and is not officially affiliated with or endorsed by VictoriaBank.
Supported Payment Methods
- MIA Instant Payment – QR-code based instant payments via Moldova’s MIA system
- Visa / Mastercard – International card payments via VictoriaBank e-Gateway with RSA SHA-256 digital signatures
- StarCard Installments – Pay in installments (3, 6, 12, or 24 months) with VictoriaBank StarCard
- StarCard Loyalty Points – Pay with accumulated StarCard loyalty points
Key Features
- 4 payment methods in a single plugin – one installation, complete coverage
- RSA SHA-256 digital signatures (P_SIGN) for secure e-Gateway communication
- Two-phase transaction flow (TRTYPE=0 authorization + TRTYPE=21 completion) for card payments
- Dynamic QR codes with configurable TTL for MIA payments
- Mobile deeplink support (
mia://pay) for seamless mobile MIA payments - Automatic status polling (TRTYPE=90) every 3 minutes as callback fallback
- Full and partial refunds – TRTYPE=24 for card payments; full or partial refund for MIA (MIA API 2.1)
- WooCommerce Cart & Checkout Blocks – all four methods work in both the block-based and the classic checkout
- JWT webhook verification (RS256) for MIA payment notifications
- Token caching for MIA API calls (reduces API calls by 98%)
- HPOS compatible – Full support for WooCommerce High-Performance Order Storage
- WooCommerce Action Scheduler support for reliable background polling
- WC_Logger integration – card payment logs at WooCommerce > Status > Logs
Payment Flows
Card Payments (Visa/MC, StarCard):
- Customer selects payment method at checkout
- Plugin generates TRTYPE=0 parameters with P_SIGN digital signature
- Customer is redirected to VictoriaBank secure payment page
- Bank sends callback with authorization result
- Plugin automatically executes TRTYPE=21 (Sales Completion)
- Order is marked as paid
MIA Instant Payment:
- Customer selects MIA at checkout
- Dynamic QR code is generated via VictoriaBank API
- Customer scans QR code or uses mobile deeplink
- Payment is confirmed via JWT webhook or AJAX polling
- Order status updates automatically
Requirements
- WordPress 6.0 or higher
- WooCommerce 7.0 or higher
- PHP 8.0 or higher (required for RSA cryptographic operations)
- PHP OpenSSL extension
- Active VictoriaBank merchant account with API credentials
- HTTPS enabled on your website
Configuration
After installation, configure each payment method at WooCommerce > Settings > Payments:
For MIA Instant Payment:
* API credentials (username, password)
* Merchant IBAN
* VictoriaBank public key (VBCA.crt) for JWT verification
* QR code expiry time
For Visa/Mastercard, StarCard methods:
* Terminal ID (8 digits) and Merchant ID (15 digits) from VictoriaBank
* Your own RSA key pair, generated by you before configuration (see FAQ below) — paste your private key and VictoriaBank’s public key (.pem) for callback verification
* Register callback URL with VictoriaBank: https://yoursite.com/?wc-api=vb_callback
Technical Details
MIA API Endpoints
- Authentication:
POST /identity/token - QR Creation:
POST /api/v1/qr - Full refund:
DELETE /api/v1/transaction/{id} - Partial refund:
DELETE /api/v1/transaction/{id}/partial-refund(body:{"amount": <number>})
Base URLs
- Test Environment:
https://test-ipspj.victoriabank.md - Production:
https://ips-api-pj.vb.md
Security
- JWT token authentication
- Token caching with automatic expiry
- HTTPS required (enforced by API)
- Nonce verification for AJAX requests
- Input sanitization and validation
- No sensitive data logged (passwords masked)
Compatibility
- WordPress 6.0+
- WooCommerce 7.0 – 11.1
- PHP 8.0+
- Tested with latest WordPress and WooCommerce versions
Third-Party Services
This plugin connects to VictoriaBank’s payment APIs:
- e-Gateway (card payments): https://ecomt.victoriabank.md (test) / https://vb059.vb.md (production)
- MIA IPS API (instant payments): https://test-ipspj.victoriabank.md (test) / https://ips-api-pj.vb.md (production)
By using this plugin, you agree to VictoriaBank’s terms of service and privacy policy: https://victoriabank.md
Privacy Policy
This plugin does not collect, store, or transmit any personal data outside of what is necessary for payment processing through VictoriaBank’s APIs. All payment data is transmitted securely via HTTPS.
Credits
Developed and maintained by an independent developer for the WooCommerce and Moldovan e-commerce community.
Source code: https://github.com/inginerit/MIA-Payment-Gateway-for-VictoriaBank
No, this is a community-developed plugin. It integrates with VictoriaBank’s official APIs but is not officially affiliated with or endorsed by VictoriaBank.
Yes. VictoriaBank assigns separate Terminal IDs for Visa/Mastercard, StarCard Installments, and StarCard Points. Each method has its own settings page.
Yes. Each payment method (MIA, Visa/MC, StarCard Rate, StarCard Points) can be enabled or disabled independently.
For card payments: https://yoursite.com/?wc-api=vb_callback
For MIA webhooks: https://yoursite.com/wp-json/miapg/v1/webhook
The RSA key pair used to sign requests sent to VictoriaBank (P_SIGN) is generated by you, the merchant — the plugin never generates it, and VictoriaBank does not send you a private key. Steps:
- Generate the key pair on your own computer (not on the live server), using OpenSSL:
openssl genrsa -out merchant_private.pem 2048
openssl rsa -in merchant_private.pem -pubout -out merchant_public.pem - Keep
merchant_private.pemsecret. Never email it, never upload it anywhere public, never share it with VictoriaBank support — your private key only has to exist on your own machine and inside this plugin’s settings. - Send
merchant_public.pem(the public key only) to VictoriaBank when you request or activate your e-Gateway terminal (Visa/Mastercard, StarCard Installments, StarCard Points each need their own terminal, see above). - In return, VictoriaBank gives you: your Terminal ID and Merchant ID for that payment method, plus VictoriaBank’s own public key (a separate
.pemfile, used to verify the bank’s callbacks — this one is provided by the bank). - In WooCommerce > Settings > Payments, open the gateway for that payment method and paste:
- your
merchant_private.pemcontent into “RSA private key (.pem)” - VictoriaBank’s public key content into “VictoriaBank public key (.pem)”
- your
- Repeat steps 1-5 separately for each card payment method you enable (Visa/Mastercard, StarCard Installments, StarCard Points use separate terminals and can use separate key pairs, or the same one if VictoriaBank allows it for your contract — confirm with your VictoriaBank account manager).
The plugin validates the private key format on save and will show an error if the pasted PEM is invalid.
For card payments, use the standard WooCommerce refund button. The plugin sends TRTYPE=24 to VictoriaBank automatically.
For MIA payments, both full and partial refunds are supported from the same WooCommerce refund button. Important: MIA allows only ONE refund per payment (either the full amount or a single partial amount) – after a partial refund, the remaining amount cannot be refunded through MIA. A MIA payment can be refunded a few minutes after it was made, once the bank has settled it.
Yes. All payment methods are available both in the block-based Cart & Checkout (default in new WooCommerce stores) and in the classic shortcode checkout.
Yes, the plugin is fully compatible with WooCommerce HPOS.
Add the following to your wp-config.php file:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
Then enable “Debug Logging” in the MIA gateway settings. Card payment logs are available at WooCommerce > Status > Logs (source: mia-payment-gateway-for-victoriabank).
Categories
Plugin details
Tags on WordPress.org
