API Category: Payment Gateway Hooks

arm_after_recurring_payment_completed_outside

Usage: add_action( ‘arm_after_recurring_payment_completed_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_recurring_payment_failed_outside

Usage: add_action( ‘arm_after_recurring_payment_failed_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_recurring_payment_success_outside

Usage: add_action( ‘arm_after_recurring_payment_success_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_bank_transfer_payment

Usage: add_action( ‘arm_after_bank_transfer_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_mode= ” , $amount= 0, $coupon_code= ”, $arm_is_trial= 0) { //Do Your Action //$plan plan object //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$amount Plan Amount //$coupon_code Coupon code //$arm_is_trial Whether user paid for trial period or not? } Parameters: $plan Plan Object $payment_mode Payment Method ‘Auto’ OR […]

Read More

arm_after_stripe_free_manual_payment

Usage: add_action( ‘arm_after_stripe_free_manual_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_paypal_free_manual_payment

Usage: add_action( ‘arm_after_paypal_free_manual_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_authorize_net_free_manual_payment

Usage: add_action( ‘arm_after_authorize_net_free_manual_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_stripe_free_payment

Usage: add_action( ‘arm_after_stripe_free_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_paypal_free_payment

Usage: add_action( ‘arm_after_paypal_free_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_twocheckout_free_payment

Usage: add_action( ‘arm_after_twocheckout_free_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More
Welcome to ARMember
Fancy getting all offers and update notifications?
Subscribe
Give it a try, you can unsubscribe anytime.
Close