Card payments in WooCommerce with NETOPIA Payments
· The AYT team · 5 min read

To accept card payments through NETOPIA, a Romanian payment processor, in WooCommerce, you need a NETOPIA Payments merchant account with a point of sale for your site, and the free, official plugin NETOPIA Payments Payment Gateway from wordpress.org. In the plugin's settings you enter the account signature and upload the keys for live and sandbox, test a payment in test mode, then ask the NETOPIA team to activate production.
What you need first
- an account on the NETOPIA Payments platform and a signed contract with NETOPIA;
- a point of sale set up for your store's address;
- the site on HTTPS;
- PHP 7 or newer, with the
opensslanddomextensions, according to the plugin description.
The plugin processes Visa and Mastercard payments and automatically receives payment confirmations (IPN) from NETOPIA, changing the order status in real time: paid, failed or refunded.
Two official plugins
NETOPIA publishes two WooCommerce integrations:
| On wordpress.org | On GitHub (netopiapayments/WooCommerce) | |
|---|---|---|
| Installation | from wp-admin, with automatic updates | a .zip uploaded by hand |
| Authentication | account signature and live and sandbox keys (certificates) | API key and POS, chosen through an automatic setup |
| Payment methods | card | card, Oney and PayPo |
| Requirements | PHP 7+, openssl, dom | WordPress 6.0+, WooCommerce 8.0+, PHP 7.4+ |
The steps below are for the wordpress.org plugin, which the WordPress page of NETOPIA's documentation points to and which updates from wp-admin. The same documentation says that API v1, the certificate-based one this plugin uses, will be phased out, and recommends API v2 to new and existing customers. The version on GitHub uses API v2 and adds instalment payments through Oney and PayPo. Before you start, ask NETOPIA (implementare@netopia.ro) which integration it recommends for your account.
Set it up and test it on a staging copy first, if it's publicly reachable, so NETOPIA can send the confirmations.
Step 1: install the plugin
In wp-admin, go to Plugins → Add Plugin, search for "NETOPIA Payments", check the author (netopiapayments), install and activate.
Step 2: get the signature and keys from your NETOPIA account
In the NETOPIA platform, go to Puncte de vânzare (points of sale), click Opțiuni (the three-dot icon) next to your point of sale, then Setări tehnice (technical settings). From there you need:
- the account signature, a code like
XXXX-XXXX-XXXX-XXXX-XXXX; - the public certificate (
.cer) and private key (.key) for live; - the public certificate and private key for sandbox, the test environment.
Don't rename the .key and .cer files, and the code in their names must match the account signature. Keep a copy of them outside the site: the plugin description warns that some updates can remove the keys, leaving the plugin to be reconfigured.
Step 3: set up the payment in WooCommerce
Go to WooCommerce → Settings → Payments and open NETOPIA Payments:
- Enable / Disable: tick it to turn on the payment method;
- NETOPIA Payments Test Mode: tick it while you test;
- Title and Description: what the customer sees at checkout, for example "Card payment" and a sentence about secure payment;
- Default status: the order status after a successful payment, "Processing" or "Completed";
- Account Signature: the signature from step 2;
- Live public key and Live private key: upload the live
.cerand.keyfiles; - Sandbox public key and Sandbox private key: upload the sandbox files;
- Payment methods: leave Credit Card selected.
Save the changes.
Step 4: test in sandbox
With Test Mode ticked, place an order and choose card payment. You're sent to NETOPIA's payment page, where you pay with a test card from their documentation. After payment:
- the order should move from "Pending payment" to the status chosen in Default status;
- the order notes show the confirmation received from NETOPIA.
Try a declined payment too, to see that a failed order doesn't get shipped.
Step 5: going live
With test mode still on, send your store's address to implementare@netopia.ro and ask for the account to be tested and activated for live, as the plugin description says. Once confirmed, untick Test Mode and make a small real payment, which you can then refund from the NETOPIA platform.
Common problems
The order stays "Pending payment" although the customer paid
The confirmation from NETOPIA (IPN) didn't reach the site. Check:
- whether the site was in maintenance mode or password-protected at the time of payment;
- whether a security plugin or a firewall blocks requests coming from NETOPIA;
- whether the site's address changed (for example from staging to live) after setup.
An error when redirecting to the payment page
Usually the keys don't match the chosen mode: sandbox keys with Test Mode unticked or the reverse, or renamed files. Upload the correct files again.
The plugin stopped working after an update
Check whether the key files are still uploaded in the settings, and upload them again from your copy.
If you use SmartBill, the SmartBill plugin automatically issues the invoice as paid for orders paid through NETOPIA; see SmartBill + WooCommerce.
NETOPIA on a store hosted at AYT
On AYT WordPress hosting the site has a free SSL certificate, issued and renewed automatically, so checkout is on HTTPS from day one. The PHP extensions the plugin needs are checked and switched on from the panel, on the PHP Extensions page, and you test the settings on a staging site created from the WordPress Toolkit. The key files you upload in the settings live on the site, so they're also in the daily backup, from which you can recover them with single-file restore if an update removes them.
