Jump to content

Walther

Member
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Walther

  • Rank
    Junior Member
  1. You got it!!!!! Thanks! (But why WHMCS configuration parameters are randomly scattered around?!?!?!?! 😮 )
  2. The issue, AFAIK, there's on any WHMCS version: in client area, in /index.php?rp=/account/paymentmethods/xxx a "delete" button does not exist, so the user is simply not able to delete a recorded credit card... (I've tested both 7.10.2 and 8.0.4 ... same issue on both version)
  3. Using Stripe (or any other token-based gateway), few data of client's credit card are recorded (last 4 numbers, expire date) The user can edit this data, but is not able to delete it (only in admin area it's possible to delete it... so the user should open a ticket, asking for deleting these data, and admin should delete it manually... time consuming and annoying) An API to delete a recorded credit card does exist: DeletePayMethod ( https://developers.whmcs.com/api-reference/deletepaymethod/ ) So, a fix should be: add a button "Delete" in client area in /index.php/account/paymentmethods/1234 this button calls the DeletePaymethod API My issue: how to insert such a button in this page?!?!?! please help!
  4. Nope, a dispute is not necessary. Registrant just needs to prove his identity to Registrar, and the Registrar is required to give him some way to manage his domain. Every TLD and every Registry have his own rules, but check i.e. ICANN rules about common gTLD: ruled obligations are between registrar and registrant, the reseller may stay in the middle, but if he disappears registrar and registrant have direct intercourse. I.e. about Publicdomainregistry (Directi): registrant just need to go to this page: https://publicdomainregistry.com/compliance/ and compile the form to get in touch with Registrar and get the control of his domain. And EVERY Registrar on this planet have some kind of procedure like this.
  5. In /assets/img/tld_logos there're a lot of .png files with various TLD logos. To use them in different pages (also outside of WHMCS), I would like to make them accessible by a different, shorter and easier to remeber URL, such as /tld_logos/ So I tried to insert in .htaccess following command: Options +FollowSymLinks RewriteEngine On RewriteRule ^tld_logos/(.*)$ https://mywhmcsdomain.com/assets/img/tld_logos/$1 [R=301,L] but it doesn't work, and trying to access (i.e.) mywhmcsdomain/tldlogos/blog.png I'm getting just a 404 error ... 😞 In .htaccess there're just the "standard" WHMCS commands: ### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### <IfModule mod_rewrite.c> RewriteEngine on # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### What am I doing wrong?
  6. So, no ready solution "off the shelf" is available from WHMCS, and the function requires to be implemented by custom code... 🙄
  7. There's a number of TLD that, when transferred, do not renew (as it happens, instead, with .com domain). I.e. .co.uk domains: when you transfer a .co.uk, the expiring date remain the same. But in WHMCS there's an issue about this; and, having met with very same issue with a number of different registrar module, I guess that it's a WHMCS issue, and not a registrar's module issue. Follow me: 1/5/21: user issue a domain transfer order for a example.co.uk; current expiring date is 1/7/21 user pays nothing: .co.uk domain transfer is free of charge WHMCS issue an invoice, "Domain Transfer - example.co.uk - 1 Year/s (01/05/2021 - 01/05/2022) - € 0.00" 2/5/21: transfer is completed; expiring date is 1/7/21, "next due date" is 01/05/2022 So, AFAIK just two ways to manage this: if you set transfer price to zero, you'll need to explain to the user that the invoice is wrong if you decide to include a one year renewal with domain transfer, when transfer is complete you'll need to process a domain renewal manually Both of them are misleading and definitely a mess... Am I missing something about this, or maybe there's any trick I don't know? How do you manage this issue?
  8. Hello. I'm not fully satisfied with performance of my WHMCS install, and I guess it can be optimized working on Apache configuration... So I googled around about tricks and best pratctices about Apache configuration for WHMCS, but found almost nothing: just this: https://docs.whmcs.com/System_Environment_Guide#Web_Server ... So here I'm to ask: about Apache environment, are the default values the better for WHMCS? Or there's some environment variable that can be better set to a different value? Any idea or experience about this?
  9. As for title: does exist any way to force a user to use just and only a certain payment Gateway, and no other? I.e.: there're few users that we want to force to pay only using wire transfer, and not using credit card or paypal: does exist any way to doit?
  10. What is crazy and misleading is that in the very same array you can find values as normal string (register, renew, transfer), and just redemption fee is in form of "Price Object"... Apart from this, thank you for your precious support!
  11. Hello. The API GetTLDPricing ( https://developers.whmcs.com/api-reference/gettldpricing/ ) gives as response an array with all available prices for every available extension domain; and this array may be available in Smarty, getting in Smarty something like: $tldpricing2 Origin: "Smarty object" Value Array (3) result => "success" currency => Array (6) id => "1" code => "USD" prefix => "$" suffix => " USD" format => "1" rate => "1.00000" pricing => Array (13) com => Array (8) categories => Array (2) 0 => "gTLD" 1 => "Popular" addons => Array (3) dns => false email => false idprotect => false group => "" register => Array (1) 1 => "14.95" transfer => Array (1) 1 => "14.95" renew => Array (1) 1 => "14.95" grace_period => Array (2) days => 30 price => WHMCS\View\Formatter\Price Object (0) redemption_period => null net => Array (8) categories => Array (2) 0 => "gTLD" 1 => "Popular" addons => Array (3) dns => false email => false idprotect => false group => "" register => Array (1) 1 => "14.95" transfer => Array (1) 1 => "14.95" renew => Array (1) 1 => "14.95" grace_period => Array (2) days => 30 price => WHMCS\View\Formatter\Price Object (0) redemption_period => null I have two different issues about this... 1 - what's the right syntax to recover, i.e., the registration price for a certain domain? I tried almost every possible syntax (but obviously missed the right one...) I defined the the extension using {$tld2=$tld|ltrim:'.'} and it works, so i.e. $tld2 gives "net" ... But if I try $tldpricing2[pricing][$tld2] [register][1] , or using -> , or any other possible PHP/smarty syntax, I'm getting garbage instead of the desired value... 😕 So, what's the right Smarty syntax to recover that value? 2 - about grace period renewal...WTF is " WHMCS\View\Formatter\Price Object (0) " ?! Why is it now given as any other price for registration, transfer or renew? And how can I convert it into a number (hopely, the right one) ?
×
×
  • 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