cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

DPM not working on the production domain.

I've been trying to get this code working for over two weeks. Everything worked perfectly on the Authorize.Net test domain (https://test.authorize.net/), but fails in production.

 

I added my response/receipt URL (https://secure.bjdesign.com/secure_html/test/process_order.php) to the account.

When I run a transaction, I get sent to the following URL, which is a 404. select_product.php is my page, but why is it referenced? It't not even added to as a response/receipt URL.

https://secure.authorize.net/gateway/select_product.php

Before I am redirected there, I get an error on the response/receipt page that says:

"Error: Not AuthorizeNet. Check your MD5 setting."

Again, my code works perfecty on the test URL:

https://secure.authorize.net/gateway/transact.dll

but fail on the production URL:

https://test.authorize.net/gateway/transact.dll

The code I am using comes directly from this page. I have edited the AuthorizeNetDPM.php code to accommodate my page formatting.

http://developer.authorize.net/integration/fifteenminutes/#directpost

Again, this works perfectly in your test domain, why doesn't it work in production?

mmcglynn
Member
2 REPLIES 2

Are you sure if you code it didn't redirect to select_product.php if an error occur? Just going to your https://secure.bjdesign.com/secure_html/test/process_order.php redirect it to select_product.php.

 

Did you get the MD5 setting error on the test URL? it the setting the same on the production?

RaynorC1emen7
Expert

When in doubt, make sure MD5 is turned on and you have a fresh key. I got the MD5 error on my sandbox account, so while I never did figure out why MD5 was turned on, generating a fresh hash and then implementing with that seemed to work. I'm assuming, of course, that you're passing the correct values properly on both ends (order page, relay response). Might be helpful if you posted your code for both pages, minus login ID, transaction key, and MD5 setting. Use a code box, fifth option from the left in Rich Text posting mode.

TJPride
Expert