Follows returned content on checkout_success page
Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at us to view details of this transaction.
Notice: Undefined variable: header in /home/content/19/8636319/html/TEST/checkout_success.php on line 122
Notice: Undefined offset: 1 in /home/content/19/8636319/html/TEST/checkout_success.php on line 153
Notice: Undefined index: item_name in /home/content/19/8636319/html/TEST/checkout_success.php on line 165
Notice: Undefined index: os0 in /home/content/19/8636319/html/TEST/checkout_success.php on line 168
Notice: Undefined index: os1 in /home/content/19/8636319/html/TEST/checkout_success.php on line 169
Notice: Undefined index: os2 in /home/content/19/8636319/html/TEST/checkout_success.php on line 170
Notice: Undefined index: os3 in /home/content/19/8636319/html/TEST/checkout_success.php on line 171
Thank you for your purchase!
Payment Details
Name: Toni Mills
Item:
Amount: 151.35
Embroidery Details if selected
Embroidery Type:
Embroidery Style:
Embroidery Text:
Special Request:
array(51) {
["mc_gross"]=>string(6) "151.35"
["protection_eligibility"]=>string(29) "Partially Eligible - INR Only"
["address_status"]=>string(11) "unconfirmed"
["item_number1"]=>string(1) "5"
["tax"]=>string(4) "0.00"
["payer_id"]=>string(13) "LJXZNNDC28YBC"
["address_street"]=>string(12) "4 porter Ave"
["payment_date"]=>string(25) "14:28:11 Jun 04, 2012 PDT"
["option_name2_1"]=>string(16) "Embroider Style:"
["option_selection1_1"]=>string(8) "Initials"
["payment_status"]=>string(9) "Completed"
["option_name4_1"]=>string(16) "Special Request:"
["option_selection3_1"]=>string(4) "TONI"
["charset"]=>string(12) "windows-1252"
["address_zip"]=>string(5) "02840"
["mc_shipping"]=>string(4) "0.00"
["mc_handling"]=>string(5) "16.35"
["first_name"]=> string(4) "Toni"
["mc_fee"]=>string(4) "4.69"
["address_country_code"]=>string(2) "US"
["address_name"]=>string(10) "Toni Mills"
["custom"]=>string(0) ""
["payer_status"]=>string(8) "verified"
["business"]=>string(29) "tonihm_1337810685_biz@cox.net"
["address_country"]=>string(13) "United States"
["num_cart_items"]=> string(1) "1"
["mc_handling1"]=>string(4) "0.00"
["address_city"]=>string(7) "Newport"
["payer_email"]=>string(29) "custom_1337778962_per@cox.net"
["mc_shipping1"]=>string(4) "0.00"
["tax1"]=>string(4) "0.00"
["option_name1_1"]=>string(16) "Embroidery Type:"
["option_name3_1"]=>string(13) "Your Letters:"
["txn_id"]=>string(17) "62514849RR281891C"
["payment_type"]=>string(7) "instant"
["option_selection2_1"]=>string(12) "Signal Flags"
["last_name"]=>string(5) "Mills"
["address_state"]=>string(2) "RI"
["item_name1"]=>string(17) "Shore Dinner Tote"
["receiver_email"]=>string(29) "tonihm_1337810685_biz@cox.net"
["payment_fee"]=>string(4) "4.69"
["option_selection4_1"]=>string(55) "Please use the signal flags for the letters. Thank you."
["quantity1"]=>string(1) "1"
["receiver_id"]=>string(13) "F6HX3ZEJEBP5U"
["txn_type"]=> string(4) "cart"
["mc_gross_1"]=>string(6) "135.00"
["mc_currency"]=>string(3) "USD"
["residence_country"]=>string(2) "US"
["transaction_subject"]=>string(30) "Shopping CartShore Dinner Tote"
["payment_gross"]=>string(6) "151.35"
[""]=>string(0) ""
}
Follows content for the various line errors
Line 122: $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
Line 153: list($key,$val) = explode("=", $lines[$i]);
Line 165: $itemname = $keyarray['item_name'];
Lines 168-171:
$embroiderytype = $keyarray['os0'];
$embroiderystyle = $keyarray['os1'];
$embroiderytext = $keyarray['os2'];
$specialrequest = $keyarray['os3'];
I tried changing 'os0' to 'option_selection1' but just came back with same error
Undefined index: option_selection1 in /home/content/19/8636319/html/TEST/checkout_success.php on line 168