Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.
  1. Documentation /
  2. Technical Documentation /
  3. Extending /
  4. Payments

Payments


Documents

  • Check if a Payment Gateway Support Refunds, Subscriptions or Pre-orders

    Check if a payment gateway supports refunds, subscriptions or pre-orders by looking at gateway code. Simplify Commerce example In case you should search for $this->supports, as shown in the example below from the Simplify Commerce gateway: class WC_Gateway_Simplify_Commerce extends WC_Payment_Gateway { /** * Constructor */ public function __construct() { $this->id = ‘simplify_commerce’; $this->method_title = __( ‘Simplify Commerce’, ‘woocommerce’ ); $this->method_description […]

WooCommerce

The most customizable ecommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment