What happens at checkout
- Customer chooses Novupay at WooCommerce checkout.
- The plugin builds a secure order hash and redirects to
https://portal.novupay.com/pay/h/<hash>. - Novupay immediately redirects the browser to InfinitePay. There is no Novupaypayment page and no extra button. Name, email, and phone from WooCommerce are sent with the link when they are valid.
- Novupay confirms payment and POSTs a signed
order.paidcallback to your store. - The plugin verifies the signature and marks the WooCommerce order paid.
You do not put the InfinitePay API key in WordPress. InfinitePay notifies Novupay, and Novupay notifies the store.
Before you start
- WordPress with WooCommerce installed.
- A Novupay merchant account — sign up if you have not already.
- A site created in Dashboard → Sites (API) with API key and secret.
- Permalinks enabled (Settings → Permalinks — any option except Plain).
Step 1 — Download the plugin
Download the official Novupay WooCommerce plugin:
Download card2pay-woocommerce.zipStep 2 — Install in WordPress
- WP Admin → Plugins → Add New → Upload Plugin.
- Choose
card2pay-woocommerce.zipand install. - Activate Novupay for WooCommerce.
Step 3 — Configure the gateway
Go to WooCommerce → Settings → Payments → Novupay.
| Field | Value |
|---|---|
| Enable | ✓ Enable Novupay |
| Novupay base URL | https://portal.novupay.com |
| API key | From dashboard → Sites (starts with c2p_) |
| API secret | From the same site card — must match exactly |
The plugin shows your webhook URL automatically. It should look like:
https://your-store.com/wp-json/card2pay/v1/callbackStep 4 — Match callback URL in Novupay
In Dashboard → Sites (API), edit your site and set the callback URL to the same address the plugin displays (usually https://your-store.com/wp-json/card2pay/v1/callback).
The plugin also sends callback_url with each order, so a mismatch in the dashboard alone rarely blocks payments — but keeping both in sync is recommended.
Step 5 — Test checkout
- Add a product to cart and go to checkout.
- Select Novupay and place the order.
- You should be redirected to Novupay checkout.
- Complete payment with Pix or card.
- Confirm the order is PAID in Novupay Orders and Processing/Completed in WooCommerce.
Go-live checklist
- Gateway enabled in WooCommerce.
- API key and secret match your Novupay site (not another environment).
- Callback URL uses HTTPS and is reachable from the internet.
- WordPress REST API not blocked by security plugins or firewall.
- Payout settings filled in on your Novupay dashboard.
Something not working? See Troubleshooting or contact info@novupay.com.