-
Notifications
You must be signed in to change notification settings - Fork 77
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
Express Checkout - Invalid Token #337
Comments
I have checked again but seems GetExpressCheckoutDetails and DoExpressCheckoutPayment have the condition to check Token is empty or not. Do you have any log or something else? |
Here is a ticket where this happened to a user recently. https://www.angelleye.com/support/scp/tickets.php?id=274 |
a0e74ca remove debug code |
Looks like you've added more logic to try and catch when the token isn't available, but I'm curious why this is happening in the first place..?? It seems that the SEC and GECD calls are fine, but then for some reason the DECP request is not including a token. |
Here's another ticket where somebody is getting invalid token: https://www.angelleye.com/support/scp/tickets.php?id=261 It's happening enough that I don't think it's simply a matter of sessions timing out. Somehow we're losing our data when building the DECP request. |
This seems to happen a lot from people on WPEngine because of their caching tools. If you contact WPEngine they are able to fix it. I discussed this once with @kcppdevelopers and you seemed to think you might be able to disable caching of our stuff within the code to eliminate this problem. |
@kcppdevelopers You seemed to have an idea of how to address this when we discussed it before. Why did you mark it wontfix now? |
I have try to find out solution to disable caching of our stuff within the code to eliminate this problem but WPEngine not allowed us using code. |
Now we have used woo session database table for store custom data, now everything is working fine. |
We made some adjustments in #318 to try and handle this, but I think we missed something because I'm still getting reports of the problem.
Maybe we aren't checking for the session everywhere it needs to be..?? I know we're checking it before creating the SetExpressCheckout request, but are we also checking it prior to creating the GetExpressCheckoutDetails and DoExpressCheckoutPayment requests?
The text was updated successfully, but these errors were encountered: