1. Documentation /
  2. Check if a Payment Method Support Refunds, Subscriptions or Pre-orders

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

Payment methods can add support for certain features from WooCommerce and its extensions. For example, a payment method can support refundssubscriptions or pre-orders functionality.

If the payment method documentation doesn’t clearly outline the supported features, you can often find what features are supported by looking at payment methods code.

Note: We are unable to provide support for customizations under our Support Policy. If you need to further customize a snippet, or extend its functionality, we highly recommend Codeable, or a Certified WooExpert.

Simplify Commerce example

↑ Back to top

Taking the Simplify Commerce payment method as an example. Open the plugin files in your favorite editor and search for $this->supports, then you can find the supported features:

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 = __( 'Take payments via Simplify Commerce - uses simplify.js to create card tokens and the Simplify Commerce SDK. Requires SSL when sandbox is disabled.', 'woocommerce' );
        $this->has_fields         = true;
        $this->supports           = array(
            'subscriptions',
            'products',
            'subscription_cancellation',
            'subscription_reactivation',
            'subscription_suspension',
            'subscription_amount_changes',
            'subscription_payment_method_change',
            'subscription_date_changes',
            'default_credit_card_form',
            'refunds',
            'pre-orders'
        );

If you don’t find $this->supports in the plugin files, that may mean that the payment method isn’t correctly declaring support for refunds, subscripts or pre-orders.

Questions and Support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin for which support is provided in our community forums on WordPress.org. Searching there you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the Woo Marketplace.
  • Need ongoing advanced support, or a customization built for WooCommerce? Hire a WooExpert agency.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know! 🙏