php - kashflow api script keeps failing to connect -
I have the problem with the script linked to Kashmir from our website, when a customer enters his order and checkout Lastly, the site is considered to be connected to Kashmir but instead the following error occurs.
Notice: Undefined Index: $ name /home/expressn/public_html/ajax/kashflow/includes/kashflow.inc
/ P>
What is needed to solve this problem?
Include the public function ($ customer) {$ parameter ['custr'] = array ("customerID" =>, "code" => '= $ Client [' name '], "contact" => gt;' ',' telephone '= & gt; $ customer =' customer '=' address1 '], "address2" => ; $ Customer ['address2'], "address3" => $ customer ['address3'], "address 4" => $ client ['address4'], "postcode" => gt; ; $ Client ['postcode'], "website" => gt; "", "EC" =>, "outsizecc" =>, "notes" =>, "source" = & Gt; $ this-> m_source, "discount" => 0, "show discount" => 0, "payment effect ==> "Extraxtext 1" = "gt" = "," Extract2 "=>," Extractax 3 "=>," ExtraText 4 "= & gt; "," Extractax 5 "=>," ExtraText 6 "=" gt "," Extractax 7 "=>," ExtraText 8 "=>," Extraxtext 9 " = & Gt; "", "Extract 10" = "", "Extract 11" =>, "Extractax 12" =>, "ExtraText 13" => '', "Extract 14 =" => '', "ExtractX5" => '', "Extractax 16" => '', "Extractext 17" => '', "Extractax 18" => '', "Extractext 1 9" => '', "ExtractX20" = & gt; '', 'Checkbox 1 "= => 0, "checkbox2" = & gt; 0, "checkbox 3" = & gt; 0, "checkbox 4" = & gt; 0, "checkbox 5" = & gt; 0, "checkbox6" = & gt; 0, "checkbox 7" = & gt; 0, "checkbox 8" = & gt; 0, "checkbox 9" = & gt; 0, "checkbox 10" = & gt; 0, "checkbox 11" = & gt; 0, "checkbox 12" = & gt; 0, "checkbox 13" = & gt; 0, "checkbox 14" = & gt; 0, "checkbox 15" = & gt; 0, "checkbox 16" = & gt; 0, "checkbox 17" = & gt; 0, "checkbox 18" = & gt; 0, "checkbox 19" = & gt; 0, "checkbox 20" = & gt; 0, "created" = & gt; Date ("Y-M-DTH: I: S"), "Renew" = & gt; Date ("Y-M-DTH: I: S"), "Currency ID" = & gt; 0, "Contact Title" = & gt; '', 'First contact name' = & gt; '', 'Contact name name' = & gt; '', 'Costhas Delivery Address' = & gt; 1, "Delivery order 1" = & gt; $ Customer ['delAddress1'], "Delivery order 2" = & gt; $ Customer ['delAddress2'], "DeliveryArandres 3" => $ Customer ['delAddress3'], "Delivery order 4" => $ Customer ['delAddress4'], "distribution postcode" = & gt; $ Customer ['delPostcode'], "VATNumber" = & gt; ''); $ This- & gt; Return makeRequest ("InsertCustomer", $ parameter); Hi, I know that this is a while but I have run into this problem.
.
There are mandatory parameters from my experience:
'customer ID' = & gt; 0, 'EC' = & gt; 0, 'outer CEC' = & gt 0, 'source' = & gt; 0, 'Discount' = & gt; 0, 'ShowDiscount' = & gt; 0, 'payments' = & gt; 0, 'checkbox 1' = & gt; 0, 'checkbox2' = & gt; 0, 'checkbox 3' = & gt; 0, 'checkbox 4' = & gt; 0, 'checkbox 5' = & gt; 0, 'checkbox6' = & gt; 0, 'checkbox 7' = & gt; 0, 'checkbox 08' = & gt; 0, 'checkbox 9' = & gt; 0, 'checkbox 10' = & gt; 0, 'checkbox 11' = & gt; 0, 'checkbox 12' = & gt; 0, 'checkbox 13' = & gt; 0, 'checkbox 14' = & gt; 0, 'checkbox 15' = & gt; 0, 'checkbox 16' = & gt; 0, 'checkbox 17' = & gt; 0, 'checkbox 18' = & gt; 0, 'checkbox19' = & gt; 0, 'checkbox 20' = & gt; 0, 'created' = & gt; '', 'Renewal' = & gt; '', 'Currency id' => 1, 'name' = & gt; ''
The key you use is the key, so "EC" is not equal to "EC". If you are not certified, the API also gives a blank object, it seems as if it is not working.
So one thing is that you are giving the name 'usname'; 'Password' no 'Username' & amp; One more thing to 'password' is that I & lt; & Lt; This doctor & lt; & Lt; This doctor for details of how to call API.
Comments
Post a Comment