Jump to content
Sign in to follow this  

Cancellation Button don't change

Recommended Posts

Hi @ all,

If got a problem and I'm not able to solve the Problem.

In the clientareaproductdetails.tpl you have the cancellation Button to cancel your product .

In normal condition it shows "Request Cancellation" but after the cancellation the Button text should change to "Cancellation Requested"

Therefore is the {if}{else} function :

<div class="col-xs-{if $packagesupgrade}6{else}12{/if}">
<a href="clientarea.php?action=cancel&amp;id={$id}" class="btn btn-block btn-danger {if $pendingcancellation}disabled{/if}">
{if $pendingcancellation}{$LANG.cancellationrequested}{else}{$LANG.clientareacancelrequestbutton}{/if}</a></div>

here is the translation :

$_LANG['clientareacancelrequestbutton'] = "Request Cancellation";
$_LANG['cancellationrequested'] = "Cancellation Requested";

but no change 🙄.

The status is cancellation -> False 





Anny idea why it is not changing the status ?

Greetings Christian

Share this post

Link to post
Share on other sites

The Text "Cancelled to 07/01/2019" looks like you have a custom modification and no stock whmcs/template. $pendingcancellation is only set to true when the cancellation was made with the stock WHMCS Cancellation System, when you are using a custom modification or a module this maybe is not set.

Share this post

Link to post
Share on other sites

works fine in v7.6.1... can't remember if there was a bug in previous versions...


returns to holiday. ⛷️

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By mindofmedia
      Like every year where are adjusting our pricing on the local index. 
      But because we still have a few clients that uses our old product gamma we still need to updates these pricing also. While that's fine for the active clients, I can't seems to delete the products that aren't active anymore on any client besides that are cancelled or terminated.
      So that product is still in the clients database (as cancelled or terminated) and most of the times the customer isn't even a customer anymore. Because of that I can't remove the products from Whmcs. I can hide them, retire them that is all fine but they still are in the admin product list (not in dropdown, the actual list where you can see all your products in the admin area).
      So I was wondering, what if I delete all the terminated and cancelled products from the customers client profile.
      But I'm not really sure about that, so I would like to know your opinion. What do you do?
      I think in EU (or BE for that fact), we can't delete the customer profile data, invoices, etc for 10 years (maybe a hard copy of the invoices is fine, don't know). But I don't think that applies on their products (since the actually webhosting is already long gone of course). And if we want we can still see the history on their invoices.
      So what do you do when a customer (or you) cancels (or terminates), what do you do with their profile, history, products, tickets, invoices, etc? Do you delete it, keep it, keep if for a few months, years, decades?
    • By ModulesGarden
      Following the never-ceasing evolution of WHMCS, we pursue the ultimate goal of persistently raising our standards of software development. That being the case, we plan to gradually turn our attention from WHMCS V7.8 to WHMCS V7.9 and later versions. The official transition is scheduled according to the Long-Term Support Policy laid down by WHMCS, and thus will begin on September 1st, 2020.

      If you are not fully ready to move on from the 7.8 version yet, there is nothing to worry about as all the previous updates of our products remain safe for use. Basing on our long-lasting experience, future module releases stand a fair chance of operating in a right manner as well regardless of no longer being tested towards their WHMCS V7.8 compatibility. Then again, if you wish to get the most out of our offer, we strongly recommend using the 7.9 version at least.

      Whether you use the latest WHMCS update or not, our Support Team remains at your disposal to provide any technical guidance you may require.

      Meanwhile, our constantly expanding list of modules compatible with WHMCS V8.0 has grown even bigger! Here come the ones that from now on will work seamlessly in the newly updated environment:
      Account Synchronization For WHMCS - v1.6.7 Cancellation Center For WHMCS - v1.0.3 DirectAdmin Extended For WHMCS - v3.4.2 Emoji Picker For WHMCS - v1.1.4 Freshdesk For WHMCS - v1.3.3 Geolocation Hook For WHMCS - v2.2.2 GoDaddy Domain Registrar For WHMCS - v3.3.6 G Suite For WHMCS - v1.3.3 Interspire Email Marketer For WHMCS - v1.0.9 ModulesGarden Widget For WHMCS - v1.1.3 (FREE!) MSPControl Extended For WHMCS - v1.0.9 MX Registrar For WHMCS - v1.5.10 NIC IT Registrar For WHMCS - v1.3.4 Plesk Key Administrator For WHMCS - v1.3.8 Premium Support Tickets For WHMCS - v1.2.5 R1Soft Backups For WHMCS - v1.1.6 Report Generator For WHMCS - v4.1.4 Server Allocator For WHMCS - v1.1.6 SolusVM Extended Cloud For WHMCS - v1.9.3 SolusVM Extended Reseller For WHMCS - v1.3.12 Zendesk For WHMCS - v2.2.3 Zimbra Email For WHMCS - v2.1.2
      Want more? See the rest of our already confirmed products!

      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      1. Hot off the press: Cancellation Center For WHMCS

      Modern companies are bound to adjust their software quality to the increasing customer expectations and think of ever new ways to improve the competitive edge. To cater for the unique needs of our clients, we are proud to announce that our family of WHMCS modules has just welcomed brand-new member: Cancellation Center For WHMCS!

      With this fully featured tool you will be granted the ability to collect targeted feedback by designing short questionnaires for your clients to complete before submitting a cancellation request. Choose among four different question types, combine them into groups that will be assigned to chosen products plus set up a personalized notification that your clients will see on top of your survey.

      No less convenient is the possibility for you to view graphic summary of all the latest cancellations or choose the product per which the statistics you wish to be displayed. Additionally, you will be granted the right to choose whether the “End of the billing period” option should be disabled until the time specified by you.

      We do understand, however, that not everyone likes to have everything handed to them on a silver platter so let us keep some of the other secret weapons of our brand-new module for you to discover!

      Follow up on all the ins-and-outs of our newest Cancellation Center For WHMCS!

      2. Among our other recently released modules, all fully compatible with WHMCS V7.8.3, you will find such spicy additions as:
      Domain Orders Extended For WHMCS - v3.4.1 Plesk Key Administrator For WHMCS - v1.3.2 QuickBooks Desktop For WHMCS - v1.3.0

      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By wp4all
      Hi @ all,
      is it possible to change / translate or replace the result of an Data Feed ?
      Why I'm asking is I would like to use the data feed to show the price on an external Page but I won't show the Prefix.
      <script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly"></script> In my little stupid world I would use :
      document.body.innerHTML = document.body.innerHTML.replace(/€/g, ' ');  which works already but this affects the entire page.

      Thanks and best regards
    • By Web Host Pro
      I added the status script for WHMCS just like every other server. But on my newest server it always shows a 404 error:
      I uploaded the script to the right location and ran: chown -R nobody:nobody /usr/local/apache/htdocs/status
      I checked and the permissions and ownership is correct.
      Any idea what it loads as a 404 when it's there?
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

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