plugin-icon

NYVA Pay for WooCommerce

제작자: nyvapay·
Accept payments with NYVA Pay. Customers are redirected to the NYVA hosted checkout and orders are completed via webhook.
버전
1.0.11
최근 업데이트일
Jun 23, 2026

This plugin adds “Pay with NYVA” as a WooCommerce payment method. When the customer chooses NYVA Pay and places the order:

  1. The plugin creates a payment session via the NyvaPay API (POST /api/merchant/payment-links).
  2. The customer is redirected to the NyvaPay hosted checkout page.
  3. After payment, NyvaPay sends a webhook to your site; the plugin marks the order as paid and WooCommerce sends the order confirmation email.

Requirements

  • WordPress 5.0 or later
  • WooCommerce 4.0 or later (tested with WooCommerce 8.x)
  • PHP 7.4 or later
  • A NyvaPay merchant account with Pro subscription and an API key from the NyvaPay dashboard

API used

  • Create payment session: POST {base_url}/api/merchant/payment-links
  • Headers: X-Merchant-Email, X-API-Key, Content-Type: application/json
  • Body: amount, currency, product_name, order (WooCommerce order ID), webhook_url, success_redirect_url, customer_email, customer_name, billing_address (from Woo billing fields), embed_source (woo), optional metadata
  • Response: pay_url (redirect URL), payment_request_id

Webhook

When payment completes, NyvaPay POSTs to your webhook URL with a JSON body:

  • Event: payment.succeeded
  • Fields: order (your WooCommerce order ID), amount, currency, payment_request_id, transaction_id, status (“paid”), product_name, customer_email, customer_name, metadata

The plugin registers the webhook at: https://yoursite.com/wc-api/nyva_callback/ (WooCommerce builds this from your site URL). You do not need to configure this URL in NyvaPay; the plugin sends it automatically when creating each payment.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.