You are here

protected function IPNHandler::getRequestDataArray in Commerce PayPal 8

Get data array from a request content.

Parameters

string $request_content: The Request content.

Return value

array The request data array.

1 call to IPNHandler::getRequestDataArray()
IPNHandler::process in src/IPNHandler.php
Processes an incoming IPN request.

File

src/IPNHandler.php, line 93

Class

IPNHandler

Namespace

Drupal\commerce_paypal

Code

protected function getRequestDataArray($request_content) {
  parse_str(html_entity_decode($request_content), $ipn_data);
  return $ipn_data;
}