{"action":"created","issue":{"url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/5","repository_url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce","labels_url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/5/comments","events_url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/5/events","html_url":"https://github.com/DIBS-Payment-Services/Ecommerce/issues/5","id":132567481,"number":5,"title":"Undefined index when going through checkout in WP e-commerce plugin","user":{"login":"martisj","id":661994,"avatar_url":"https://avatars.githubusercontent.com/u/661994?v=3","gravatar_id":"","url":"https://api.github.com/users/martisj","html_url":"https://github.com/martisj","followers_url":"https://api.github.com/users/martisj/followers","following_url":"https://api.github.com/users/martisj/following{/other_user}","gists_url":"https://api.github.com/users/martisj/gists{/gist_id}","starred_url":"https://api.github.com/users/martisj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martisj/subscriptions","organizations_url":"https://api.github.com/users/martisj/orgs","repos_url":"https://api.github.com/users/martisj/repos","events_url":"https://api.github.com/users/martisj/events{/privacy}","received_events_url":"https://api.github.com/users/martisj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-09T23:28:23Z","updated_at":"2016-03-13T21:00:55Z","closed_at":null,"body":"Getting these messages:\r\n```\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 326\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 327\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 328\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 329\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 331\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 332\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 336\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 337\r\n[09-Feb-2016 21:43:15 UTC] PHP Notice:  Undefined index:  in dibspw.php on line 338\r\n```\r\n\r\nThe code on lines 326 through 338:\r\n```php\r\n$order_data['shippingfirstname']  = $aAddr[get_option('dibspw_form_first_name_d')];\r\n$order_data['shippinglastname']   = $aAddr[get_option('dibspw_form_last_name_d')];\r\n$order_data['shippingpostalcode'] = $aAddr[get_option('dibspw_form_post_code_d')];\r\n$order_data['shippingpostalplace']= $aAddr[get_option('dibspw_form_city_d')];\r\n//$order_data['shippingaddress2']   = $aAddr[get_option('dibspw_form_address_d')];\r\n$order_data['shippingaddress']    = $aAddr[get_option('dibspw_form_country_d')] . \" \" .\r\n$aAddr[get_option('dibspw_form_state_d')];\r\n\r\n$order_data['billingfirstname']   = $aAddr[get_option('dibspw_form_first_name_b')];\r\n$order_data['billinglastname']    = $aAddr[get_option('dibspw_form_last_name_b')];\r\n$order_data['billingpostalcode']  = $aAddr[get_option('dibspw_form_post_code_b')];\r\n$order_data['billingpostalplace'] = $aAddr[get_option('dibspw_form_city_b')];\r\n$order_data['billingaddress']    = $aAddr[get_option('dibspw_form_address_b')];\r\n//$order_data['billingaddress']     = $aAddr[get_option('dibspw_form_country_b')]. \" \" .\r\n//                             $aAddr[get_option('dibspw_form_state_b')];\r\n\r\n$order_data['billingmobile']      = $aAddr[get_option('dibspw_form_phone_b')];\r\n$order_data['billingemail']       = $aAddr[get_option('dibspw_form_email_b')];\r\n```\r\n\r\nThis means we can't process any purchases on our site.\r\n\r\nVersions:\r\nWordpress 4.4.2\r\nWP E-commerce 3.11.2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/comments/196052798","html_url":"https://github.com/DIBS-Payment-Services/Ecommerce/issues/5#issuecomment-196052798","issue_url":"https://api.github.com/repos/DIBS-Payment-Services/Ecommerce/issues/5","id":196052798,"user":{"login":"martisj","id":661994,"avatar_url":"https://avatars.githubusercontent.com/u/661994?v=3","gravatar_id":"","url":"https://api.github.com/users/martisj","html_url":"https://github.com/martisj","followers_url":"https://api.github.com/users/martisj/followers","following_url":"https://api.github.com/users/martisj/following{/other_user}","gists_url":"https://api.github.com/users/martisj/gists{/gist_id}","starred_url":"https://api.github.com/users/martisj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martisj/subscriptions","organizations_url":"https://api.github.com/users/martisj/orgs","repos_url":"https://api.github.com/users/martisj/repos","events_url":"https://api.github.com/users/martisj/events{/privacy}","received_events_url":"https://api.github.com/users/martisj/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T21:00:55Z","updated_at":"2016-03-13T21:00:55Z","body":"Yes indeed the issue I was having seems to be fixed, however I am still getting \r\n```\r\n[13-Mar-2016 20:58:47 UTC] PHP Notice:  Undefined index: billingstate in /plugins/wp-e-commerce/wpsc-includes/purchaselogs.class.php on line 506\r\n[13-Mar-2016 20:58:47 UTC] PHP Notice:  Undefined index: billingcountry in /plugins/wp-e-commerce/wpsc-includes/purchaselogs.class.php on line 522\r\n```\r\n\r\nI am only selling to one country so I don't really need the state and country fields. How should I approach this to send the appropriate data with the purchase request?"}}