wc-payment-gateway

Community

Extend WooCommerce payment gateways.

AuthorLonsdale201
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Registers a WooCommerce payment gateway integration, clarifying the differences between payment_complete and update_status, ensuring correct order lifecycle, and handling cart clearing after payment.

Core Features & Use Cases

  • Register gateways via woocommerce_payment_gateways and hook into the WC_Payment_Gateway lifecycle.
  • Implement process_payment and process_refund, including proper status handling and transaction recording.
  • Debug and audit gateway integrations to ensure payment completion triggers the correct order flow.

Quick Start

Create a gateway class MyGateway extending WC_Payment_Gateway, configure its id, title, and supports, implement process_payment and optional refunds, and register it via the woocommerce_payment_gateways filter.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wc-payment-gateway
Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wc-payment-gateway

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.