Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Mar 4, 2024
1 parent 7594977 commit 25d9f0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Contract/SaferpayHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ public function iInitializePayment(): AuthorizeResponse
$response = json_decode($this->browser->getResponse()->getContent(), true);
$response['StatusCode'] = 200;

var_dump($response);

return AuthorizeResponse::fromArray($response);
}

Expand All @@ -89,6 +91,8 @@ public function iAssertPayment(string $token): AssertResponse
$response = json_decode($this->browser->getResponse()->getContent(), true);
$response['StatusCode'] = 200;

var_dump($response);

return AssertResponse::fromArray($response);
}

Expand All @@ -106,6 +110,8 @@ public function iCapturePayment(string $transactionId): CaptureResponse
$response = json_decode($this->browser->getResponse()->getContent(), true);
$response['StatusCode'] = 200;

var_dump($response);

return CaptureResponse::fromArray($response);
}

Expand All @@ -123,6 +129,8 @@ public function iRefundPayment(string $captureId): RefundResponse
$response = json_decode($this->browser->getResponse()->getContent(), true);
$response['StatusCode'] = 200;

var_dump($response);

return RefundResponse::fromArray($response);
}
}

0 comments on commit 25d9f0d

Please sign in to comment.