Skip to content

Commit

Permalink
Tool - Allow float amount
Browse files Browse the repository at this point in the history
  • Loading branch information
yidas committed Aug 3, 2021
1 parent ca30097 commit 4cceb9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tool/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Use Order Check API to confirm the transaction
$response = $linePay->details([
'transactionId' => $input['transactionId'],
], "v2");
], "v3");

// Log
saveLog('Payment Details API', $response);
Expand Down
2 changes: 1 addition & 1 deletion tool/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"packages" => [
[
"id" => "pid",
"amount" => (integer) $input['amount'],
"amount" => (float) $input['amount'],
"name" => "Package Name",
"products" => [
[
Expand Down

0 comments on commit 4cceb9a

Please sign in to comment.