AbstractPaymentController
in package

AbstractYes

Table of Contents

Methods

destroy_session_data()  : 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