Index: branches/5.2.x/units/gateways/gw_classes/authorizenet.php =================================================================== diff -u -N -r15141 -r16516 --- branches/5.2.x/units/gateways/gw_classes/authorizenet.php (.../authorizenet.php) (revision 15141) +++ branches/5.2.x/units/gateways/gw_classes/authorizenet.php (.../authorizenet.php) (revision 16516) @@ -1,6 +1,6 @@ Application->recallObject('CountryStatesHelper'); - /* @var $cs_helper kCountryStatesHelper */ $post_fields['x_country'] = $cs_helper->getCountryIso( $item_data['BillingCountry'] ); $post_fields['x_cust_id'] = $item_data['PortalUserId']; $post_fields['x_invoice_num'] = $item_data['OrderNumber']; $post_fields['x_description'] = 'Invoice #'.$item_data['OrderNumber']; $post_fields['x_email_customer'] = 'FALSE'; + /** @var kCurlHelper $curl_helper */ $curl_helper = $this->Application->recallObject('CurlHelper'); - /* @var $curl_helper kCurlHelper */ $curl_helper->SetPostData($post_fields); $this->gw_responce = $curl_helper->Send($gw_params['submit_url']); @@ -104,8 +104,8 @@ if( $this->IsTestMode() ) $post_fields['x_test_request'] = 'True'; + /** @var kCurlHelper $curl_helper */ $curl_helper = $this->Application->recallObject('CurlHelper'); - /* @var $curl_helper kCurlHelper */ $curl_helper->SetPostData($post_fields); $this->gw_responce = $curl_helper->Send($gw_params['submit_url']);