Ok, i have searched these forums high and low, tried everything recommended by the wonderful ppl here, but I am still not getting anywhere.
If someone could please help out here, this is the final step in the development process that i need to complete before I can move on with this project. The project is located here: http://www.mlslistpro.com/dev/index.php (feel free to register and verify, then login and click on "Add Listing").
I am using a script I got from here: http://www.robertswebforge.com/easy_pay/index.php to process the transaction. The script is quick and clean and works perfectly fine when accessed from this url: http://www.mlslistpro.com/dev/easy_pay.php.
When i place the script in my own page with the html markup, it again works fine, until it gets to the relay response part, then I get the script timed out error:
An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card. This transaction has been approved. It is advisable for you to contact the merchant to verify that you will receive the product or service.
I have checked the headers: 200 OK
I can pull up the page directly with this url: http://www.mlslistpro.com/dev/useradmin/packages.php?response_code=1&transaction_id=2170033296&amoun... and it works fine.
I know that Authnet is set to time out after more than 10 seconds, but it acts like it is timing out immediately and not waiting at all.
Thanks in advance for any and all assitance.
Joe.
Solved! Go to Solution.
03-20-2012 08:30 AM
Well, it just magically started working. Uncommented the Atuhorization code so you have to be logged in to view the page, and it works just fine now.
I didn't add anything... I didn't delete anything... I didn't do anything... it just started working.
03-20-2012 11:26 AM
I'm getting
http://www.mlslistpro.com/dev/useradmin/noaccess.php?accesscheck=%2Fdev%2Fuseradmin%2Fpackages.php
Not Found
The requested URL /dev/useradmin/noaccess.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mlslistpro.com Port 80
03-20-2012 08:49 AM
right, you will have to go through registration process first. I have to create the noaccess.php file... i'll do that now.
Sorry.
03-20-2012 09:08 AM
How is the authorize.net relay response get access? They don't register to your site.
I see that on
http://www.mlslistpro.com/dev/easy_pay.php
you are setting the x_relay_url to itself
03-20-2012 09:18 AM - edited 03-20-2012 09:32 AM
hmmmm... good point.... is there a way i can create a registered user for authnet and passin the required credentials and have them pass it back?
03-20-2012 09:24 AM
You can pass any merchant defined field to https://test.authorize.net/gateway/transact.dll and it will relay it back.
03-20-2012 09:33 AM
as a hidden field correct? and what about for production use will it work there as well?
03-20-2012 09:54 AM
ok so i disabled the need to be logged in to acces the packages.php page, and i stil get the same time out error.
03-20-2012 10:48 AM
Well, it just magically started working. Uncommented the Atuhorization code so you have to be logged in to view the page, and it works just fine now.
I didn't add anything... I didn't delete anything... I didn't do anything... it just started working.
03-20-2012 11:26 AM