Skip to content

Commit a85487a

Browse files
authored
Merge pull request #11 from SmartBase-SK/triv_php
triv: fix token example in direct transactions in PHP
2 parents bcd877e + 2320558 commit a85487a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

code_samples/php/v2.0.0/create_payment_direct.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"location" => "Test 123",
2626
"country" => "SK",
2727
]),
28-
"token" => new Tatrapayplus\TatrapayplusApiClient\Model\Token([
29-
"google_pay_token" => "ABC12345"
30-
]),
28+
"token" => "ABC12345",
3129
]);
3230

3331
$response = $tatrapayplus_api->initiateDirectTransaction(

0 commit comments

Comments
 (0)