WooCommerce Code Reference

PaymentGatewayFeature
in package

Enum class for all the payment gateway feature's values.

Table of Contents

ADD_PAYMENT_METHODS  = 'add_payment_methods'
Payment gateway supports add payment methods.
CREDIT_CARD_FORM_CVC_ON_SAVED_METHOD  = 'credit_card_form_cvc_on_saved_method'
Payment gateway supports credit card form on saved method.
DEFAULT_CREDIT_CARD_FORM  = 'default_credit_card_form'
Payment gateway supports default credit card form.
DEPOSITS  = 'deposits'
Payment gateway supports deposits.
MULTIPLE_SUBSCRIPTIONS  = 'multiple_subscriptions'
Payment gateway supports multiple subscriptions.
PAY_BUTTON  = 'pay_button'
Payment gateway supports pay button.
PRE_ORDERS  = 'pre-orders'
Payment gateway supports pre-orders.
PRODUCTS  = 'products'
Payment gateway supports products.
REFUNDS  = 'refunds'
Payment gateway supports refunds.
SUBSCRIPTION_AMOUNT_CHANGES  = 'subscription_amount_changes'
Payment gateway supports subscription amount changes.
SUBSCRIPTION_CANCELLATION  = 'subscription_cancellation'
Payment gateway supports subscription cancellation.
SUBSCRIPTION_DATE_CHANGES  = 'subscription_date_changes'
Payment gateway supports subscription date changes.
SUBSCRIPTION_PAYMENT_METHOD_CHANGE  = 'subscription_payment_method_change'
Payment gateway supports subscription payment method changes.
SUBSCRIPTION_PAYMENT_METHOD_CHANGE_ADMIN  = 'subscription_payment_method_change_admin'
Payment gateway supports subscription payment method changes by admin.
SUBSCRIPTION_PAYMENT_METHOD_CHANGE_CUSTOMER  = 'subscription_payment_method_change_customer'
Payment gateway supports subscription payment method changes by customer or admin.
SUBSCRIPTION_REACTIVATION  = 'subscription_reactivation'
Payment gateway supports subscription reactivation.
SUBSCRIPTION_SUSPENSION  = 'subscription_suspension'
Payment gateway supports subscription suspension.
SUBSCRIPTIONS  = 'subscriptions'
Payment gateway supports subscriptions.
TOKENIZATION  = 'tokenization'
Payment gateway supports tokenization.

Constants

CREDIT_CARD_FORM_CVC_ON_SAVED_METHOD

Payment gateway supports credit card form on saved method.

public string CREDIT_CARD_FORM_CVC_ON_SAVED_METHOD = 'credit_card_form_cvc_on_saved_method'

DEFAULT_CREDIT_CARD_FORM

Payment gateway supports default credit card form.

public string DEFAULT_CREDIT_CARD_FORM = 'default_credit_card_form'

MULTIPLE_SUBSCRIPTIONS

Payment gateway supports multiple subscriptions.

public string MULTIPLE_SUBSCRIPTIONS = 'multiple_subscriptions'

SUBSCRIPTION_AMOUNT_CHANGES

Payment gateway supports subscription amount changes.

public string SUBSCRIPTION_AMOUNT_CHANGES = 'subscription_amount_changes'

SUBSCRIPTION_CANCELLATION

Payment gateway supports subscription cancellation.

public string SUBSCRIPTION_CANCELLATION = 'subscription_cancellation'

SUBSCRIPTION_DATE_CHANGES

Payment gateway supports subscription date changes.

public string SUBSCRIPTION_DATE_CHANGES = 'subscription_date_changes'

SUBSCRIPTION_PAYMENT_METHOD_CHANGE

Payment gateway supports subscription payment method changes.

public string SUBSCRIPTION_PAYMENT_METHOD_CHANGE = 'subscription_payment_method_change'

SUBSCRIPTION_PAYMENT_METHOD_CHANGE_ADMIN

Payment gateway supports subscription payment method changes by admin.

public string SUBSCRIPTION_PAYMENT_METHOD_CHANGE_ADMIN = 'subscription_payment_method_change_admin'

SUBSCRIPTION_PAYMENT_METHOD_CHANGE_CUSTOMER

Payment gateway supports subscription payment method changes by customer or admin.

public string SUBSCRIPTION_PAYMENT_METHOD_CHANGE_CUSTOMER = 'subscription_payment_method_change_customer'

SUBSCRIPTION_REACTIVATION

Payment gateway supports subscription reactivation.

public string SUBSCRIPTION_REACTIVATION = 'subscription_reactivation'

SUBSCRIPTION_SUSPENSION

Payment gateway supports subscription suspension.

public string SUBSCRIPTION_SUSPENSION = 'subscription_suspension'