namecheap api no secret

113 views
Skip to first unread message

Charles Steiner

unread,
Sep 4, 2016, 9:05:45 PM9/4/16
to DomainMOD Support
I'm having trouble importing though API with namecheap.  One thing about thing them is they do not provide a secret with their api.  I only filled in the key and left secret blank. The API app name I tried blank and with an input, namecheap does not ask for an app name.  User credentials filled out. 

BTW, I do have API with other services working. 

Charles Steiner

unread,
Sep 4, 2016, 10:13:48 PM9/4/16
to DomainMOD Support
If it's any help, this is from the error log, complete output from a manual run

[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined variable: demo_install in /var/www/domains/domain/public_html/dm/admin/scheduler/run.php on line 50, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined variable: search_for in /var/www/domains/domain/public_html/dm/_includes/layout/header.inc.php on line 223, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: s_domains_in_list_queue in /var/www/domains/domain/public_html/dm/_includes/layout/menu-main.inc.php on line 28, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: s_domains_in_queue in /var/www/domains/domain/public_html/dm/_includes/layout/menu-main.inc.php on line 28, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: s_message_success in /var/www/domains/domain/public_html/dm/_includes/layout/header.inc.php on line 269, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: s_message_danger in /var/www/domains/domain/public_html/dm/_includes/layout/header.inc.php on line 274, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined variable: row in /var/www/domains/domain/public_html/dm/admin/scheduler/index.php on line 77, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Trying to get property of non-object in /var/www/domains/domain/public_html/dm/admin/scheduler/index.php on line 77, referer: https://domain/dm/admin/scheduler/
[Mon Sep 05 02:07:16 2016] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Trying to get property of non-object in /var/www/domains/domain/public_html/dm/admin/scheduler/index.php on line 78, referer: https://domain/dm/admin/scheduler/

Greg Chetcuti

unread,
Sep 4, 2016, 11:47:21 PM9/4/16
to DomainMOD Support
Have you whitelisted your connecting IP address with Namecheap? Namecheap won't let you use their API until you've given them your IP address (the IP address that DomainMOD will be connecting from).


Charles Steiner

unread,
Sep 6, 2016, 6:27:13 PM9/6/16
to DomainMOD Support
Yeah, I whitelisted the four IPs I have for the server.

Charles Steiner

unread,
Sep 7, 2016, 6:17:51 PM9/7/16
to DomainMOD Support
Could it be the PTR? Is it necessary?
Message has been deleted

Charles Steiner

unread,
Sep 15, 2016, 2:46:09 PM9/15/16
to DomainMOD Support
I can give you access to it if you want to take a look.  I have a few namecheap accounts.  One only has a single domain, so I don't have much security concern. I can't give access to the server, though.


On Sunday, September 4, 2016 at 10:47:21 PM UTC-5, Greg Chetcuti wrote:

Greg Chetcuti

unread,
Oct 27, 2016, 12:30:39 AM10/27/16
to DomainMOD Support
Sure, if you can give me access to one of your Namecheap accounts I'll see if I can get it working on my end. You can send the details to sup...@domainmod.org.

A couple things though...

1) Although Namecheap doesn't require an API secret, it does require the username for the Namecheap account (in addition to the API key and whitelisted IP). Please ensure that you have the username entered correctly on your registrar account asset.

2) Can you also supply me with your DomainMOD System Information (after you login with an administrator account go to Administration -> System Information). This will ensure that I'm using the same software version as you are for the Namecheap testing.
Reply all
Reply to author
Forward
0 new messages