Open faheemsial opened 10 years ago
Looks like I needed to set some default values using a default constructor in the Domain DTO. I've changed this and pushed an update.
Can you confirm it works now?
Sorry for late response as my setup was crashed and needs to re-install things. I tried this updated code and this time it was success to register domain. But i am having issues while trying to setOwner contact. My request parameters were:
And the resulting error was as below:
I also tried by providing (CompanyName/CompanyType/CompanyNumber) but no success. I provided valid sample parameters from here: https://api.transip.nl/docs/transip.nl/class-Transip_WhoisContact.html
Please advise. And thanks again for your help. Its really appreciated.
I think you should put these WHOIS contacts directly in the "Register" method call instead of calling them after. The "SetOwner" and "SetContacts" methods are for existing domains. Can you confirm you get the exception on line 202?
On Thu, Mar 20, 2014 at 6:07 AM, Faheem Akbar Sial <notifications@github.com
wrote:
Sorry for late response as my setup was crashed and needs to re-install things. I tried this updated code and this time it was success to register domain. But i am having issues while trying to setOwner contact. My request parameters were:
[image: contactrequest]https://f.cloud.github.com/assets/6929736/2469073/40c4a870-afed-11e3-80b6-fbc0a237121f.png
And the resulting error was as below:
[image: contacterror]https://f.cloud.github.com/assets/6929736/2469075/52726c9c-afed-11e3-8b3d-c52f82829274.png
I also tried by providing (CompanyName/CompanyType/CompanyNumber) but no success. I provided valid sample parameters from here: https://api.transip.nl/docs/transip.nl/class-Transip_WhoisContact.html
Please advise. And thanks again for your help. Its really appreciated.
Reply to this email directly or view it on GitHubhttps://github.com/jwvdiermen/TransIP-API/issues/1#issuecomment-38135630 .
. I tried following steps with no success:
got a tip from TransIP directly that i should try all parameters in small case alphabets and it was success. Specially WhoIsContactTypes (registrant/admin/tech) these all should be passed in small case letters and this thing worked fine for me ... strange. :)
Great to hear you got it working. I'll look into extending the code to include some validation of sorts, but I'm currently very short on time.
If you have any other problems, let me know.
On Mon, Mar 24, 2014 at 11:52 AM, Faheem Akbar Sial < notifications@github.com> wrote:
got a tip from TransIP directly that i should try all parameters in small case alphabets and it was success. Specially WhoIsContactTypes (registrant/admin/tech) these all should be passed in small case letters and this thing worked fine for me ... strange. :)
Reply to this email directly or view it on GitHubhttps://github.com/jwvdiermen/TransIP-API/issues/1#issuecomment-38431055 .
WhoIs etc is successfull but While trying to register a domain using your project sample i am getting following error:
Error: transIP API Invalid API signature, signature does not match the request. (timestamp
Please advise and tell if you need any further details.