Forums / Addon Payment Modules / Moneris approved and declined URLs

Moneris approved and declined URLs

Locked

Views: 11,826

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
3 Mar 2010, 3:01 AM
#21
cwhittaker avatar

cwhittaker

New Zenner

Join Date:
Jan 2010
Posts:
28
Plugin Contributions:
0

Moneris approved and declined URLs

THANK YOU, THANK YOU, THANK YOU,THANK YOU!!! I've spent all day trying to resolve this issue...you are an angel.:clap:

cooperwd:

I can't find any way to get in touch with the plugin author, so I'll sum up here:

If your zen cart installation uses database table prefixes, step #3 of the readme should read:

// Moneris Orders Table
define('TABLE_MONERIS_ORDERIDS', DB_PREFIX . 'moneris_orderids');

Step #4 should read:

Add line "define('DIR_WS_MONERIS', DIR_WS_INCLUDES . 'moneris/');" into /includes/configure.php.

**References to "catalog/" in the readme
**
Lastly, any reference to "catalog/" in the readme should be interpreted as "the root folder of your zen cart installation" (in my case, public_html/)

3 Mar 2010, 3:11 AM
#22
cwhittaker avatar

cwhittaker

New Zenner

Join Date:
Jan 2010
Posts:
28
Plugin Contributions:
0

Re: Moneris approved and declined URLs

Hi Everyone,

I have found a posted solution to the Monaris problem and fortunately for me there are really smart people in this forum. Greg started me off as he had the same issue and it pointed toward the problem monaris URL's which lead me to searching more in-depth and lead me to this post:

The great guy who figured this out used the readme.txt that came with the Moneris module so you'll need to open it and follow his fixes below to get it to work.

If your zen cart installation uses database table prefixes as most do, step #3 of the readme should read:

// Moneris Orders Table
define('TABLE_MONERIS_ORDERIDS', DB_PREFIX . 'moneris_orderids');

Simple no space problem after (DIR_WS_INCLUDES.) in the configuration.php file to fix so Step #4 should read:

Add line "define('DIR_WS_MONERIS', DIR_WS_INCLUDES . 'moneris/');" into /includes/configure.php.

Note: Any references to "catalog/" in the readme in the readme should be interpreted as "the root folder of your zen cart installation" (in my case, public_html/)

HUGE THANK YOU TO THIS SMART GUY!!!!:clap:

I am using a fresh install of Zen 1.3.8 with the Moneris module version 1.24 found here:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=666

The issue I am having is remarkably similar to this one:

http://www.zen-cart.com/forum/showthread.php?t=105704&highlight=moneris

though that thread died before an actual solution was found. So, I think I will start another thread, give information on the steps I have followed, hopefully get some help, and find a solution for all the other Canadian companies that are trying to find a payment processor!!

I installed Zen cart, made some changes, and put it through a battery of tests. Everything worked perfectly, so I started trying to install/configure the Moneris module cited above.

While I was setting up the Moneris Module, I got stuck at this step (quoted from the module's 'readme.txt' file.

"7. Log into the eSelectPlus Merchant Resource Center and create a DirectPost configuration (Admin – DirectPost Config).
Please select the “POST” response method and set the Approved and Declined URL’s to your “/index.php?main_page=checkout_process.php” file location. Select “no” for all
other options."

That URL would not validate in Moneris' backend (404 not found). So, I did some reading on here and changed the URL to:

https://mysite.com/index.php?main_page=checkout_process

The URL worked, but that is when things started getting dodgy. When I put a failed transaction through, I am redirected to 'Step 2 of 3 - Payment Information'. The error message appears in the URL, but nowhere on screen. Not a big problem, hey?

But hold on, it gets worse - when I put a successful transaction through, the transaction times out.

Now, if I change the URL above to the actual success page URL, everything works perfectly on Moneris' backend (ie - I get an email with the perfect message/response code, but the order neither shows up in Zen's backend, nor do I get an actual order number on the success page.

Sorry for that long description....

My questions are:

(1) Would anyone like to volunteer to do my job for a little while? If so, I'll be in Mexico until the cart is working and winter is over.
(2) But, if not, does anyone know what URL I should enter into Moneris' backend. The readme file was written for Zen 1.3.7, so I suspect that some of the structure has changed.

Thank you in advance......

Greg[/QUOTE]

8 Jun 2010, 11:38 PM
#23
blackthorne avatar

blackthorne

New Zenner

Join Date:
Jan 2010
Posts:
35
Plugin Contributions:
0

Re: Moneris approved and declined URLs

jestientbob:

I am using 3.8a. I am receiving the following message

FAILED TO IDENTIFY STORE - INCORRECT STORE CREDENTIALS HAVE BEEN SENT

the site is http://cabotix.ca

I ammsure this is coming in late, but in addition to the hacks noted above to the original code, you HAVE to remember to change the GATEWAY URL to PRODUCTION.

By default it's set to the sandbox or testing URL for Moneris and eselect.

IF you put in your production credentials and forget to change the URL you will get the "FAILED TO IDENTIFY STORE - INCORRECT STORE CREDENTIALS HAVE BEEN SENT" error.

8 Jun 2010, 11:49 PM
#24
blackthorne avatar

blackthorne

New Zenner

Join Date:
Jan 2010
Posts:
35
Plugin Contributions:
0

Re: Moneris approved and declined URLs

This module works and doesn't cost a thing. I am going to consolidate and update the instructions posted here over the next few days to bring it up to date.

29 Jun 2010, 10:57 PM
#25
cybersalt avatar

cybersalt

New Zenner

Join Date:
Jun 2010
Posts:
2
Plugin Contributions:
0

Re: Moneris approved and declined URLs

Blackthorne,

Do you have that consolidation finished yet. I could really use it.

Thanks.