Archives: API Documents

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

arm_after_authorize_net_free_payment

Usage: add_action( ‘arm_after_authorize_net_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_manual_payment

Usage: add_action( ‘arm_after_twocheckout_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_before_change_user_plans

Usage: add_action( ‘arm_before_change_user_plans’, ‘your_function’, 10, 4); function your_function($user_id=0, $old_plan_id_array = 0, $new_plan_id = 0, $new_plan_object) { //Do Your Action //$user_id User ID. //$old_plan_id_array Array of user’s old plan IDs. //$new_plan_id Plan New plan ID. //$new_plan_object New Plan Object. } Parameters: $user_id User ID $old_plan_id_array Array of user’s old plan IDs $new_plan_id New Plan ID $new_plan_object […]

Read More

arm_before_renew_user_plans

Usage: add_action( ‘arm_before_renew_user_plans’, ‘your_function’, 10, 4); function your_function($user_id=0, $old_plan_id_array = 0, $new_plan_id = 0, $new_plan_object) { //Do Your Action //$user_id User ID. //$old_plan_id_array Array of user’s old plan IDs. //$new_plan_id Plan New plan ID. //$new_plan_object New Plan Object. } Parameters: $user_id User ID $old_plan_id_array Array of user’s old plan IDs $new_plan_id New Plan ID $new_plan_object […]

Read More

arm_after_cancel_subscription

Usage:add_action( ‘arm_after_cancel_subscription’, ‘your_function’, 10, 3); function your_function($user_id=0, $plan, $cancel_plan_action=0) { //Do Your Action //$cancel_plan_action Cancel Subscription Action(By User) which is set in plan //$user_id User ID. //$plan Plan Object. }Parameters:$cancel_plan_actionCancel Subscription Action(By User) which is set in plan$user_idUser ID$planPlan Object

Read More

arm_before_cancel_subscription

Usage:add_filter( ‘arm_before_cancel_subscription’, ‘your_function’, 10, 3); function your_function($cancel_plan_action, $plan, $user_id=0) { //Do Your Action //$cancel_plan_action Cancel Subscription Action(By User) which is set in plan //$user_id User ID. //$plan Plan Object. } Parameters: $cancel_plan_action Cancel Subscription Action(By User) which is set in plan $user_id User ID $planPlan Object

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