@@ -40,6 +40,6 @@ |
||
| 40 | 40 | { |
| 41 | 41 | // $options = $this->eccubeConfig['doctrine_cache']; |
| 42 | 42 | // return $options['result_cache']['lifetime']; |
| 43 | - return 0; // FIXME |
|
| 43 | + return 0; // FIXME |
|
| 44 | 44 | } |
| 45 | 45 | } |
@@ -529,7 +529,7 @@ |
||
| 529 | 529 | { |
| 530 | 530 | $curl = curl_init($url); |
| 531 | 531 | |
| 532 | - $options = [ // オプション配列 |
|
| 532 | + $options = [// オプション配列 |
|
| 533 | 533 | //HEADER |
| 534 | 534 | CURLOPT_HTTPHEADER => [ |
| 535 | 535 | 'Authorization: '.base64_encode($authKey), |
@@ -877,7 +877,7 @@ |
||
| 877 | 877 | if ($dispatcher instanceof Response |
| 878 | 878 | && ($dispatcher->isRedirection() || $dispatcher->getContent()) |
| 879 | 879 | ) { // $paymentMethod->apply() が Response を返した場合は画面遷移 |
| 880 | - return $dispatcher; // 画面遷移したいパターンが複数ある場合はどうする? 引数で制御? |
|
| 880 | + return $dispatcher; // 画面遷移したいパターンが複数ある場合はどうする? 引数で制御? |
|
| 881 | 881 | } |
| 882 | 882 | $PaymentResult = $paymentService->doCheckout($paymentMethod); // 決済実行 |
| 883 | 883 | if (!$PaymentResult->isSuccess()) { |
@@ -272,17 +272,13 @@ |
||
| 272 | 272 | $data['product_name'] = $Product->getName(); |
| 273 | 273 | $data['product_code'] = $ProductClass->getCode(); |
| 274 | 274 | $data['class_name1'] = $ProductClass->hasClassCategory1() ? |
| 275 | - $ProductClass->getClassCategory1()->getClassName() : |
|
| 276 | - null; |
|
| 275 | + $ProductClass->getClassCategory1()->getClassName() : null; |
|
| 277 | 276 | $data['class_name2'] = $ProductClass->hasClassCategory2() ? |
| 278 | - $ProductClass->getClassCategory2()->getClassName() : |
|
| 279 | - null; |
|
| 277 | + $ProductClass->getClassCategory2()->getClassName() : null; |
|
| 280 | 278 | $data['class_category_name1'] = $ProductClass->hasClassCategory1() ? |
| 281 | - $ProductClass->getClassCategory1()->getName() : |
|
| 282 | - null; |
|
| 279 | + $ProductClass->getClassCategory1()->getName() : null; |
|
| 283 | 280 | $data['class_category_name2'] = $ProductClass->hasClassCategory2() ? |
| 284 | - $ProductClass->getClassCategory2()->getName() : |
|
| 285 | - null; |
|
| 281 | + $ProductClass->getClassCategory2()->getName() : null; |
|
| 286 | 282 | $data['price'] = $ProductClass->getPrice02(); |
| 287 | 283 | $data['quantity'] = empty($data['quantity']) ? 1 : $data['quantity']; |
| 288 | 284 | $data['tax_type'] = TaxType::TAXATION; |
@@ -199,8 +199,7 @@ |
||
| 199 | 199 | $this->ProductClass = $ProductClass; |
| 200 | 200 | |
| 201 | 201 | $this->product_class_id = is_object($ProductClass) ? |
| 202 | - $ProductClass->getId() : |
|
| 203 | - null; |
|
| 202 | + $ProductClass->getId() : null; |
|
| 204 | 203 | |
| 205 | 204 | return $this; |
| 206 | 205 | } |