Skip to content

Commit 2320558

Browse files
committed
triv: fix token example in direct transactions in PHP
1 parent 49226b3 commit 2320558

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)