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.
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
Possible Solution
Rename
give_nl
cookie name towp-give_nl
because pantheon allow to access cookies which prefixed withwp-
.Acceptance Criteria