CheckoutSchema::get_checkout_response( WC_Order $order, AutomatticWooCommerceBlocksPaymentsPaymentResult $payment_result = null )
Get the checkout response based on the current order and any payments.
Description Description
Parameters Parameters
- $order
-
(Required) Order object.
- $payment_result
-
(Optional) Payment result object.
Default value: null
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/CheckoutSchema.php