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

Commit

Permalink
Fix HPP distribution method. The method did not send a body payout.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexions committed Nov 1, 2019
1 parent c86c6e4 commit 37eb9fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
## [Unreleased] (BugFix Release)

### Changed

### Added

### Fixed

- HostedPaymentPage distribute session method did not send a body payout. Resolves [#72](https://github.com/klarna/kco_rest_dotnet/issues/72);


## [3.1.6.1] - 2019-10-16 (Enhancements)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class HostedPaymentPageStore : BaseStore
public Task DistributeLinkToSession(string sessionId, HostedPaymentPageDistributeLink distribution)
{
var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, $"{sessionId}/distribution");
return Post(url);
return Post(url, distribution);
}

/// <summary>
Expand Down

0 comments on commit 37eb9fd

Please sign in to comment.