Support storing IPNs in `civicrm_system_log` for processors that send JSON data
Currently, CRM_Core_Payment::logPaymentNotification()
, the method which logs to civicrm_system_log
uses $_REQUEST
to grab the POST data. However, $_REQUEST
doesn't handle raw POST data, it assumes it's form-encoded. This patch handles JSON-encrypted POST requests, notably Stripe, so they can be stored in civicrm_system_log
.