From 4b200b5e9a1534d34465d03afe509df98a18a496 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 24 Nov 2018 17:51:33 +0100 Subject: [PATCH] PayPal callback no longer requires a business account --- .../install/files/lib/action/PaypalCallbackAction.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php b/wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php index 0fb8bd6442..ad60abe63b 100644 --- a/wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php +++ b/wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php @@ -55,8 +55,8 @@ class PaypalCallbackAction extends AbstractAction { } // Check that receiver_email is your Primary PayPal email - if (strtolower($_POST['business']) != strtolower(PAYPAL_EMAIL_ADDRESS) && (strtolower($_POST['receiver_email']) != strtolower(PAYPAL_EMAIL_ADDRESS))) { - throw new SystemException('invalid business or receiver_email'); + if (strtolower($_POST['receiver_email']) != strtolower(PAYPAL_EMAIL_ADDRESS)) { + throw new SystemException('invalid receiver_email'); } // get token -- 2.20.1