}
 if ($paypal) {
     $item->PaymentMethods[] = $PaymentMethodCode->PayPal;
     $item->PayPalEmailAddress = EBAY_PAYPAL_EMAIL_ADDRESS;
 }
 //set shipping locations
 if ($ship2de) {
     $item->ShipToLocations[] = $CountryCodeType->DE;
 }
 if ($ship2at) {
     $item->ShipToLocations[] = $CountryCodeType->AT;
 }
 if ($ship2ch) {
     $item->ShipToLocations[] = $CountryCodeType->CH;
 }
 $item->setCheckoutSpecified(0);
 $item->setCheckoutInstructions(utf8_encode(AUCTIONS_TEXT_AFTERBUY));
 $item->AssignUUID();
 //First test all OK!
 $request = 'VerifyAddItem';
 $req = new VerifyAddItemRequestType();
 //add item to request
 $req->Item = $item;
 $req->ErrorLanguage = 'de_DE';
 //send item and get result from ebay
 $res = $cs->VerifyAddItem($req);
 if ($res->getAck() == $Facet_AckCodeType->Success) {
     $request = 'AddItem';
     $req = new AddItemRequestType();
     //add item to request
     $req->ErrorLanguage = 'de_DE';