Fixes exception when not using primary PayPal email
authorSir-Will <brieftaubenman@gmail.com>
Tue, 28 Jul 2020 00:57:32 +0000 (02:57 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Jul 2020 00:57:32 +0000 (02:57 +0200)
commit3de946316ea153c3599348e75016d3f145253d95
tree85cee952205bafd5dce31206637887edc0d03fe7
parent88ca8bff5e431eb2845f5c9f9d8a811408ba7ad2
Fixes exception when not using primary PayPal email

PayPal allows adding multiple emails, if you are using one of the alternative emails instead of the primary email then WoltLab will throw the exception.
The `receiver_email` is always the primary email while `business` is the secondary in the IPN.
wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php