Results 1 to 22 of 22

Thread: Enom API

  1. #1
    Join Date
    Mar 2001
    Location
    Brookfield, WI
    Posts
    214

    Enom API

    Does anyone out here have a script or some instructions in setting up the credit card processing in the Enom API for PHP.

    I have the script running just need to no how to add the lines or script to it to get it to work.

    Richard

  2. #2
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    hoster,

    I think it would depend on who you are using to process your CC's.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  3. #3
    Join Date
    Mar 2001
    Location
    Brookfield, WI
    Posts
    214
    Frank can you explain that for me?

    Richard

  4. #4
    Join Date
    Jun 2002
    Location
    Cape Coral Florida, U.S.A
    Posts
    22
    hoster,

    Just because the script is running doesn't mean it will work.

    I have been trying to get support from enom about their
    php script for nearly a week now.

    Have you setup a test site, added test funds, added your IP,
    edited your scripts, and actually tried a test domain registration ?

    I keep getting this error, and I have it setup exactly as specified.

    We're sorry, there was an error registering
    the domain name asdsf.com.
    The error was "Invalid client IP"

  5. #5
    Join Date
    Mar 2001
    Location
    Brookfield, WI
    Posts
    214
    No I am not as far as you are with it yet, just working on it.
    There support sucks I wrote them 2 days ago and had a question about the service and still nothing.

  6. #6
    Join Date
    Jun 2002
    Location
    Cape Coral Florida, U.S.A
    Posts
    22
    I've gotten plenty of responses, the problem is none of
    their responses provide any information about why
    my tests are not working, which is very frustrating.

    Their support guy 'billy' has been absolutely useless thus far.

    Today, I asked them if they had any other techs besides billy,
    because it seems he is not even reading the details of
    my problem before replying.

  7. #7
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    Yep, I have to agree that support on the API is not the greatest, but if you keep at them, you will get a response.

    hoster,

    I sent you a PM about the cc processing.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  8. #8
    Isn't PDQ suitable for you?

    Frank would you please suggest the CC solution to me too?

    Mac

  9. #9
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    Mac,

    I'm not really sure what you're talking about by a "cc solution". Do you mean suggestions for cc processors or how to perform the cc transaction within the eNom API?

    If it's the later, you prob. won't be using the eNom api for that. Just before you actually register the domain name, you would want to submit the charge to your cc processor. After you get a valid ack. back from the cc processor, you'd finish up registering the domain with eNom.

    Is that what you're looking for?

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  10. #10
    Frank,

    Thank you for your description. In fact I am looking for a cheap CC processore (with maximum possible fraud checking to avoid charge backs eat all profit).

    Thank you very much (both for your replies and for phpBB )

    Mac

  11. #11
    Originally posted by Internet8000


    I keep getting this error, and I have it setup exactly as specified.

    We're sorry, there was an error registering
    the domain name asdsf.com.
    The error was "Invalid client IP"
    If you are in resellertest.enom.com mode you need to set up your IP under the reseller account at enom. If you have any more toruble let me know and we can take a look at it for you.
    http://www.easypsa.com

  12. #12
    Join Date
    Jun 2002
    Location
    Cape Coral Florida, U.S.A
    Posts
    22
    You do mean the test account setup, correct ? ::

    Choose one of the following actions to perform on our Test Interface web server http://resellertest.enom.com:

    » Setup your account on the testing server

    » Reset your account balance in the test environment to $5000

    » Add/Edit/Delete IP addresses that are allowed to access your account on the test server

    I have gone through these, and edited the appropriate files
    using both the perl and php api's and both tell me the
    same error message when i try a test register

    This is where i am with enom :

    Comments: I am trying to setup the php version of domain registration on my
    web site, in TEST mode.

    I keep getting this error when I click the register button :

    We're sorry, there was an error registering
    the domain name asdsf.com.
    The error was "Invalid client IP"

    This is the third time I have contacted enom about
    this problem, and have yet to receive any helpful
    information whatsoever.

    I have followed the instructions on setting up the
    test account exactly. I followed the steps to create
    a test account, add test money, and add my sites IP addres on your site.

    I then added my login/password
    to default.php, and I have added my sites IP to
    enominterface_inc.php

    If you have any support staff other than 'billy'
    please forward this to them, billy has provided absolutely zero information
    regarding this problem.

    It seems as though he replies without even reading my problem. I clearly
    state I am trying to utilize the
    test site, and he is talking about sending him
    my information for going live!!

    I cannot go live until AFTER I TEST my payment process.

    I know I cannot be the first person to encounter this
    error message, can any of enom's techs provide a
    solution, or am I simply wasting my time here ?

    (as anyone could tell i'm a little frustrated )

    This is the response (from none other than billy)

    Thank you so much for your valid input. I have sent your issue to my
    Development staff for the API and as soon as I get anything back from them I
    will be sure to contact you with whatever information they give me beyond
    what I have already sent you.

    Once again, your coments are appreciated.

    Billy Knott
    Technical Support Manager
    eNom Inc.
    A Fully Accredited ICANN Registrar

    (I didn't know he was the TS manager, were all doomed!!)
    Last edited by Internet8000; 08-15-2002 at 01:10 PM.

  13. #13
    Join Date
    Jun 2002
    Location
    Cape Coral Florida, U.S.A
    Posts
    22
    Ok,

    I finally figured out how to get registration working.

    When setting up a test site at enom, I had to not only
    add the ip of the site i am using for customers to register domains,
    I also had to add the ip of the server the site resides on.

    Now I have an entirely new problem, unfortunately

    After registering your supposted to be sent to the Success.php
    page, and I am getting this error :

    Warning: Cannot add header information - headers already sent
    by (output started at /home/virtual/site21/fst/var/www/html/domain/EnomInterface_inc.php:174) in
    /home/virtual/site21/fst/var/www/html/domain/register.php on line 191

  14. #14
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    Jay,

    That just means that some output was already sent when PHP tried to add some header information (cookies etc.).

    Check the file EnomInterface_inc.php at line 174. Usually what the problem is is that there is a blank line(s) or extra spaces after the ?> The ?> must be the last 2 characters in the file.

    Feel free to IM me if you need help.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  15. #15
    Join Date
    Jun 2002
    Location
    Cape Coral Florida, U.S.A
    Posts
    22
    Frank,

    Hey, Thanks so much! Spaces at the end of enominterface_inc
    was exactly the problem. Working like a charm now.

    One step closer to going live. Now I need to figure out how
    to set the branding of confirmation emails. The first domain I registered under my reseller account sent me an email
    with the brand of the business I got the account from,
    rather than my business name.


    Thank You!

  16. #16
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    Jay,

    Good luck with that one. I don't think you'll be able to fix that until eNom fixes their system.

    My company is FLFSoft, Inc. My reseller account is setup as FLFSoft, Inc (so the commission checks etc. come with that name). My site (PDQ for now) is setup as DomainMaze.com (i.e. FLFSoft, Inc. DBA DomainMaze.com.

    All the emails etc. come up with the FLFSoft name and not DomainMaze.com. That is very confusing to customers.

    The spaces after ?> is no biggie. I've helped people with that about a million times on phpbb.com .

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  17. #17
    Hello

    1- I have setup PHP code without problem and registered a domain on test mode.

    Now I need to know how can I setup CC processing.

    They have just added some lines there stating that "this is where you must do ...".

    But how can I send the user to CC processore website (paysystems in my case) and return to the rmaining parts of the code?

    Is there any sample code for using Enom's own CC processore with PHP code.

    2- By the way I do not like account creation method of the PHP code. It creates a password for every single domain. Isn't it possible to change the code to create a retail account and use it for further registrartions? Have anyone did this?

    I am not interested in their PDQ as they have not even bothered themseleves to use Http headers to specify resellers. They have just used a Cloaking page with a Query string (what a mess!).

    Customers can see pdq links on browser status bar when moving over them.

    What is your opinion?

    Frank, do you like it (your domainmaze uses it as I know).

    Mac

  18. #18
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    Mac,

    PDQ works well enough for us for now. I primarly work with a group of designers who register domains for their customers. They just want good priced domains with a resonable interface. They really don't care that it's my eNom lightly cloaked in my site.

    I'm assuming that you are working off of the sample code (that is registry rocket). There really are no good samples of doing the API the way you want (and I want to do that also).

    For now, this is eNom's weak point. The API is not documented well and there is little or no sample code. With openSRS there are numerous vendors who can help you get up and running very quickly.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  19. #19
    Frank,

    Thank you for your help. I am going to dig PHP sample code to see if I am able to customize it.

    I also want to create a custom site which I can give bulk paid registration accounts to my hosting service resellers. In this way I will give them 10 prepaid domain registrations and they will be able to use their credit whenever they want.

    I think it should not be very difficult.

    I will add a reseller login page, then create a session variable containing reseller ID, then whenever he reaches credit card check I will deduct a credit from his account.

    I am planning to use MySQL database for reseller information.

    Would you please tell me your opinion about the plan. I will go and start programming. I think I should be able to do it quickly.


    Mac

  20. #20
    Join Date
    May 2002
    Posts
    431
    I like your idea Mac, was thinking of something similar myself. Let us know how it works out
    Jordan Bouvier

  21. #21
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,259
    BTW, eNom released much improved API documentation. Go into your account under reseller/api.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  22. #22
    Join Date
    Mar 2002
    Posts
    154
    Hi,

    I'm dusting off this old thread because I'm having the same issue with the ENOM API. I keep getting the

    "We're sorry, there was an error registering the domain name happyhappy.com

    The error was "Invalid client IP: 66.12.10.5"

    Here is what I've done so far:

    1. Installed the Enom PHP Script

    2. used resellertest.enom.com as $host
    and
    user:resellid
    password:resellpw

    3. Setup the Test Account at enom.com by doing:
    a. clicked the test account
    b. clicked "Setup your account on the testing server"
    c. clicked "Reset your account balance in the test environment to $5000"
    d. clicked "Add/Edit/Delete IP addresses that are allowed to access your account on the test server"

    And added the IP of my server, my internet address...and any other IP I could think of.

    I still get the message: "Invalid Client IP..."


    Thanks for any help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •