Beispiel #1
0
 /**
  * Adjust module and module id for certain payment and/or shipping modules
  *
  * @param \Isotope\PostSale $objPostsale
  */
 public function setPostsaleModuleSettings(PostSale $objPostsale)
 {
     // Payment method "Payone"
     $strParam = \Input::post('param');
     if (strpos($strParam, 'paymentMethodPayone') !== false) {
         $intId = (int) str_replace('paymentMethodPayone', '', $strParam);
         $objPostsale->setModule('pay');
         $objPostsale->setModuleId($intId);
     }
 }