Zen Follower
- Join Date:
- Sep 2006
- Posts:
- 281
- Plugin Contributions:
- 0
Viaklix Doesn't Work
I'm afraid not; something is crapping out when the data is sent back to ZenCart. I don't think . . . well I KNOW it's not a problem with Zen, something in their code must be jacked in regards to where it reports back to.
In earlier posts we saw the statement that you would need to put http://www.yoursiteurl.com/payment_process.php as the return address for the REDG statement. Both in KLIX and VM this can be done via a control panel.
But something else that bugs the crap out of me; the string
$this->url = 'https://www.viaKLIX.com/process.asp';
is what points to the URL where we're going to post our variables. Now, if I'm going to a demo version of KLIX (which I am)
$this->url = 'https://demo.viaKLIX.com/process.asp';
And that works just fine as the orders show up in my Klix demo account. So, changing the URL changes where the variables are posted. Now, I also know that there is a third URL out there:
$this->url = 'https://www.viaKLIX.com/test_tran.asp';
Now that URL should return a list of key value pairs and display them in your browser. It generates a 2 column table with the Keys on the left and values on the right. But when you use this URL you don't get that; you get the a-typical 'Problem with Order' blah blah blah . . .
My thought is this . . . I think that somewhere in their 3 files they are trying to parse the data before a response has been received from Klix.
Please understand, Klix and VirtualMerchant are interchangeable terms. While there are slight differences in the field names the code is essentially the same. VM doesn't get complicated until you start adding peripherals for a retail environment.
For ease of reading I'll post the changes I made to their code in a separate post. I'll also be posting this to the Klix string I had going earlier due to their similarities. If we can get one working, we'll have the other.
Samuel Turnmire
co-Founder
geekFoundry