• rperrett

    (@rperrett)


    Hi David,

    If the plugin detects an existing session, it dumps out to a blank white page. Can this be changed so that it at least goes back to the form and displays an error message? A white page isn’t very user friendly.

    If for whatever reason they don’t complete the paypal transaction and instead return to the donations page, they get an ugly white screen on resubmission.

    Following is the log entry when it happened to me:

    2016-04-20 08:07:27 Session ID retrieved from _POST: SDS01-17F397D2-0177-CE02-BC77-B1EEBF910949
    2016-04-20 08:07:27 Looking for pre-existing session data (guid/audit db mode): SDS01-17F397D2-0177-CE02-BC77-B1EEBF910949
    2016-04-20 08:07:27 Session data already exists, returning false

    By the way, otherwise things are working well, and I purchased your 2 addons today too. Thanks!

    Rob

    https://wordpress.org/plugins/seamless-donations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Gewirtz

    (@dgewirtz)

    Rob, the plugin should never detect an existing session. If it does, there’s a caching issue that will cause breakage. Take a look at the host compatibility options and try turning on JavaScript sessions. That should (hopefully) solve the problem. The only gotcha is some clients don’t run JavaScript, but that’s a small group, so you should be pretty good.

    Hope you enjoy the add-ons!

    –David

    P.S. Marking as resolved because host compatibility should do it.

    Thread Starter rperrett

    (@rperrett)

    Thanks David, it was indeed a caching issue. However, if for some reason the user goes to paypal and then clicks the back button, they can’t go forward to paypal again. If they go forward they get a blank white page. They need to refresh the donation page and re-enter all their details again.

    Example: Fill out the form and click donate. Then click back. Then click donate again. -> White page.

    I would prefer they see an error message instead of a blank white page.

    Thanks
    Rob

    Plugin Author David Gewirtz

    (@dgewirtz)

    PayPal is not a fan of back and forth. They are very much about initiating on one page, traversing to their pages, and ending back on the originating page.

    It’s one of the reasons other gateways have cropped up in popularity. Sadly, I don’t yet have support for anything but PayPal.

    For now, once you start the PayPal process, you have to complete it or start over. Nothing Seamless Donations can control.

    –David

    Question about this same issue as I am having the same problem with a client who continuously tests the form and complains about the white screen. If they just test the form to get to the paypal page and then don’t complete the FULL donation this will happen? How long does the session last?

    Plugin Author David Gewirtz

    (@dgewirtz)

    There should never be a “how long does the session last” sort of question. Each time you load the donation page, you should get a new session ID. Have you read this:

    http://zatzlabs.com/all-hosts-are-different/

    It might help.

    –David

    P.S. Even though this new discussion should have been started as a new post, I’m going to “unresolve it” until @famous58’s issue is resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Black page if existing session data found’ is closed to new replies.