Donation Confirmation fails with Chrome Incognito since Give 2.9.6
-
Hi,
I use the Give-Plugin in version 2.9.5 for a while and it works fine. Today I have upgraded to 2.9.6 on my staging site and recognize an error.
Environment:
- Give Plugin 2.9.6 (the only thing that has change, before it worked)
- Multistep Donation Form with paypal standard gateway
The following error occurred when the donor is forwarded to my site from successfully paypal payment.
Notice: Undefined index: date in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/DonationAccessor.php on line 64 Notice: Undefined index: donorInfo in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php on line 100 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 23 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 23 Notice: Undefined index: cardInfo in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php on line 101 Warning: Invalid argument supplied for foreach() in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php on line 170 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 23 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 23 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Warning: array_key_exists() expects parameter 2 to be array, null given in .../public_html/wp-content/plugins/give/src/Helpers/ArrayDataSet.php on line 59 Notice: Trying to access array offset on value of type null in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php on line 155 Notice: Trying to access array offset on value of type null in .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php on line 155 Warning: array_intersect_key(): Expected parameter 1 to be an array, null given in .../public_html/wp-content/plugins/give/src/ValueObjects/DonorInfo.php on line 61 Fatal error: Uncaught InvalidArgumentException: Invalid DonorInfo object, must have the exact following keys: wpUserId, firstName, email, honorific, address in .../public_html/wp-content/plugins/give/src/ValueObjects/DonorInfo.php:64 Stack trace: #0 .../public_html/wp-content/plugins/give/src/Session/SessionDonation/SessionObjects/Donation.php(106): Give\ValueObjects\DonorInfo::fromArray(NULL) #1 .../public_html/wp-content/plugins/give/src/Session/SessionDonation/DonationAccessor.php(77): Give\Session\SessionDonation\SessionObjects\Donation::fromArray(Array) #2 .../public_html/wp-content/plugins/give/src/Session/Accessor.php(139): Give\Session\SessionDonation\DonationAccessor->convertToObject(Array) #3 .../public_html/wp-content/plugins/give/src/Session/Accessor.php(128): Give\Session\Accessor->set() in .../public_html/wp-content/plugins/give/src/ValueObjects/DonorInfo.php on line 64
The target URL thats called from paypal is
...../?giveDonationAction=showReceipt&payment-confirmation=paypal&payment-id=13588
The payment was successful, the donation is marked as finished, but where normally the donation confirmation step in the multiform process will be shown the error occurred.With Chrome and FireFox in normal mode it is working, even FireFox private mode is working fine. Only with Chrome incognito window the described issue occurred.
- The topic ‘Donation Confirmation fails with Chrome Incognito since Give 2.9.6’ is closed to new replies.