Thanks it worked! I am trying to create an ajax call but the response sends the entire admin page 😕
Is there any way to have actions tha return only the json response i need and not the entire admin page?
Thanks!
Hello,
I am trying to create an addon module only for the admins. Can you help me on how I can render templates from each controller action instead of simly echo the content? On the sample addon it says @see AddonModule\Admin\Controller::index() but I can't find the docs...
Also for ajax calls I can simple create actions and just echo the result as json?
Thanks
I found this: https://developers.whmcs.com/payment-gateways/tokenised-remote-storage/
Probably this is what I need to do? Their documentation is odd... I don't understand what to do exactly with storeremote 😞
Yes I read the stripe docs. My problem is with WHMCS payment gateway docs which are incomplete with not all the necessary functions etc. You have any other links with full doc about the payment gateways?
Thanks! What do you mean the regural charge API and where I can find the paymentintents doc? Also the subscription is more essential than the one time payment so I need to focus firstly on the subscription feature.
Hello,
I am trying to create a payment gateway using stripe and elements. For one time payment it works ok but I can't figure it out how to make it with subscriptions. I think that it should be handled from WHMCS per each invoice generation(monthly, quarterly etc) and not by creating product and plan on stripe. Is there any sample to see or doc with complete info on whmcs payment gateways?
Thanks
Hello,
Is there any way in order to recalculate the product price on the product configure page? What I am trying to do is to recalculate the product price based on some configurable options and add a percentage on it. I found some hooks but I can't get the product price.
Thank you!