impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
340 stars 191 forks source link

donor can not access old donation receipt when authenticate by email on pantheon server #4797

Closed ravinderk closed 2 years ago

ravinderk commented 4 years ago

Bug Report

User Story

As a donor, I want to access the donation receipt after authenticating by email address.

Details

I was able to reproduce this issue on the pantheon server. we fixed a similar issue in the past by loading receipt on ajax because few hosts like WPEngine allow accessing cookies on ajax request. Pantheon does not allow us to access a cookie on Ajax request that why we can not access the donation receipt from the donation history page after authenticating by email address.

ref: https://github.com/impress-org/givewp/issues/3819

Current Behavior

Donor is not able to access the donation receipt.

Expected Behavior

The allow donor to access the donation receipt after authenticating by email address.

Bug Type

Steps to Reproduce

  1. Create a dev site on Pantheon server
  2. Pay a few donations as guest donors.
  3. Request access token from the history donation page.
  4. After the email login tries to access receipt from the history page.

Possible Solution

Rename give_nl cookie name to wp-give_nl because pantheon allow to access cookies which prefixed with wp-.

Acceptance Criteria

jonwaldstein commented 2 years ago

I can't find any recent reports of issues with pantheon specifically. Closing this until another report comes up.