I have been having a lot of problems trying to get the HTTP POST to send the correct data to my database after it is sent to my website. I have been trying to figure it out for a long time and still cannot. Anyways I took the data that was sent to my site and sent it to a .txt file and this is my result for a purchase of two items.
Array
(
[residence_country] =>
[payer_business_name] =>
[first_name] => removed
[last_name] => removed
[payer_email] => removed
[payer_phone] =>
[payer_street] =>
[payer_city] =>
[payer_state] =>
[payer_zip] =>
[payer_country_code] =>
[address_name] =>
[address_business_name] =>
[address_phone] =>
[address_street] =>
[address_city] =>
[address_state] =>
[address_zip] =>
[address_country_code] => US
[address_country] => US
[payment_date] => 10:28:20 Sep 10, 2010 MST
[custom] =>
[mc_currency] => USD
[business] => f3f04d0fd4818dd82cf93551993adef4
[mc_gross] => 0
[mc_shipping] => 0
[tax] => 0
[txn_type] => ejgift
[payment_type] => Instant
[invoice] => 2lugd9atv151231jvdq6pwf8aso80wgs040ogow
[buyer_ip] =>
[card_last_four] =>
[card_type] =>
[mailing_list_status] => false
[charset] => utf-8
[item_name1] => handlertest1
[item_number1] => 799225
[mc_gross_1] => 0
[quantity1] => 1
[item_name2] => handler test 2
[item_number2] => 799226
[mc_gross_2] => 0
[quantity2] => 1
[num_cart_items] => 2
[txn_id] => jg-l8jedkb730f3a53
[payment_status] => Completed
[pending_reason] =>
[handshake] => ca48389c1752a983a0c8948e583c0023
[discount_codes] =>
[from_name] => GSG
[from_email] => removed
[client_shipping_method_id] => 0
[item_cart_position] => 2
[item_number] => 799226
[sku] =>
[expiry_hours] => 120
[max_downloads] => 5
[key] => 546
)
There is a key for both items in this purchase, but there is only one key field?
created
Oct '10
last reply
Oct '10
- 6
replies
- 1.3k
views
- 2
users