shivsingh7150 Posted February 21, 2022 Share Posted February 21, 2022 Hello, i am working in a payment gateway development so i am want to make changes according to billingCycle , please help me know how can i get billingCycle in payment gateway file. Thanks 0 Quote Link to comment Share on other sites More sharing options...
0 PUQ Posted December 20, 2022 Share Posted December 20, 2022 In a payment gateway module for WHMCS, you can access the billing cycle for an order using the $params variable, which is passed to the payment gateway's capture function as an argument. The $params variable is an array that contains various information about the order, including the billing cycle. To access the billing cycle for an order in a payment gateway module, you can use the following code: $billingCycle = $params['billingcycle']; The $billingCycle variable will contain a string value representing the billing cycle for the order, such as "Monthly", "Quarterly", "Semi-Annually", or "Annually". You can then use the $billingCycle variable to make any necessary changes to the payment gateway request or response based on the billing cycle. 0 Quote Link to comment Share on other sites More sharing options...
Question
shivsingh7150
Hello,
i am working in a payment gateway development so i am want to make changes according to billingCycle ,
please help me know how can i get billingCycle in payment gateway file.
Thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.