LiqPay Integration for WooCommerce
LiqPay integration for WooCommerce
Configuring the module itself does not take long. The real work is making sure payments are credited correctly in every scenario, not just the successful one.
What is included
- connecting and configuring the payment method;
- request signature verification — without it, order status can be forged from outside;
- handling every scenario: successful payment, cancellation, error, refund;
- correct order status transitions and customer notifications;
- sandbox testing, then a live check with a real payment;
- verifying that the provider's callback actually reaches the site.
The main problem I get called in to fix
"Money taken, order unpaid." In most cases the module is not at fault: LiqPay's callback to your site is blocked by protection — a firewall, a WAF, or a country restriction. The site simply never receives the confirmation.
So an explicit exception is created for the callback URL. Importantly: an exception matched on the request URL, not on the sender's IP address — the provider's ranges change, and an IP-based rule breaks sooner or later.
What to test after connecting
Not only a successful payment. Cancelled and failed payments are where status logic most often breaks: the order either stays in limbo or, worse, gets marked as paid.
Tags: liqpay, woocommerce, payments, wordpress, integration