Api::process_legacy_payment( AutomatticWooCommerceBlocksPaymentsPaymentContext $context, AutomatticWooCommerceBlocksPaymentsPaymentResult $result )
Attempt to process a payment for the checkout API if no payment methods support the woocommerce_rest_checkout_process_payment_with_context action.
Description Description
Parameters Parameters
- $context
-
(Required) Holds context for the payment.
- $result
-
(Required) Result of the payment.
Source Source
File: packages/woocommerce-blocks/src/Payments/Api.php