This is a documentation/support request that may (also) be a code/bug report if it turns out that i am not insane.

The store in question has a US-only account with Moneris, which appears to be called eSELECTplus.

Selecting API version "United States" under Moneris at admin/store/settings/payment/edit/gateways is not enough. Moneris integration support reports seeing the transaction attempts, but reports that they are attempting to use the wrong gateway entirely-- the Canadian, not the U.S.

You can only use the host that matches your store's account; my guess is that everyone using the module has a Canadian-style account that allows both US and Canadian purchases. If you have a US-only account, changing the API version will not do it.

The US Payment Gateway Host for Moneris - per page 71 of eSELECTplus_PHP_IG-US.pdf - must be esplus.moneris.com (and esplusq.moneris.com for test).

For now, change hardcoded into provided api file, api/mpgClasses.php. Testing shortly.

benjamin, agaric

Comments

c4rl’s picture

Test should be esplusqa.moneris.com.

I've been trying to troubleshoot this as well. Called Moneris, their technical support person (Reza?) said there were differences in the API between US and Canada.

Too bad their documentation and website are terrible.

Working on getting the PHP SDK. Expect a patch soon.

mlncn’s picture

Yep, that was my typo on the test api version. I have that huge PDF doc they finally sent me on the US API for PHP but i suspect it is the terrible documentation you speak of... since it lacks the contents of or a link to their ("slightly different"?) API files.

mlncn’s picture

Version: 6.x-1.0-alpha1 » 6.x-1.x-dev
Component: Documentation » Code
Category: support » bug
Status: Active » Needs work
StatusFileSize
new640 bytes

Changing the host address will make your U.S.-only store start working.

c4rl’s picture

Status: Needs work » Needs review
StatusFileSize
new1.5 KB

Attached improvement detects the API type and changes the URLs automatically.

greggles’s picture

Status: Needs review » Closed (duplicate)

I think this is now superseded by the work in #730048: Pre-auth/capture check conflicts with purchase.