Create a WooCommerce Payment Gateway Plugin from Scratch
A WooCommerce payment gateway plugin from scratch When a regional payment provider has no WooCommerce plugin, you write one. The gateway class extends WC_Payment_Gateway: settings for the API keys and a test mode, process_payment() to start the payment, and a webhook that confirms it. The common case today is a redirect gateway: the customer pays…