コード例 #1
0
ファイル: payment.php プロジェクト: andrewkrug/repucaution
 /**
  * Send response
  *
  * @param Payment_transaction $transaction
  * @param RedirectResponse $response
  */
 protected function sendResponse(Payment_transaction $transaction, RedirectResponse $response)
 {
     switch ($transaction->system) {
         case 'authorize.net_sim':
             $response->sendContent();
             break;
         default:
             $response->send();
             break;
     }
     exit;
 }