This commit is contained in:
Lizandro Guarnizo
2026-04-21 18:32:01 -05:00
parent e6f749e059
commit 877a0d393a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class ShowRecargas extends Component
$this->referencia = Str::random(20);
$this->monto = ((($recharge * 0.03) + 700) * 0.19) + (($recharge * 0.03) + 700) + $recharge;
$this->monto = (int) ceil(((($recharge * 0.03) + 700) * 0.19) + (($recharge * 0.03) + 700) + $recharge);
$recargas = new recarga;
$recargas->monto = $this->monto;
@@ -21,7 +21,7 @@
$item = new MercadoPago\Item();
$item->title = 'Recarga SrPremium';
$item->quantity = 1;
$item->unit_price = $monto;
$item->unit_price = (int) ceil($monto);
// Restricción de métodos de pago (excluir tarjetas de crédito)
$payment_methods = new MercadoPago\PaymentMethod();