Skip to content

Instantly share code, notes, and snippets.

@tristar500
Created December 8, 2011 02:55
Show Gist options
  • Save tristar500/1445915 to your computer and use it in GitHub Desktop.
Save tristar500/1445915 to your computer and use it in GitHub Desktop.
paypal returned data
$saveArray = array(
'mc_gross' => $_POST['mc_gross'],
'protection_eligibility' => $_POST['protection_eligibility'],
'address_status' => $_POST['address_status'],
'payer_id' => $_POST['payer_id'],
'tax' => $_POST['tax'],
'address_street' => $_POST['address_street'],
'payment_date' => $_POST['payment_date'],
'payment_status' => $_POST['payment_status'],
'charset' => $_POST['charset'],
'address_zip' => $_POST['address_zip'],
'first_name' => $_POST['first_name'],
'mc_fee' => $_POST['mc_fee'],
'address_country_code' => $_POST['address_country_code'],
'address_name' => $_POST['address_name'],
'custom' => $_POST['custom'],
'payer_status' => $_POST['payer_status'],
'business' => $_POST['business'],
'address_country' => $_POST['address_country'],
'address_city' => $_POST['address_city'],
'quantity' => $_POST['quantity'],
'verify_sign' => $_POST['verify_sign'],
'txn_id' => $_POST['txn_id'],
'payment_type' => $_POST['payment_type'],
'last_name' => $_POST['last_name'],
'address_state' => $_POST['address_state'],
'receiver_email' => $_POST['receiver_email'],
'payment_fee' => $_POST['payment_fee'],
'receiver_id' => $_POST['receiver_id'],
'pending_reason' => $_POST['pending_reason'],
'txn_type' => $_POST['txn_type'],
'item_name' => $_POST['item_name'],
'mc_currency' => $_POST['mc_currency'],
'item_number' => $_POST['item_number'],
'residence_country' => $_POST['residence_country'],
'test_ipn' => $_POST['test_ipn'],
'receipt_id' => $_POST['receipt_id'],
'handling_amount' => $_POST['handling_amount'],
'transaction_subject' => $_POST['transaction_subject'],
'payment_gross' => $_POST['payment_gross'],
'shipping' => $_POST['shipping'],
'created_at' => date('Y:m:d G:i:s'),
'updated_at' => date('Y:m:d G:i:s')
'merchant_return_link' => $_POST['merchant_return_link'],
'form_charset' => $_POST['form_charset']
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment