WooCommerce Code Reference

WC_Gateway_Paypal_Constants
in package

WC_Gateway_Paypal_Constants Class.

Tags
deprecated
10.5.0

Use Automattic\WooCommerce\Gateways\PayPal\Constants instead. This class will be removed in 11.0.0.

Table of Contents

FIELDS_TO_REDACT  = AutomatticWooCommerceGatewaysPayPalConstants::FIELDS_TO_REDACT
Fields to redact from logs.
INTENT_AUTHORIZE  = AutomatticWooCommerceGatewaysPayPalConstants::INTENT_AUTHORIZE
INTENT_CAPTURE  = AutomatticWooCommerceGatewaysPayPalConstants::INTENT_CAPTURE
PayPal payment intents.
PAYMENT_ACTION_AUTHORIZE  = AutomatticWooCommerceGatewaysPayPalConstants::PAYMENT_ACTION_AUTHORIZE
PAYMENT_ACTION_CAPTURE  = AutomatticWooCommerceGatewaysPayPalConstants::PAYMENT_ACTION_CAPTURE
PayPal payment actions.
PAYMENT_SOURCE_PAYLATER  = AutomatticWooCommerceGatewaysPayPalConstants::PAYMENT_SOURCE_PAYLATER
PAYMENT_SOURCE_PAYPAL  = AutomatticWooCommerceGatewaysPayPalConstants::PAYMENT_SOURCE_PAYPAL
Supported payment sources.
PAYMENT_SOURCE_VENMO  = AutomatticWooCommerceGatewaysPayPalConstants::PAYMENT_SOURCE_VENMO
PAYPAL_ADDRESS_LINE_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_ADDRESS_LINE_MAX_LENGTH
PAYPAL_CITY_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_CITY_MAX_LENGTH
PAYPAL_COUNTRY_CODE_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_COUNTRY_CODE_LENGTH
PAYPAL_INVOICE_ID_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_INVOICE_ID_MAX_LENGTH
PAYPAL_LOCALE_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_LOCALE_MAX_LENGTH
PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH
Maximum lengths for PayPal fields.
PAYPAL_POSTAL_CODE_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_POSTAL_CODE_MAX_LENGTH
PAYPAL_STATE_MAX_LENGTH  = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_STATE_MAX_LENGTH
SHIPPING_GET_FROM_FILE  = AutomatticWooCommerceGatewaysPayPalConstants::SHIPPING_GET_FROM_FILE
SHIPPING_NO_SHIPPING  = AutomatticWooCommerceGatewaysPayPalConstants::SHIPPING_NO_SHIPPING
PayPal shipping preferences.
SHIPPING_SET_PROVIDED_ADDRESS  = AutomatticWooCommerceGatewaysPayPalConstants::SHIPPING_SET_PROVIDED_ADDRESS
STATUS_APPROVED  = AutomatticWooCommerceGatewaysPayPalConstants::STATUS_APPROVED
STATUS_AUTHORIZED  = AutomatticWooCommerceGatewaysPayPalConstants::STATUS_AUTHORIZED
STATUS_CAPTURED  = AutomatticWooCommerceGatewaysPayPalConstants::STATUS_CAPTURED
STATUS_COMPLETED  = AutomatticWooCommerceGatewaysPayPalConstants::STATUS_COMPLETED
PayPal payment statuses.
STATUS_PAYER_ACTION_REQUIRED  = AutomatticWooCommerceGatewaysPayPalConstants::STATUS_PAYER_ACTION_REQUIRED
SUPPORTED_CURRENCIES  = AutomatticWooCommerceGatewaysPayPalConstants::SUPPORTED_CURRENCIES
List of currencies supported by PayPal (Orders API V2).
SUPPORTED_PAYMENT_SOURCES  = AutomatticWooCommerceGatewaysPayPalConstants::SUPPORTED_PAYMENT_SOURCES
USER_ACTION_PAY_NOW  = AutomatticWooCommerceGatewaysPayPalConstants::USER_ACTION_PAY_NOW
PayPal user actions.
VOIDED  = AutomatticWooCommerceGatewaysPayPalConstants::VOIDED
WPCOM_PROXY_REQUEST_TIMEOUT  = AutomatticWooCommerceGatewaysPayPalConstants::WPCOM_PROXY_REQUEST_TIMEOUT
PayPal proxy request timeout.

Constants

PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH

Maximum lengths for PayPal fields.

public mixed PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH = AutomatticWooCommerceGatewaysPayPalConstants::PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH
Tags
deprecated
10.5.0

Use Automattic\WooCommerce\Gateways\PayPal\Constants::PAYPAL_* instead.

SUPPORTED_CURRENCIES

List of currencies supported by PayPal (Orders API V2).

public array<string|int, string> SUPPORTED_CURRENCIES = AutomatticWooCommerceGatewaysPayPalConstants::SUPPORTED_CURRENCIES
Tags
deprecated
10.5.0

Use Automattic\WooCommerce\Gateways\PayPal\Constants::SUPPORTED_CURRENCIES instead.

WPCOM_PROXY_REQUEST_TIMEOUT

PayPal proxy request timeout.

public mixed WPCOM_PROXY_REQUEST_TIMEOUT = AutomatticWooCommerceGatewaysPayPalConstants::WPCOM_PROXY_REQUEST_TIMEOUT
Tags
deprecated
10.5.0

Use Automattic\WooCommerce\Gateways\PayPal\Constants::WPCOM_PROXY_REQUEST_TIMEOUT instead.