Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jul 1, 2016
1 parent 62e0b08 commit 6523205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ public function get_data() {
'txntype' => 'sale',
// According the EMS documentation the timezone should be in `Area/Location` notation, but it seems like `UTC` is also working.
'timezone' => 'UTC',
'txndatetime' => current_time( 'Y:m:d-H:i:s', 1 ),
// In WordPress, PHP's `time()` will always return `UTC` and is the same as calling `current_time( 'timestamp', true )`.
'txndatetime' => current_time( 'Y:m:d-H:i:s', true ),
'hash_algorithm' => 'SHA256',
'storename' => $this->get_storename(),
'mode' => 'payonly',
Expand Down

0 comments on commit 6523205

Please sign in to comment.