PaymentController extends AbstractPaymentController
in package

Tags
since
4.0.0

Table of Contents

Methods

destroy_session_data()  : mixed
process_payment()  : array<string|int, mixed>|WP_Error
process_pre_order_payment()  : mixed
process_setup_intent()  : SetupIntent|array<string|int, mixed>|WP_Error
process_zero_total_order()  : mixed

Methods

process_setup_intent()

public process_setup_intent(WC_Order $order, AbstractGateway $payment_method) : SetupIntent|array<string|int, mixed>|WP_Error
Parameters
$order : WC_Order
$payment_method : AbstractGateway
Tags
throws
Exception
Return values
SetupIntent|array<string|int, mixed>|WP_Error

The setup intent object on success, a redirect array if action is required, or WP_Error on failure.


        
On this page

Search results