Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Entries marked as paid, but no PayPal funds sent? #608
pushed a commit
May 16, 2016
Have you recently upgraded to 2.1.1? If so, there's a snippet of legacy test code in the brew.sec.php file that will cause this issue, starting at line 240:
Erasing this snippet should take care of the issue for any entries added subsequently. It has also been removed in the latest commit.
Erase these lines altogether to avoid the entries being marked as paid erroneously. In the 2.1.1 release file, they are located beginning at 240. Not sure what version of the file you've got, @ercousin - maybe from a commit version?
In any case, if you download the latest commit and replace those files on your server, things will be good. All hosted accounts have the fix in place.
For 2.1.2, these lines will be stripped out. The original intention was to mark any entries as paid if a user has exceeded the entry fee cap (if enabled); however, the logic wasn't right. Instead, there will be a check AFTER the user submits the entry and is processed by the system.