Winbank Payment Method Not Working

Dear all, good evening!



I have set up a CS-Cart 4 e-shop recently for a client. It is located at www.e-biofire.gr. Everything works smoothly, except one thing: The Winbank online payment gateway module that is built-in with CS-Cart 4.



We have given the bank all the details that CS-Cart is returning. Namely:

[color=#404040]Website Link: [/color][u]http://www.e-biofire.gr//index.php?dispatch=payment_notification.index_redirect&payment=piraeus[/u]

[color=#404040]Referrer URL: [/color][u]http://www.e-biofire.gr//index.php?dispatch=payment_notification.index_redirect&payment=piraeus[/u]

[color=#404040]Success URL: [/color][u]BIOFIRE | ΛΑΘΟΣ ΣΕΛΙΔΑ

[color=#404040]Failure URL: [/color][u]BIOFIRE | ΛΑΘΟΣ ΣΕΛΙΔΑ

[color=#404040]Backlink URL: [/color][u]BIOFIRE | ΛΑΘΟΣ ΣΕΛΙΔΑ

[font=“Helvetica Neue, Helvetica, Arial, sans-serif”][size=“2”][color=“#404040”]And the IP Address…[/color][/size][/font]



[color=#404040]Two things here:[/color]

[color=#404040]1. I have talked with the bank's personnel and they told me that they can see the ordering client being redirected to them from http://www.e-biofire.gr and not from the URL that we have given them. Still, they try to set the referrer URL simply to http://www.e-biofire.gr and yet still no success, we get an error from the bank in return (for instance, at the moment, I am getting a message in Greek mentioning that my purchase cannot be executed with support reference ID [/color]36637590 (every time another ID is generated, but they told me that it's just that: The Referrer URL seems to be another one than the one provided)



2. As you can also see, I get a double slash thing on the URLs. Could this be the culprit?

If yes, how can I fix that? And why was this generated in the first place?

I have to mention here that the website was initially installed in a sub-folder, and was then moved to the main folder.



3. Could it possibly be related to SEF URLs? The SEO plugin perhaps? Should I deactivate it and try? But I'm afraid that if I deactivate it, I will open Pandora's box and all the URLs and SEO data will be gone.



Any recommendations? Any suggestions?





Thanks a lot!



Dimitris

Hi Dimitris



there is defenetly a problem with the urls you gave to the bank. That double slash is not normal.



I can find and fix this for you but if you licence has still support credits ,then go with CS-Cart support instead of paying for this.



Fotis

You sould also Check the files in the skin, as this is the buyshop skin (also a clone of that) and not the CS-Cart default skin.



Fotis

Did you try to provide Winbank with the URLs without double slash?

Hello everyone and thank you for your kind replies!

Yes, we did try that with the bank, to go without the double slashes. I will check the template files and I will post in here the result to let everyone else know as well!



Thanks again and I'll keep you updated!

Ok, here's the latest news:

Â

1. I managed to correct the double slash issue. Specifically, what I did was this:

Â

a. I edited config.local.php file

b. where this code:

Â

// Host and directory where software is installed on no-secure server

$config['http_host'] = 'www.e-biofire.gr';

$config['http_path'] = '/';

Â

I replaced with this code:

Â

// Host and directory where software is installed on no-secure server

$config['http_host'] = 'www.e-biofire.gr';

$config['http_path'] = '';

Â

(deleted the slash on the http_path)

Â

The double slash issue is now OK! Tested and working properly!

Â

Â

2. I called the bank and the problem remains. When I place an order as a customer, Winbank's system sees that I am coming from the url http://www.e-biofire.gr/ and NOT from http://www.e-biofire.gr/index.php

Â

So, there seems to be a problem with the re-direction process. Why does winbank see the website's customer being redirected from the main domain URL and not from index.php?

Â

Â

Thanks a lot again,

Â

Dimitris





PS: In the past, they also tried from the bank to set that the referring URL is www.e-biofire.gr but the order would still not go through.

PS2: Keep in mind, all of this trial-and-error is taking place under the "sandbox" environment with the test account.Â

anyone?



Btw, sorry for the tags, didn't know they would appear like this, I guess they did because I inserted code to show (and cannot edit the message again)