PaymentController extends AbstractPaymentController
in package

Table of Contents

Methods

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

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