-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Varnish conflict with Kount #275
Comments
Replied via PM. |
Sorry but difficult to understand the understand Replied via PM On Tue, Jul 30, 2013 at 8:37 PM, Alex Headley notifications@github.comwrote:
Thanks & Regards, 702, B-Wing, Mangalya, Marol, Andheri (East), Mumbai, India – 400059 |
Hey, |
no offense but if you pay $995.00 for an extension, you should be looking for a support from them, rather then from a team developing free extension. |
Yeah I know that. |
you can try to debug the session (use Mage::log()) and try to find out why the length is different, but i would try to look at Kount extension. check if it has some controllers and make sure that any page managed by Kount is excluded form caching by Varnish. |
Try this patch: diff --git a/app/code/community/Nexcessnet/Turpentine/misc/uuid.c b/app/code/community/Nexcessnet/Turpentine/misc/uuid.c
index 2a6abfc..081879b 100644
--- a/app/code/community/Nexcessnet/Turpentine/misc/uuid.c
+++ b/app/code/community/Nexcessnet/Turpentine/misc/uuid.c
@@ -12,13 +12,13 @@ void generate_uuid(char* buf) {
long c = lrand48();
long d = lrand48();
pthread_mutex_unlock(&lrand_mutex);
- sprintf(buf, "frontend=%08lx-%04lx-%04lx-%04lx-%04lx%08lx",
+ sprintf(buf, "frontend=%08lx-%04lx-%04lx-%04lx-%04lx%04lx",
a,
b & 0xffff,
(b & ((long)0x0fff0000) >> 16) | 0x4000,
(c & 0x0fff) | 0x8000,
(c & (long)0xffff0000) >> 16,
- d
+ d & 0xffff
);
return;
} Note that I haven't tested this at all, but I believe it will fix the error you're seeing. You will need to re-apply your VCL and clear your cookies before testing the checkout. |
Thanks a lot for your reply. |
It turns out that patch did work because Kount requires that the session ID match this regex |
Hello,
I have installed turpentine on magento 1.7
However it is conflicting with a third party plugin name Kount below is the link
http://www.magentocommerce.com/magento-connect/kount-fraud-prevention-solution-9916.html
It is not allowing us to place order.
An error is raised "Payment authorization rejection from processor" at the final step of placing order.
I had a word with the Kount team and they inquired if turpentine playing around session id.
Any idea what could be the possible reason for conflict
is turpentine playing with session or possibly caching session values or any other view from your side.
Please extend your support to this issue.
The text was updated successfully, but these errors were encountered: