Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #53 from dcolt/v4.x
Browse files Browse the repository at this point in the history
Add expected distributeLink return
  • Loading branch information
alexions committed Feb 21, 2020
2 parents 6c092bd + 4ef9751 commit b488775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Klarna/Rest/HostedPaymentPage/Sessions.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function distributeLink(array $data)
{
$this->post($this->getLocation() . '/distribution', $data)
->expectSuccessfull()
->status(['200', '201']);
->status(['200', '201', '204']);

return $this;
}
Expand Down

0 comments on commit b488775

Please sign in to comment.