If you created a new payment gateway and if that gateway sends JSON data instead of POST data to your server when processing a subscription payment, you would get that error when the gateway sends request to <forumbaseurl>/core/payment_gateway?method=xxxxxxxx. It is because vBulletin checks if POST data is available and if not, it throws that error. To fix the issue, you have to edit the /core/includes/init.php file.
Find this line:
And replace it with:
Replace xxxxxxxx with the appropriate payment gateway name.
I did this change when I created a Stripe payment gateway which sends JSON data when sending Webhook notification requests to the server.
Note: This is a core hack so you should re-apply this change every time you upgrade.
Find this line:
PHP Code:
die('The file(s) uploaded were too large to process.');
PHP Code:
if (stripos($_SERVER['REQUEST_URI'], '/core/payment_gateway.php?method=xxxxxxxx') === FALSE) {
die('The file(s) uploaded were too large to process.');
}
I did this change when I created a Stripe payment gateway which sends JSON data when sending Webhook notification requests to the server.
Note: This is a core hack so you should re-apply this change every time you upgrade.