arm_payment_gateway_validation_from_setup

Handle payment gateway action when membership setup form submitted (In case of paid membership plan only).

Hook Type: Action
Usage:
add_action( 'arm_payment_gateway_validation_from_setup', 'your_function', 10, 4);
function your_function($gateway_name, $gateway_options, $posted_data, $entry_id=0) {
    //Do Your Action
    //$gateway_name Payment Gateway Name
    //$gateway_options Payment Gateway settings.
    //$posted_data Posted membership setup details.
    //$entry_id Entry details ID.
}
Parameters:
$gateway_name
Payment Gateway Name
$gateway_options
Payment Gateway settings
$posted_data
Posted membership setup details
$entry_id
Entry details ID