Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Paytrail-dotnet-sdk/PayTrail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public Dictionary<string, string> GetHeaders(string method, string transactionId
headers["checkout-algorithm"] = "sha256";
headers["checkout-method"] = method.ToUpper();
headers["checkout-nonce"] = Guid.NewGuid().ToString();
headers["checkout-timestamp"] = datetime.ToString("Y-m-d\\TH:i:s.u\\Z");
string iso8601String = datetime.ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
headers["checkout-timestamp"] = iso8601String;
headers["platform-name"] = this.platformName;
headers["content-type"] = "application/json; charset=utf-8";

Expand Down