Closed PikaMug closed 3 years ago
Those logs all look okay to me, when the PayPal status is updated, PayPal will send a notification to a listener within the Resources module that should update the status.
Can you check if the file cache/logs/other-log.log
exists, and if so, open it up and search for [PayPal]
to see if anything's been logged?
No specific mention of PayPal, the only content is this repeated several times:
{"error":"invalid_client","error_description":"Client Authentication failed"}
However, the file was last modified Jun 4, so it would seem to predate this issue.
Updated to Nameless pr-10, but still no luck. Continuing to investigate.
It seems the issue may have been a malformed live Webhook URL within the PayPal developer portal. Now that's sorted, it appears I shouldn't have updated to pr-10, as I'm now getting:
[2021-07-01, 09:11:23] /home/user/public_html/site/modules/Resources/pages/resources/listener.php(33): Call to undefined function getallheaders()
Glad you were able to solve the issue, and thanks for the PR for pre-10 compatibility
You're welcome. While fixing the URL was a step in the right direction, my choosing to upgrade seems to have further complicated the issue. I'll likely submit more PRs in my attempt to resolve this.
Having an issue where after completing checkout, users aren't able to download the resource (button still says "Payment Pending"). Log for a single user is as follows:
No issues with PayPal - verified accounts in good standing, balance received in full. Still, I'm having to go into the
nl2_resources_payments
table and set theirstatus
from '0' to '1' each time. Any ideas?