@@ -194,7 +194,7 @@ |
||
| 194 | 194 | $apiLogEntity->setErrorMessageUser($responseContainer->getCustomermessage()); |
| 195 | 195 | $apiLogEntity->setErrorCode($responseContainer->getErrorcode()); |
| 196 | 196 | |
| 197 | - $apiLogEntity->setRawResponse((string) json_encode($responseContainer->toArray())); |
|
| 197 | + $apiLogEntity->setRawResponse((string)json_encode($responseContainer->toArray())); |
|
| 198 | 198 | $apiLogEntity->save(); |
| 199 | 199 | } |
| 200 | 200 | |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | $quoteTransfer->getPayment()->requirePayone(); |
| 86 | - $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer, $saveOrderTransfer): void { |
|
| 86 | + $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer, $saveOrderTransfer): void { |
|
| 87 | 87 | $paymentTransfer = $quoteTransfer->getPaymentOrFail()->getPayoneOrFail(); |
| 88 | 88 | $paymentTransfer->setFkSalesOrder($saveOrderTransfer->getIdSalesOrder()); |
| 89 | 89 | $paymentPayoneEntity = $this->savePayment($paymentTransfer); |