mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-19 15:53:53 +02:00
Preparation for prices per registrar
This commit is contained in:
parent
0799781491
commit
76f8c52f3a
8 changed files with 13 additions and 13 deletions
|
@ -117,7 +117,7 @@ function processHostCheck($conn, $db, $xml, $trans) {
|
|||
sendEppResponse($conn, $xml);
|
||||
}
|
||||
|
||||
function processDomainCheck($conn, $db, $xml, $trans) {
|
||||
function processDomainCheck($conn, $db, $xml, $trans, $clid) {
|
||||
$domains = $xml->command->check->children('urn:ietf:params:xml:ns:domain-1.0')->check->name;
|
||||
$clTRID = (string) $xml->command->clTRID;
|
||||
|
||||
|
@ -374,7 +374,7 @@ function processDomainCheck($conn, $db, $xml, $trans) {
|
|||
$tld_id = $result['id'];
|
||||
|
||||
// Calculate or retrieve fee for this command
|
||||
$returnValue = getDomainPrice($db, $domainName, $tld_id, $date_add, $commandName);
|
||||
$returnValue = getDomainPrice($db, $domainName, $tld_id, $date_add, $commandName, $clid);
|
||||
$price = $returnValue['price'];
|
||||
|
||||
$sth = $db->prepare("SELECT price FROM domain_restore_price WHERE tldid = ? LIMIT 1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue