/**
  * Set up trusted shop
  *
  * @param array $aTrustedShop of trusted shops data
  *
  * @return string selected product id
  */
 protected function _setTrustedShop($aTrustedShop)
 {
     if (empty($aTrustedShop)) {
         return null;
     }
     if ($aTrustedShop['payments']) {
         foreach ($aTrustedShop['payments'] as $sShopPayId => $sTsPayId) {
             $aPayment = new oxPayment();
             if ($aPayment->load($sShopPayId)) {
                 $aPayment->oxpayments__oxtspaymentid = new oxField($sTsPayId);
                 $aPayment->save();
             }
         }
     }
     return $aTrustedShop['product_id'];
 }