Developers / WooCommerce
WooCommerce plugin
Production gateway in plugins/woocommerce-aurapay/. Creates AuraPay invoices at checkout and marks orders paid on payment.confirmed.
- Create an API key in AuraPay → Services → API. Set webhook URL to
https://YOUR-STORE.com/wp-json/aurapay/v1/webhookand a webhook secret. - Install the plugin: zip the
woocommerce-aurapayfolder, upload under WordPress → Plugins → Add New → Upload. - Configure WooCommerce → Settings → Payments → AuraPay: enable, paste API key + secret, choose TON or USDT, API base
https://app.aurapayglobal.com. - Test: place an order, complete hosted checkout, confirm the order moves to Processing / Completed after the webhook.
Webhook verification (PHP)
$expected = 'sha256=' . hash_hmac('sha256', $rawBody, $secret);
hash_equals($expected, $_SERVER['HTTP_X_AURAPAY_SIGNATURE'] ?? '');