Skip to content

Instantly share code, notes, and snippets.

Paolo paokodo

  • Thailand
  • bangkok
Block or report user

Report or block paokodo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View How To Process Instant Payment Notification (IPN) Messages.php
<?php
// STEP 1: read POST data
// Reading POSTed data directly from $_POST causes serialization issues with array data in the POST.
// Instead, read raw POST data from the input stream.
$raw_post_data = file_get_contents('php://input');
$raw_post_array = explode('&', $raw_post_data);
$myPost = array();
foreach ($raw_post_array as $keyval) {
You can’t perform that action at this time.