Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While trying to register a domain using your project sample #1

Open
faheemsial opened this issue Mar 12, 2014 · 6 comments
Open

While trying to register a domain using your project sample #1

faheemsial opened this issue Mar 12, 2014 · 6 comments

Comments

@faheemsial
Copy link

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.
errorindomainregistration

@jwvdiermen
Copy link
Owner

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?

@faheemsial
Copy link
Author

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:

contactrequest

And the resulting error was as below:

contacterror

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.

@jwvdiermen
Copy link
Owner

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//issues/1#issuecomment-38135630
.

@faheemsial
Copy link
Author

. I tried following steps with no success:

  1. Register domain by providing all contacts type supported, but error was same.
  2. Registered domain without any contact and then setting owner contact only using setOwner() call of API, error was same.
  3. Registered domain without any contact and then setting all contacts all together using setContacts() call of API, error was same.

@faheemsial
Copy link
Author

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. :)

@jwvdiermen
Copy link
Owner

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//issues/1#issuecomment-38431055
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants