up
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user