Skip to content

Commit

Permalink
fix: remove casting
Browse files Browse the repository at this point in the history
  • Loading branch information
victormendoza96 committed Aug 1, 2024
1 parent 6082d66 commit e355c9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/WebpayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function create()

$createTx = [
'buyOrder' => "O-" . rand(1, 10000),
"sessionId" => "S-" . (string)(rand(1, 10000)),
"sessionId" => "S-" . rand(1, 10000),
'returnUrl' => url('/') . '/webpay-plus/commit',
'amount' => rand(1000, 2000)
];
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/WebpayPlusDeferredController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function create()

$createTx = [
'buyOrder' => "O-" . rand(1, 10000),
"sessionId" => "S-" . (string)(rand(1, 10000)),
"sessionId" => "S-" . rand(1, 10000),
'returnUrl' => url('/') . '/webpay-plus-diferido/commit',
'amount' => rand(1000, 2000)
];
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/WebpayPlusMallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function create()

$createTx = [
"buy_order" => "O-" . rand(1, 10000),
"session_id" => "S-" . (string)(rand(1, 10000)),
"session_id" => "S-" . rand(1, 10000),
"return_url" => url("/") . "/webpay-mall/commit",
"details" => [
[
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/WebpayPlusMallDeferredController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function create()

$createTx = [
'buy_order' => "O-" . rand(1, 10000),
"session_id" => "S-" . (string)(rand(1, 10000)),
"session_id" => "S-" . rand(1, 10000),
'return_url' => url('/') . '/webpay-mall-diferido/commit',
'details' => [
[
Expand Down

0 comments on commit e355c9a

Please sign in to comment.