WC_Stripe_Payment_Intent extends WC_Stripe_Payment
in package

Tags
since
3.1.0
author

Payment Plugins

Table of Contents

Properties

$gateway  : WC_Stripe_Gateway
$payment_method  : WC_Payment_Gateway_Stripe
$payment_intent_args  : mixed
$retry_count  : mixed
$update_payment_intent  : mixed

Methods

__construct()  : mixed
add_general_order_args()  : mixed
add_order_amount()  : mixed
add_order_currency()  : mixed
add_order_description()  : mixed
add_order_metadata()  : mixed
add_order_payment_method()  : mixed
add_order_shipping_address()  : mixed
add_payment_failed_note()  : mixed
can_update_payment_intent()  : mixed
Compares the order's saved intent to the order's attributes.
can_use_payment_intent()  : mixed
can_void_order()  : mixed
Return true if the charge can be voided.
capture_charge()  : mixed|Charge|PaymentIntent|StripeObject
destroy_session_data()  : mixed
get_gateway()  : mixed
get_name_from_order()  : string
get_payment_intent_args()  : mixed
get_payment_method_from_charge()  : mixed
order_error()  : array<string|int, mixed>
Return a failed order response.
payment_complete()  : mixed
Perform post payment processes
post_payment_process_error_handling()  : mixed
process_payment()  : mixed
Process the payment for the order.
process_pre_order_payment()  : mixed
process_refund()  : mixed
process_zero_total_order()  : mixed
scheduled_subscription_payment()  : mixed
set_payment_method()  : mixed
set_update_payment_intent()  : mixed
should_retry_payment()  : mixed
void_charge()  : mixed
add_level3_order_data()  : void
get_payment_method_charge_type()  : mixed

Properties

Methods

add_order_amount()

public add_order_amount(array<string|int, mixed> &$args, WC_Order $order[, float $amount = null ]) : mixed
Parameters
$args : array<string|int, mixed>
$order : WC_Order
$amount : float = null

can_update_payment_intent()

Compares the order's saved intent to the order's attributes.

public can_update_payment_intent(WC_Order $order[, mixed $intent = null ]) : mixed

If there is a delta, then the payment intent can be updated. The intent should only be updated if this is the checkout page.

Parameters
$order : WC_Order
$intent : mixed = null

can_void_order()

Return true if the charge can be voided.

public can_void_order(mixed $order) : mixed
Parameters
$order : mixed
Tags
see
WC_Stripe_Payment::can_void_charge()

capture_charge()

public capture_charge(float $amount, WC_Order $order[, Charge $charge = null ]) : mixed|Charge|PaymentIntent|StripeObject
Parameters
$amount : float
$order : WC_Order
$charge : Charge = null
Tags
throws
ApiErrorException
Return values
mixed|Charge|PaymentIntent|StripeObject

get_payment_intent_args()

public get_payment_intent_args(WC_Order $order[, mixed $new = true ][, mixed $intent = null ]) : mixed
Parameters
$order : WC_Order
$new : mixed = true
$intent : mixed = null

process_refund()

public process_refund(WC_Order $order[, float $amount = null ][, mixed $reason = '' ]) : mixed
Parameters
$order : WC_Order
$amount : float = null
$reason : mixed = ''
Tags
throws
Exception

add_level3_order_data()

protected add_level3_order_data(array<string|int, mixed> &$args, WC_Order $order[, mixed $capture = false ]) : void
Parameters
$args : array<string|int, mixed>
$order : WC_Order
$capture : mixed = false

        
On this page

Search results