woocommerce_sequracheckout_process_payment_return
Hook Filter
Allow modifying process payment method result value
This hook has been deprecated. Use sequra_checkout_process_payment_return instead.
Description
Allow modifying process payment method result value in seQura payment gateway.
| Parameter | Type | Description |
|---|---|---|
$result | array | Process payment results |
$extra | null | Not being used |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced |
| 3.0.0 | Deprecated |
Usage Example
add_filter('woocommerce_sequracheckout_process_payment_return', function($result, $eaxtra){
// Customize the process payment result.
$result = array(
'result' => 'success',
'redirect' => $result['redirect']
);
});Updated 6 months ago