Loading...
Loading...
Docs / Plugin guide / WooCommerce
The WooCommerce integration is an installable payment gateway that hands shoppers to the Payvra hosted checkout and relies on signed callbacks to update order state. Use this page to prove the install path, payment-state reconciliation, and the exact switches you flip when the store moves from sandbox to live.
Treat the gateway like any other payment rail: install it cleanly, confirm one full sandbox order lifecycle, and only then swap the API key and webhook secret to live values.
What this guide proves
Checkout redirect
Signed callback
Refund route
Operator facts
Runtime model
Checkout route
Store requirement
Live promotion
Checkout redirect
Signed callback
Refund route
Payvra. Distributed as a packaged WordPress plugin zip.
Listing facts
Download the plugin package
/downloads/payvra-gateway.zipUpload and activate it in WordPress
payvra-gateway folder into wp-content/plugins/ first.Confirm the payment method appears in WooCommerce
Keep the first install in sandbox mode
Enable gateway
Sandbox mode
API key
sk_test_.... Replace it with sk_live_... only after the signed webhook path is stable and the WooCommerce order transitions are correct.Webhook secret
Settlement currency
Copy the store callback URL
https://yourstore.com/wp-json/payvra/v1/webhookRegister the webhook in Payvra
payment.confirmed, payment.completed, payment.failed, payment.expired, refund.completed, and refund.failed.Verify the callback before order mutation logic runs
Pretty permalinks
/wp-json/payvra/v1/webhook only resolves when WordPress is running pretty permalinks. Plain query-string permalinks return a 404 and the Payvra delivery log shows no payload reached the store.Page-cache plugins
Object cache invalidation
processing to keep the admin order screen consistent with the gateway log.Multisite scope
Gateway visibility
Lifecycle rehearsal
Order resolution
sk_test_... value with sk_live_....whsec_... value into the WooCommerce plugin settings.Gateway does not appear at checkout
Orders stay pending after payment
Refund action cannot find the Payvra payment
Plugin installs but still fails in production
sk_test_... or a stale sandbox webhook secret after the operator believes the store has been promoted.Prove one sandbox order from checkout redirect to signed callback, then promote the same gateway to live mode by switching only the Payvra credentials and webhook secret.