Author Topic: Domain EPP/Auth code problem  (Read 125 times)

dension

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • SilverHost - Nemzetközi hoszting
    • View Profile
    • SilverHost
Domain EPP/Auth code problem
« on: June 25, 2021, 06:35:15 PM »
BillingFox version: 9.97

When your clients want to transfer special domain TLD for example .hu wich has no EPP/Auth code they can not make domain transfer order.

Temporarly solution:

Open to edit: /content/client_areas/BF_default/transfer_domain.php

Find:
Code: [Select]
<input type="text" class="form-control" placeholder="<?php echo $_LANG['client_area']['epp_domain_transfer']; ?>" name="domain_to_transfer_key" aria-label="<?php echo $_LANG['client_area']['epp_domain_transfer']; ?>" aria-describedby="basic-addon2">

Replace with:
Code: [Select]
<?php 
  $tldexpections = array('.hu');
  if ( str_replace($tldexpections''$_SESSION['transfer_extension']) !== $_SESSION['transfer_extension'] ) {  ?>

<input type="hidden" name="domain_to_transfer_key" value="llllllllllll">
  <?php } else { ?>
<input type="text" class="form-control" placeholder="<?php echo $_LANG['client_area']['epp_domain_transfer']; ?>" name="domain_to_transfer_key" aria-label="<?php echo $_LANG['client_area']['epp_domain_transfer']; ?>" aria-describedby="basic-addon2">
  <?php ?>

If you want to add more TLD's just put it in the $tldexpections array. Example: $tldexpections = array('.hu', '.dfg');

The code verifies that the specified TLDs are included anywhere in this domain TLD to be transfer. Therefore, it is not necessary to specify the .2000.hu TLD as an exception, as the term containing the .hu will be an exception.

That's all. I hope this will be fixed in the new version. I suggest for developers, the admin can able to turn off and turn on EPP/Auth checking at every domain.
« Last Edit: June 25, 2021, 06:37:26 PM by dension »
Sose volt még ilyen egyszerű tárhelyet bérelni.

Administrator

  • Administrator
  • Newbie
  • *****
  • Posts: 9
  • Karma: +0/-0
  • The administrator of BillingFox.net.
    • View Profile
    • BillingFox
Re: Domain EPP/Auth code problem
« Reply #1 on: July 13, 2021, 10:33:34 AM »
Hello Dension, thanks for your report.
We pushed a new update into the current beta version to keep this fix in the next versions.