Reply
Highlighted
Member
Posts: 6
Registered: ‎03-20-2012
Accepted Solution

DPM PHP Processing times out

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.



Accepted Solutions
Highlighted
Solution
Accepted by topic author Hunterjoe
‎08-21-2015 01:58 AM
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

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.

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: DPM PHP Processing times out

on http://www.mlslistpro.com/dev/useradmin/packages.php?response_code=1&transaction_id=2170033296&amoun...

 

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

Highlighted
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

right, you will have to go through registration process first. I have to create the noaccess.php file... i'll do that now.

 

Sorry.

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: DPM PHP Processing times out

[ Edited ]

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

http://www.mlslistpro.com/dev/easy_pay.php

Highlighted
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

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?

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: DPM PHP Processing times out

You can pass any merchant defined field to https://test.authorize.net/gateway/transact.dll and it will relay it back.

Highlighted
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

as a hidden field correct? and what about for production use will it work there as well?

Highlighted
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

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.

Highlighted
Solution
Accepted by topic author Hunterjoe
‎08-21-2015 01:58 AM
Member
Posts: 6
Registered: ‎03-20-2012

Re: DPM PHP Processing times out

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.