Skip to content

Commit

Permalink
fix: add random number to buy order on create webpay plus mall transa…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Matiasnickolas committed Oct 8, 2024
1 parent cae6dbf commit ae2014f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/WebpayPlusMallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public function create()
[
"amount" => 10000,
"commerce_code" => 597055555536,
"buy_order" => "ordenCompraDetalle1234"
"buy_order" => "ordenCompraDetalle" . rand(1, 10000)
],
[
"amount" => 12000,
"commerce_code" => 597055555537,
"buy_order" => "ordenCompraDetalle4321"
"buy_order" => "ordenCompraDetalle" . rand(1, 10000)
],
]
];
Expand Down

0 comments on commit ae2014f

Please sign in to comment.