Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by bellafronte

  1. bellafronte

    Replacing credit card form with own

    I try to display a new smarty template with _remoteinput but doesn't work. I believe that if override the default creditcard.tpl to your template file will works?
  2. Hello, community! I have developed the WHMAUTIC, a new plugin that Integrates WHMCS with Mautic. What does this module do? The WHMAUTIC Module integrates your WHMCS with Mautic, synchronizing your customers directly into the Mautic marketing automation platform and enabling you to identify business opportunities, automate marketing campaigns, and segment your customers based on your interests and products. Track the WHMCS shopping funnel to help you identify campaign performance through Mautic and improve your sales conversion. With this module you can: Synchronize your WHMCS customer data with Mautic contacts Track all pages in the WHMCS client area with the Mautic pixel Track the WHMCS sales funnel to identify opportunities Target Mautic contacts based on WHMCS information Automate marketing campaigns for your WHMCS products See all features and screenshots in the link https://market.eunarede.com/whmautic-whmcs-mautic-integration/
  3. Hello, community! I'm doing some experiments with the API UpdateTransaction but it looks like it is not working with any combination of parameters. I used the required parameter transactionid and tried to update the fee and description, but nothing happens. The API returns success.
  4. bellafronte

    Replacing credit card form with own

    In 2016 I have questioned the WHMCS team about this function, I found the reply:
  5. bellafronte

    Replacing credit card form with own

    Hello @steven99 I have tested the _remoteinput function and these appear to be fired on the input pages
  6. Hello WHMCS Community! I'm having a little challenge on a custom theme. I need to override some translations in a specific theme through the language file. This need is to be able to meet the need of the theme in changing words in the translation that help the user in the products that will be displayed in this theme, but this could not change the standard translation used in other WHMCS themes. Is it possible to create a translation file that is used only on a specific theme?
  7. bellafronte

    ticket link replace URL in email template

    HTACCESS rules you can perform this change =) Try search HTACCESS rules regex!
  8. bellafronte

    start session outside of WHMCS

    I believe that you can use the oAuth to perform your need - https://developers.whmcs.com/oauth/
  9. bellafronte

    Edit a specific area on index(Home page)

    Do you want to remove the news option on your index page?
  10. Maybe you can use the jQuery.get() to Load data from the server using a HTTP GET request. jQuery.get() - https://api.jquery.com/jquery.get/ jQuery get() Method - https://www.w3schools.com/jquery/ajax_get.asp
  11. bellafronte

    Integrating RabbigMQ messenger into whmcs

    @zub , I believe that the first step is the search for a good PHP library to base your needs. I have developed a provisioning module that integrates with the IBM MQ and a good SOAP library help me save lots of time in development.
  12. Hello WHMCS Community! I'm building a custom page on WHMCS that needs to retrieve all the products on a specific product group. In this step so far so good. But, these products have their names translated into several languages using the dynamic translation and different currency prices, looking into WHMCS Classes Model, I found on Product Model the methods that can retrieve this information in the current language and currency set. I build a simple loop that catches all the products ID: $command = 'GetProducts'; $productgroupid = 12; $postData = array( 'gid' => $productgroupid, ); $results = localAPI($command, $postData); $productsId = array(); foreach ($results['products']['product'] as $product) { $productsId[] = $product['pid']; } After this, I passed this products ID's to Product Model to get the information that I need: foreach ($productsId as $key => $value) { $products[$key] = [ 'name' => Product::find($value)->getNameAttribute(), 'description' => Product::find($value)->getDescriptionAttribute(), 'price' => Product::find($value)->pricing(), ]; } This works perfectly well, but the princing() method return only the default currency. I make a test outside the loop to get only one product and tested with different currencies, and the result is that what I expected: $userid = (isset($_SESSION['uid']) ? $_SESSION['uid'] : ""); $currencyid = (isset($_SESSION['currency']) ? $_SESSION['currency'] : ""); // $currencyid = 5; $currency = getCurrency($userid, $currencyid); var_dump($currency); var_dump(Product::find(1))->pricing(); (I have try without the currency variable, and after this passing the ID of currency, and the both cases works good) Only on the loop the princig() method do not retrieve the correct currency. I'm making a mistake in the loop that is not allowing the currency to recover properly?
  13. I get this resolved look the Data Feed files architecture. The data feed files can serve as the reference on retrieve this type of information.
  14. This resource is in progress: http://requests.whmcs.com/topic/attachments-via-api Unfurtnely now you can't send an attachment with the API.
  15. bellafronte

    How to relate orders to invoices?

    Maybe you can use the internal API like @brian! suggested. GetOrders Obtain orders matching the passed criteria
  16. bellafronte

    Service testing!

    Hello @Ilario42 I think you can configure a product with Auto Terminate/Fixed Term: Products and Services Documentation
  17. Google Analytics Enhanced E-commerce for WHMCS implement Universal Analytics Enhanced E-commerce features using Google Tag Manager on WHMCS. With this module, you now can track all orders in Google Analytics and Goals Conversion. Optimize your Adwords Campaigns with information about sales orders, revenue, CPA and more! Google Analytics Enhanced E-commerce enables product impression, promotion, and sales data to be sent to Google Analytics. Track Page Views, Events, and Actions on all WHMCS pages. Track the order funnel and revenue, abandoned checkout process, generate page value and improve the data analysis of your audience. Find out into WHMCS Marketplace list, https://marketplace.whmcs.com/product/3118 See our presentation video here. Main Features The Google Analytics Enhanced E-commerce for WHMCS allows you to analyze purchase activity on your WHMCS. Now you can collect product and transaction information, average order value, e-commerce conversion rate, time to purchase, and other information such as: Track Transactions Track Products adds to Cart Track Products removed from Cart (coming soon) Track Checkout and Purchase Funnel Track Shopping Behavior Track Checkout Behavior Track Product Performance: Product Revenue Unique Product Purchases Avg. Price Product Refund (coming soon) Track Sales Performance: Revenue per Transaction Tax paid per Transaction Refund Amount (coming soon) Track Marketing Promotions: Coupons Usage per Order Coupons Usage per Product (coming soon) Internal Promotion (coming soon) Affiliate Code (coming soon) Google Analytics Enhanced E-commerce for WHMCS lets you see the overall state of the performance of your WHMCS, and provides the ability to enable three categories of related metrics on: Shopping Behavior Analysis The Shopping Behavior Analysis report lets you see the number of sessions that included each stage of your purchase funnel, how many sessions continued from one step to the next, and how many abandoned the funnel at each stage. You can evaluate your users' shopping experience from product impression to transaction. Checkout Behavior Analysis The Checkout Behavior Analysis report lets you see how successfully your users moved through your checkout process. The checkout-funnel visualization illustrates how many users moved from one step to the next, how many abandoned the process at each step, and how many entered the process at each step. Product Performance The Product Performance report lets you see how your products performed from two different points of view. Sales Performance The Sales Performance report lets you evaluate sales dimensions and report metrics per sale. Order Coupon The Order Coupon report lets you see how your order-level coupons performed. Domains Purchases and TLD's Whit Google Analytics Enhanced E-commerce for WHMCS you can keep your digital strategy improved tracking the domains purchases and renews. Generate analysis on Google Analytics with the most orders TLD's and more! Events and Behavior Keep track the user Events on checkout funnel. See all events steps involved in a transaction such as: Product Impressions: Track Products Impression when a Product Group is visited. Product Details: Track events when the product have configuration options or additional modules Add to Cart: Trigger an event when a product is added to shopping cart. Checkout: Track any event on registration and payment process. Purchase: Collect all data of the order and push to Google Analytics. Multi-currency Support This module supports multi-currency orders. You can track any currency used on your orders. You can purchase this module on WHMCS Marketplace, https://marketplace.whmcs.com/product/3118
  18. Hello folks, I'm trying to retrieve shopping cart items in the ShoppingCartViewCartOutput hook, the documentation informs the cartData parameter, but it only has the array with the ID of the products in the cart. I need to retrieve all the cart data, such as product name, quantity, value, payment cycle, currency and the total value of the cart in ShoppingCartViewCartOutput hook. I tried to retrieve the data through $ _SESSION and the $ _GLOBAL variable but both have the same information as $cartData. Does WHMCS have a way to retrieve all the information from the cart at this point in the hook ShoppingCartViewCartOutput?
  19. Hello folks, I recommend the Google Analytics Enhanced Ecommerce for WHMCS to implement Universal Analytics and Enhanced E-commerce features using Google Tag Manager on WHMCS.
  20. bellafronte

    Custom Report Generator Filter

    You can develop a custom module for this purpose, see how create a custom addon module on http://developers.whmcs.com/addon-modules/
  21. Hello WHMCS Community! I come here to try to clarify a doubt. I developing a custom provisioning module and I want to use the Eloquent Model from Laravel to manipulate the database over the Query Builder which is mentioned in the documentation. Are there any restrictions on use? Regards!
  22. Works perfectly! Thank you very much brian!
  23. Hello, I trying access the product total price from $vars['products'] without currencie format,but the variables with the raw value is protected and I can't access your value. I try to fetch from array $vars['products']['pricing']['baseprice'] but this variable contain currencie codes, and the $vars['products']['pricing']['baseprice']['price'] is protected There is another option to fetch the product price from the cart product array without the currencie codes? Regards
  24. Hello Folks. I'm developing a custom theme for WHMCS v6 based on six template. In six template example (https://github.com/WHMCS/templates-six) I found a variable to get the icon for the main navbar: {if $item->hasIcon()}<i class="{$item->getIcon()}"></i> {/if} How to define these Icons? I look in role template (and the config settings too) but I not found any reference to this icons. Or it will be necessary create a hook for ClientAreaPrimaryNavbar and set through this? Best regards!
  25. Hello Folks! I'm developing a gateway module that integrate the Brazilian payment gateway "Pagseguro" with WHMCS. The Pagseguro has an API that make possible store the subscription ID for capture payments automatically for future invoices. It's possible use the subscription id parameter in the product information in attempt to capture the payment with the function merchantgateway_capture in my gateway module instead the CC number? Thank you very much!

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated