|
@@ 277-283 (lines=7) @@
|
| 274 |
|
} |
| 275 |
|
|
| 276 |
|
$response = $PaymentResult->getResponse(); |
| 277 |
|
if ($response && ($response->isRedirection() || $response->getContent())) { |
| 278 |
|
$this->entityManager->flush(); |
| 279 |
|
|
| 280 |
|
log_info('[注文確認] PaymentMethod::verifyが指定したレスポンスを表示します.'); |
| 281 |
|
|
| 282 |
|
return $response; |
| 283 |
|
} |
| 284 |
|
} |
| 285 |
|
|
| 286 |
|
$this->entityManager->flush(); |
|
@@ 760-765 (lines=6) @@
|
| 757 |
|
$PaymentResult = $paymentMethod->checkout(); |
| 758 |
|
$response = $PaymentResult->getResponse(); |
| 759 |
|
// PaymentResultがresponseを保持している場合はresponseを返す |
| 760 |
|
if ($response && ($response->isRedirection() || $response->getContent())) { |
| 761 |
|
$this->entityManager->flush(); |
| 762 |
|
log_info('[注文処理] PaymentMethod::checkoutが指定したレスポンスを表示します.'); |
| 763 |
|
|
| 764 |
|
return $response; |
| 765 |
|
} |
| 766 |
|
|
| 767 |
|
// エラー時はロールバックして購入エラーとする. |
| 768 |
|
if (!$PaymentResult->isSuccess()) { |