woocommerce_sequracheckout_process_payment

Hook Action

Allow plugins to run when payment is being processed

Description

Allow executing custom code when payment is being processed by the seQura payment gateway

ParameterTypeDescription
$orderWC_OrderWooCommerce Order
$instanceSeQura\WC\Services\Payment\Sequra_Payment_GatewayPayment gateway instance

Changelog

VersionDescription
2.0.0Introduced

Usage Example

add_action('woocommerce_sequracheckout_process_payment', function($order, $instance){
  // Your custom code here...
});