Пример #1
0
 /**
  * Process payment on checkout page.
  *
  * @param IsotopeProductCollection|Order $objOrder  The order being places
  * @param \Module                        $objModule The checkout module instance
  *
  * @return bool
  */
 public function processPayment(IsotopeProductCollection $objOrder, \Module $objModule)
 {
     // If the order has already been placed through postsale
     if ($objOrder->isCheckoutComplete()) {
         return true;
     }
     // In processPayment, the parameters are always in GET
     $this->psp_http_method = 'GET';
     return $this->processPostsale($objOrder);
 }