Buy Pro and Unlock57+ Addons Completely Free!

up to 70% off
Black Friday
Starts at $69
00DAYS 00HRS 00MINS 00SECS

Documentation

Payment Gateway Hooks
arm_after_paypal_free_payment
This action is used to do action only after user paid 0 amount for paid finite OR paid Infinite type of plan using Paypal payment gateway.
Hook Details
  • Hook Type: Action
  • Source: core/classes/class.arm_gateways_paypal.php
Usage:
Parameters:
$plan
Plan Object
$payment_log_id
ID of row of database table where payment history added.
$arm_is_trial
Whether user paid for trial period or not?
$coupon_code
Coupon Code used while payment.
$extraParam
Array of extra parameters like plan_amount, paid_amount, coupon_amount etc.