ApplePayGateway
extends BasePaymentGateway
in package
Class BaseGateway
Table of Contents
Properties
- $refund_supported : mixed
- $key : mixed
Methods
- __construct() : mixed
- add_balance_transaction() : mixed
- get_instance() : mixed
- get_transaction_link() : mixed
- handle_client_error() : mixed
- has_token() : mixed
- initialize() : mixed
- initialize_actions() : mixed
- process_charge() : false|true|void
- process_refund_offer() : bool
- process_refund_success() : void
- update_payment_balance() : void
- get_payment_intent_redirect_url() : string
Properties
$refund_supported
public
mixed
$refund_supported
= true
$key
protected
mixed
$key
= 'stripe_applepay'
Methods
__construct()
public
__construct(WC_Stripe_Gateway $client, WC_Stripe_Payment $payment, WFOCU_Logger $logger) : mixed
Parameters
- $client : WC_Stripe_Gateway
- $payment : WC_Stripe_Payment
- $logger : WFOCU_Logger
add_balance_transaction()
public
add_balance_transaction(mixed $args, mixed $property, mixed $method) : mixed
Parameters
- $args : mixed
- $property : mixed
- $method : mixed
get_instance()
public
static get_instance() : mixed
get_transaction_link()
public
get_transaction_link(mixed $transaction_id, mixed $order_id) : mixed
Parameters
- $transaction_id : mixed
- $order_id : mixed
handle_client_error()
public
handle_client_error() : mixed
has_token()
public
has_token(mixed $order) : mixed
Parameters
- $order : mixed
initialize()
public
initialize() : mixed
initialize_actions()
public
initialize_actions() : mixed
process_charge()
public
process_charge(WC_Order $order) : false|true|void
Parameters
- $order : WC_Order
Return values
false|true|voidprocess_refund_offer()
public
process_refund_offer(WC_Order $order) : bool
Parameters
- $order : WC_Order
Return values
boolprocess_refund_success()
public
process_refund_success(WC_Order $order, array<string|int, mixed> $charge_ids) : void
Parameters
- $order : WC_Order
- $charge_ids : array<string|int, mixed>
Tags
update_payment_balance()
public
update_payment_balance(Charge $charge, WC_Order $order) : void
Parameters
- $charge : Charge
- $order : WC_Order
get_payment_intent_redirect_url()
protected
get_payment_intent_redirect_url(PaymentIntent $intent) : string
Parameters
- $intent : PaymentIntent