Correction. Instead of 40 read 70.

In short, when creating a domain the renewal price is deduced also from the credit.

Mario


El 21/07/2017 a las 14:24, Mario Guerra escribió:

Este remitente no superó nuestras comprobaciones de detección de fraude y es posible que no sea quien parece ser. Obtenga información acerca de la suplantación de identidad.
Comentarios

Hello.

We've tested applying credits to registrars using FRED. Now, I want to make a  question of how the deductions are made.

Say, I decide to have 40 monetary units for domain creation and 10 for domain update for renewing my domain, this way.


fred-admin --price_add --operation_price 40.00 --zone_fqdn dom --operation CreateDomain

fred-admin --price_add --operation_price 10.00 --zone_fqdn dom --operation RenewDomain


and assign 140 monetary units to their credit, this way


fred-admin --invoice_credit --zone_id 1 --registrar_id 6 --price 140


The zone numbered 1 is "dom" .

When I create a domain like this:

create_domain testmg6.dom mf02 NULL NULL NULL (1 y)

What is deducted from the credit is 80 monetary units, not 70, so what is left is 60.

Is that correct?. If it is, how to apply ONLY the renewal price when you renew the domain, not when you create it?.

Best regards.

Mario Guerra

NIC-CR




_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users