Skip to content

Commit c95f6e8

Browse files
author
Mark O'Keeffe
committed
Limit description to 64 chars
1 parent 0ec91e9 commit c95f6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/CreateSessionRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function getData()
2222
$data = [
2323
'type' => 'purchase',
2424
'currency' => $this->getCurrency(),
25-
'merchantReference' => $this->getMerchantReference(),
25+
'merchantReference' => substr($this->getMerchantReference(), 0, 64),
2626
'storeCard' => 0,
2727
'callbackUrls' => [
2828
'approved' => 'http://example.com?status=approved',

0 commit comments

Comments
 (0)