currently running the addon in sandbox mode and as seen in PayPal test payments work fine so far, but the only thing which is missing is the transaction feedback so all test payments remain status pending...
So far I couldn't find any failure - any hint is welcome.
Redirect URL in PayPal sandbox account is set to beta.●●●●●●●●●●.●●●
Pronamic Pay Version 9.1.3
Pronamic Pay PayPal Add-On Version 2.1.0
(2.3.0 not running as php update to v8 isn't yet possible)
I was able to reproduce the issue in a sandbox environment. The PDT notification validation always seems to result in INVALID:
From customer:
I was able to reproduce the issue in a sandbox environment. The PDT notification validation always seems to result in
INVALID
:https://github.com/pronamic/wp-pronamic-pay-paypal/blob/941b71a9ee8e5f804d1e3f6fc9aa7ed7998a66cb/src/Client.php#L39-L61
I'm not sure why it's not working, but I can't imagine this didn't work when it was implemented:
To retrieve the PayPal transaction details (including payment status), it seems we need to update the request in the gateway status update:
Sample response.
The Identity Token is displayed in the website preferences in the PayPal account when Auto Return and Payment Data Transfer are both enabled.
Internal Help Scout ticket: https://secure.helpscout.net/conversation/2131149837/25091