How do I pass additional fields to the domain registrar?

Started by josh, January 29, 2017, 04:58:25 AM

josh

I'm trying to sell .CN domains under ResellerClub which require additional acceptance.

I've created separate form fields:
1. Variable name: cnhosting, Values passed to app: true/<tried both false and "">
2. Variable name: cnhostingclause, Values passed to app: yes

I'm still getting the error "Module (ResellerClub): Please Agree to the Cn Hosting Agreement"

I've looked at the manual registration page and this is what they require:

Additional Details for .CN Domains
Is the domain hosted in China?* (radio) Yes     No
Organisation verification Id (code)*
(checkbox if No) I confirm that I will not be hosting my domain name(s) on servers in Mainland China. I accept full responsibility for any consequences caused by the violation of the commitment.
(checkbox if Yes) I confirm that I will submit the ICP MIIT no. for .CN domain name(s), if they are being hosted on servers in Mainland China. I accept full responsibility for any consequences caused by the violation of the commitment.

According to the help documentation here:
http://manage.resellerclub.com/kb/answer/752

To register a .CN domain name:
If the Registrant plans on hosting the domain name in China, he/she needs to ensure that he/she has a valid MIIT ICP Number and include the below parameters:
cnhosting: This parameter indicates that the domain name will be hosted in China. The value needs to be passed as true.
attr-name1=cnhosting&attr-value1=true
cnhostingclause: Through this parameter, the Registrant agrees to the terms and conditions for hosting the domain name in China. The value needs to be passed as yes.
attr-name2=cnhostingclause&attr-value2=yes

Sample test registration URL:
https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.cn&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=cnhosting&attr-value1=true&attr-name2=cnhostingclause&attr-value2=yes

d4f

Unfortunately I haven't figured that one out either. Adding further parameters doesn't work as described for Resellerclub and Netim and fails on some domain extensions (e.g. .fr) on InternetX too.
So far I've opened at least 3 distinct bug reports relating to these issues, no reply and no fix.

If anyone figured out how to do it, I would be very interested to hear it too.

josh


d4f

Nothing worked anyway, so I won't go into details due .. technical reasons.
I'm currently trying to investigate (in some spare time I can muster) whether I can create a second PHP class , extend the original one and override the broken functions.
It would be so much easier if I had the source code.... but he keeps rejecting that proposal  :-\

Half my registrations for non-generic domains that are not handled by my own registrar service are not working regardless of which of my hostbill-supported suppliers I try...