Description
AVZ Pay Payment Gateway adds AVZ Pay payment methods to WooCommerce. Your customer pays on the secure AVZ Pay payment page and the order is confirmed automatically, from a signed notification sent by AVZ Pay.
Four payment methods, turned on from a single settings page, so the customer sees exactly the options you want at checkout:
- Card payment — BT / NETOPIA Payments: through the card processor connected in your AVZ Pay account. Google Pay is shown next to the card when it is enabled in your account.
- Recurring payment — BT / NETOPIA Payments: subscriptions charged automatically to the card monthly, quarterly, yearly or at a custom frequency (every N days, months or years). No other plugin needed.
- Instant bank transfer — IRIS Pay: the customer pays directly from their bank account.
- Card or bank transfer — BT / NETOPIA / IRIS Pay: the customer chooses on the AVZ Pay page.
And:
- Choose per product which AVZ Pay methods can pay for it, in Product data > AVZ Pay. A product can be one-time only, subscription only, or both, and the customer picks at checkout.
- Subscriptions without WooCommerce Subscriptions: set the frequency and the number of payments once, in the settings, for the products you choose or for all products; a product can have its own frequency. AVZ Pay charges the card, the plugin creates a paid renewal order for every payment, and the customer can cancel from My account. You see them all in WooCommerce > AVZ Pay subscriptions. WooCommerce Subscriptions products are supported too.
- Monthly installments: the customer chooses the number of installments at checkout and AVZ Pay charges the card every month.
- Refunds from the WooCommerce order, total or partial (card payments).
- No keys to copy. Click “Connect”, approve the store in your AVZ Pay account and you are done. The store generates its own RSA key pair; the private key never leaves your server.
- Every request is signed with RSA-SHA256 and every response and notification from AVZ Pay is verified.
- Test mode: the same payment page your customers see, where you choose the result of the payment. No real money.
- Compatible with the block checkout and with HPOS (High-Performance Order Storage).
You need an AVZ Pay account. The plugin works in both test and live mode; live payments need an active processor in your AVZ Pay account.
AVZ Pay does not hold the money: the card processor or the customer’s bank pays it into your account.
Requirements and limits
- Store currency RON or EUR.
- Subscriptions are billed at most every 365 days, 24 months or 5 years, and every payment is the same amount: the order total, shipping included. Products with different frequencies are bought separately.
- With WooCommerce Subscriptions: one subscription per order, billed within the same limits (weeks become days), without a free trial or sign-up fee, where the first payment equals the recurring payment. For other subscriptions the payment method is not shown.
- Subscriptions and installments are paid by card only. They need the Ritmo plan in AVZ Pay.
- Google Pay works with NETOPIA, for single payments in RON or EUR.
- IRIS Pay payments are not refunded automatically: send the request by email to office@avzpay.ro.
External services
This plugin connects to the AVZ Pay API (https://app.avzpay.ro), operated by MAREA INCARCARE S.R.L., Romania. It is required for the plugin to work: AVZ Pay creates the payment page and processes the payment.
What is sent and when:
- When you click “Connect” in the plugin settings: your store URL, store name, the notification URL and the public half of a key pair generated on your server. You are redirected to your AVZ Pay account to approve the connection.
- When a customer places an order with AVZ Pay: order amount, currency, order number, the customer’s billing name, email, phone, company and address, the return URL and the order ID. These appear on the payment page and, if you chose it, on the invoice issued by AVZ Pay.
- When you refund an order or cancel a subscription: the payment link, amount and order ID.
- Periodically, at most every 10 minutes while the store is used: a status request that returns which payment methods are active in your account.
- Every request carries the plugin version in the User-Agent header and is signed with the store’s private key. No data is sent before you connect the store.
AVZ Pay sends payment notifications to your store at /?wc-api=avzpay.
The plugin connects only to AVZ Pay. Your customer is sent to the AVZ Pay payment page, where the payment is made through the method they choose. These services are used by AVZ Pay, not called by the plugin:
- NETOPIA Payments (Romania), card and Google Pay payments: https://netopia-payments.com
- Banca Transilvania (Romania), card payments, when it is the processor in your AVZ Pay account: https://www.bancatransilvania.ro/politica-prelucrare-si-protectie-date-personale
- IRIS Pay (IRIS Solutions OOD, Bulgaria), payments from the customer’s bank account: https://irispay.bg
-
Google Pay (Google Ireland Limited), when it is enabled in your AVZ Pay account: https://policies.google.com/privacy
-
Terms: https://avzpay.ro/termeni
- Privacy policy: https://avzpay.ro/confidentialitate
Privacy
Your store is the controller of its customers’ data. AVZ Pay processes it on your behalf, to create the payment page, process the payment and, if you choose it, issue the invoice. The plugin adds a suggested paragraph for your privacy policy in Settings > Privacy. Card details are entered on the processor’s page and never reach your store.
Trademarks
Google Pay is a trademark of Google LLC. Apple Pay is a trademark of Apple Inc. Visa is a trademark of Visa Inc. Mastercard is a trademark of Mastercard International Incorporated. NETOPIA Payments, Banca Transilvania, IRIS Pay and WooCommerce are trademarks of their respective owners. They are named, and their logos shown at checkout, only to indicate the payment methods and processors available on the AVZ Pay payment page.
Screenshots




Installation
- Install and activate WooCommerce, then this plugin.
- Go to WooCommerce > Settings > Payments > Card or bank transfer — BT / NETOPIA / IRIS Pay. This method holds the connection and the settings shared by all AVZ Pay methods.
- Click “Connect in test mode”, approve the store in your AVZ Pay account and you are returned to the settings.
- In the same page, tick the payment methods you want to offer, set their checkout titles and, for subscriptions, the frequency. Place a test order: the simulator lets you pay, reject or abandon the payment.
- To sell a product as a subscription, open it, go to Product data > AVZ Pay and tick Recurring payment, or choose “All products” in the subscription settings.
- When you are ready, click “Connect in live mode” and switch the Mode setting to Live.
Your store must be reachable from the internet over HTTPS for notifications to arrive. If a notification is late, the thank-you page and the “Check payment in AVZ Pay” order action read the payment status directly.
FAQ
-
Where do I get the keys?
-
You don’t copy any. The store generates an RSA key pair, sends the public key to AVZ Pay when you approve the connection and keeps the private key encrypted in the database.
-
What happens if I change the WordPress salts?
-
The stored keys are encrypted with a key derived from AUTH_KEY, so they can no longer be read. Reconnect the store. To avoid this, define AVZPAY_ENCRYPTION_KEY in wp-config.php before connecting.
-
Who issues the invoice?
-
You choose when approving the connection: AVZ Pay, through the invoicing provider connected in your account, or your store.
-
How do I sell a subscription?
-
In WooCommerce > Settings > Payments > Card or bank transfer, tick Recurring payment in the methods table and choose the frequency (monthly, quarterly, yearly or custom), the number of payments (0 = until cancelled) and whether it applies to the products you tick or to all products. On a product, Product data > AVZ Pay lets you tick Recurring payment, alone (subscription only) or with Card payment (the customer chooses), and change the frequency for that product.
-
How does a customer cancel a subscription?
-
From My account > Orders, on the subscription order, with the Cancel subscription button. You can cancel it from the order page in the admin (Order actions > Cancel AVZ Pay subscription) or from your AVZ Pay account. Customers who checked out as guests ask the store to cancel.
-
What happens after the last payment?
-
When the number of payments set on the product is reached, the plugin stops the charges in AVZ Pay and marks the subscription as completed.
-
I used “Google Pay only” or “IRIS Pay only” in version 1.0. What changes?
-
On update, “IRIS Pay only” becomes the Instant bank transfer method and “Card only” or “Google Pay only” becomes the Card payment method, with your title and description. The AVZ Pay page shows Google Pay next to the card when it is enabled in your account.
-
Can I refund an IRIS Pay payment from WooCommerce?
-
No. Bank payments through IRIS Pay are refunded on request: email office@avzpay.ro with the order number, amount and reason.
-
Can I test against a local AVZ Pay instance?
-
Yes, define AVZPAY_APP_URL in wp-config.php, for example
define( 'AVZPAY_APP_URL', 'http://localhost:3000' );.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AVZ Pay Payment Gateway” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AVZ Pay Payment Gateway” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.1
- The Apple Pay logo is shown next to the card logos whenever NETOPIA processes the card payments, as the NETOPIA payment page offers Apple Pay.
- Larger logos in the panel under the selected payment method.
- The settings page lists the products that use their own subscription frequency or number of payments, with a link to each.
1.2.0
- All four AVZ Pay methods are turned on, renamed and described from one table, in the Card or bank transfer settings.
- Subscription frequency in the settings: monthly, quarterly, yearly or custom (every N days, months or years), number of payments, and whether it applies to selected products or to all products. A product can override the frequency.
- WooCommerce Subscriptions: subscriptions billed every 2 or more periods, and weekly ones, are supported too.
- The “connected” notice is shown once.
1.1.0
- Four payment methods, enabled separately: Card payment, Recurring payment, Instant bank transfer (IRIS Pay) and Card or bank transfer.
- Subscriptions without WooCommerce Subscriptions: billing period and number of payments set on the product, renewal orders, cancellation from My account and from the admin, and the WooCommerce > AVZ Pay subscriptions page.
- Choose per product which AVZ Pay methods can pay for it.
- Under the selected method, a panel with the accepted cards and wallets, the processors and the AVZ Pay logo, built from what is active in your AVZ Pay account.
- The “Payment methods” setting is replaced by the separate methods; existing settings are moved on update.
- Fix: a subscription confirmed on the thank-you page no longer gets a renewal order for its first payment.
1.0.1
- New “Google Pay only” option, for AVZ Pay accounts with Google Pay enabled.
- Test mode opens the same payment page your customers see.
- Suggested privacy policy text in Settings > Privacy, and the services used on the payment page listed in this readme.
1.0.0
- First release: card and IRIS Pay payments, subscriptions, installments, refunds, block checkout, HPOS.
- Translation ready (Romanian translation on translate.wordpress.org).
