Questions about Payment Form extension

Occasional Invalid Tokens, on customer's end

  • kohagen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago #13182 by kohagen
I am running the latest Payment Form, and my clients get invalid token errors.

Not everyone gets them... I'm running on 3 different browsers. Chrome, Firefox, and IE. Chrome and Firefox work fine for me, IE throws me back to the front page when I hit confirm, but if I go in a 2nd time it works.

Clearing my joomla cache sometimes fixes the problem... clearing the browser cache sometimes fixes the problem, but it seems like I get a few users that no matter what they do, they always get an invalid token, usually with IE but not all the time.

I have a login portion of the website, that they have no issues with, but Payment Form seems to be an issue, and is a problem right now because I need to renew a lot of memberships for my club and this is how I do it.

Thanks,

Brian

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #21846 by IPN
i'm having a problem with cache enabled. Payment form doesn't work when cache is enabled.

Anyone else experiencing this? :S

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22376 by Anthony Artmann
Replied by Anthony Artmann on topic Re: Occasional Invalid Tokens, on customer's end
Getting reports of "Invalid Token" errors with Event Booking Component.

What does Invalid Token mean?

Is it a problem with the data put in the form? Is it a problem with the payment submission?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22422 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Occasional Invalid Tokens, on customer's end
Hi all

Invalid Token is a security feature of Joomla . Please see docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms for more detailed explanation.

This problem mostly causes by a setting in the file configuration.php under the root of your site. There is one variable in this file called $live_site . Please check the value of that variable and make sure it is empty. After that, the issue won't happen anymore

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22429 by Anthony Artmann
Replied by Anthony Artmann on topic Re: Occasional Invalid Tokens, on customer's end
Thanks Tuan,

I checked the variable and it is an empty string.

( public $live_site = ''; )

Will look at the anti-spoofing link.

Anthony.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22507 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Occasional Invalid Tokens, on customer's end
Hi Anthony

Could you also please check the to see whether cache is enabled on your site or not ?

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22585 by Anthony Artmann
Replied by Anthony Artmann on topic Re: Occasional Invalid Tokens, on customer's end
Global Configuration -> System -> Cache Settings

Cache - OFF Caching disabled
Cache Hander - File
Cache Time - 15

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22594 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Occasional Invalid Tokens, on customer's end
Hi Anthony

The cache not only handled by Joomla but it can also be handled by your site template. Maybe you can submit a support ticket sending me administrator account of your site so that I can help you to check the settings to make sure all is correct ?

Tuan
The following user(s) said Thank You: Anthony Artmann

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc