paygent-digital

Implement Paygent redirect payment flows for WooCommerce orders.

Updated Sep 22, 2024
One-click install
npx skills add https://github.com/WordPressBugBounty/plugins-woocommerce-for-japan --skill paygent-digital
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paygent-digital
Source: https://github.com/WordPressBugBounty/plugins-woocommerce-for-japan/tree/main/woocommerce-for-japan/.claude/skills/paygent-digital
Command: npx skills add https://github.com/WordPressBugBounty/plugins-woocommerce-for-japan --skill paygent-digital

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you implement and troubleshoot Paygent digital payments in a redirect-based WooCommerce flow, so orders can be posted to Paygent, redirected back to your store, and then updated correctly on the thank-you page.

Core Features & Use Cases

  • Redirect-based payment flow: Triggers outbound payment requests on WooCommerce receipt hooks and handles results on thank-you hooks.
  • Gateway mapping for major methods: Covers PayPay, Paidy, and Rakuten Pay with defined gateway IDs and telegram kinds for apply/cancel/capture.
  • Refund and cancellation guidance: Provides key refund/cancel behaviors and payment status handling to keep order state consistent.
  • Use case example: When a customer pays with PayPay, this Skill documents saving the received redirect HTML to order meta and using the payment-status query to complete the WooCommerce payment.

Quick Start

Use the paygent-digital skill to wire PayPay/Paiday/Rakuten Pay redirect payments by matching your gateway IDs and telegram kinds, then verify order updates on the woocommerce_thankyou hooks for the target payment method.

Frequently Asked Questions about paygent-digital

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement PayPay redirect payments in WooCommerce?

To handle Paidy and Rakuten Pay, map their specific gateway IDs and telegram_kind codes within WooCommerce process_payment flows. This ensures correct authorization, capture, and cancellation status transitions across redirect-based payment scenarios.

Why does WooCommerce order status stay pending after a Paygent redirect?

WooCommerce order status remains pending after a Paygent redirect when the thank-you hook is not properly configured to read the payment-status query. Verifying your gateway ID mapping and order meta persistence resolves this incomplete payment confirmation issue.

How do I manage refunds and cancellations for Paygent digital payments?

Refunds and cancellations for Paygent digital payments are managed by applying specific telegram_kind codes for cancel operations. This triggers the correct payment status transitions within WooCommerce to keep order state consistent after authorization.

Does this Paygent integration require specific WordPress and PHP compatibility?

Yes, Paygent digital redirect integration requires specific WooCommerce, WordPress, and PHP compatibility constraints. Ensuring your environment meets these constraints is necessary for the outbound telegrams and gateway ID mappings to function correctly.

What is the best way to configure Paygent digital redirect flows for WooCommerce?

The best way to configure Paygent digital redirect flows is to wire PayPay, Paidy, and Rakuten Pay by matching gateway IDs and telegram kinds. Verify order updates directly on the woocommerce_thankyou hooks for the target payment method to ensure success.