News:

Looking for documentation? Take a look on our wiki

Main Menu

Module called authorized.net translator

Started by buildakicker, October 20, 2008, 19:36:44 PM

Previous topic - Next topic

buildakicker

Hello,

I have been working on a website that is wanting to use credit cards online now. They have a service called SecurePay that they use for phone orders... SecurePay said they need a Module Called Authorized.Net Translator. Can I just check the Authorize.net radio button in the VM setup area and put in their info and it will be  go? Or do I need to do somethin else?

Thanks for the help.

buildakicker

I figured it out and here is how to modify ps_authorize to work with securepay in the US. All I did is replace line 383 from this:

https://$host:443/gateway/transact.dll

to this:

https://www.securepay.com/AuthSpayAdapter/process.aspx

However, now I am getting an error that says not added to database after the CC purchase is made. Any clues?

lseibert

This did not work for my customer.  They have a securepay account but we get this error when trying to check out:
Error: 2--2-E---This transaction has been declined.
Error: Failure in Processing the Payment (ps_authorize)

Any ideas?  Thanks.

sylviarose

I got these instructions right from SeceurePay.
---------------------------

First, in the file ps_authorize.php replace lines 304-310:



                        if(AN_TEST_REQUEST=='TRUE') {

                                    $host = 'test.authorize.net';

                        } else  {

                                    $host = 'secure.authorize.net';

                        }

                        $port = 443;

                        $path = "/gateway/transact.dll";



With this:



                        if(AN_TEST_REQUEST=='TRUE') {

                                    $host = '';

                        } else  {

                                    $host = 'www.securepay.com';

                        }

                        $port = 443;

                        $path = "/AuthSpayAdapter/process.aspx";





Next, in the same file replace lines 549-555:



                        if(AN_TEST_REQUEST=='TRUE') {

                                    $host = 'test.authorize.net';

                        } else  {

                                    $host = 'secure.authorize.net';

                        }

                        $port = 443;

                        $path = "/gateway/transact.dll";

With this:



                        if(AN_TEST_REQUEST=='TRUE') {

                                    $host = '';

                        } else  {

                                    $host = 'www.securepay.com';

                        }

                        $port = 443;

                        $path = "/AuthSpayAdapter/process.aspx";