Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Emit response rather than request.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Duijnhoven committed Dec 14, 2016
1 parent 44faf85 commit d86f592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public function refund(
$this->logger->info("Payment capture: " . $merchantRefundReference, (array) $request->toArray());
$response = $this->soap('refund', [$request->toArray()]);
$this->logger->info("Payment capture soap request: " . $merchantRefundReference, (array) $this->soapClient->__getLastRequest());
$this->logger->info("Payment capture soap response: " . $merchantRefundReference, (array) $this->soapClient->__getLastRequest());
$this->logger->info("Payment capture soap response: " . $merchantRefundReference, (array) $this->soapClient->__getLastResponse());

// validate response
if (isset($response->refundError)) {
Expand Down Expand Up @@ -519,7 +519,7 @@ public function status($paymentOrderKey)
/** @var StatusResponse $response */
$response = $this->soap('status', [$request->toArray()]);
$this->logger->info("Payment status soap request: " . $paymentOrderKey, (array) $this->soapClient->__getLastRequest());
$this->logger->info("Payment status soap response: " . $paymentOrderKey, (array) $this->soapClient->__getLastRequest());
$this->logger->info("Payment status soap response: " . $paymentOrderKey, (array) $this->soapClient->__getLastResponse());

// validate response
if ($response->getStatusError()) {
Expand Down

0 comments on commit d86f592

Please sign in to comment.