|
So is this extension working successfully and consistently? I have installed it - shows up in the admin area as well as the checkout process.
...but I’m getting an error when I click the “Place Order” button at the end of the checkout process:
Gateway request error:
Security Data : UsernameToken authentication failed
I’ve read a couple other forum posts where this is supposedly a symptom of attempting to submit payment using a security key created in the test business mode via the Cybersource website. I created a security key in the live area and I’m still receiving this error - with test credit card info (with test mode “YES") and live credit card info (with test mode “NO").
I contacted Cybersource and they could not seem to determine the problem. They actually told me that the p12 key generated through the site (for the security key) should be placed somewhere on the server… but he didn’t know where?? He couldn’t really offer any other suggestions. it all didn’t make sense… wondering if anyone can shed some light on that one.
=========================
UPDATE - PROBLEM SOLVED
=========================
Found the issue on two fronts:
1. I was using the security key generated by the Simple Order API, rather than the SOAP Toolkit API. The Cybersource extension needs the SOAP Toolkit API - which as I reread the requirements, that was my oversight/misunderstanding… although it’s probably good to differentiate between the two in any updated documentation for this extension.
2. Once I generated and inserted the security key for the SOAP Toolkit API, I no longer received the previous error, but received a new one stating that the order was unable to be processed. The authorization attempts were showing up in my Cybersource account, so that was good news. However, the authorization was being held in Review because of a CVN error.
The solution took a while to figure out, but implementing the fix was a breeze… here it is:
Cybersource looks to verify the cvnNumber, the Magento extension’s SOAP file sends the cvNumber. Simple mismatch of words. cvnNumber is the correct one.
So, find this file: app/code/core/Mage/Cybersource/Model/Soap.php
Look for line 277 - and replace it with:
$card->cvnNumber = $payment->getCcCid();
It’s also interesting to note that during another conversation with a Cybersource rep that Cybersource does not really provide any technical support for apps/extensions/etc made using the SOAP Toolkit API - and don’t expect anything groundbreaking in terms of customer service from Cybersource’s end (that was my experience, anyway).
|