correccion cajita

parent 70d6d274
{% extends 'frontend/base.html.twig' %}
{% block title %}Reproductor{% endblock %}
{% block stylesheets %}
<link href="{{asset('frontend/css/styles-player.css')}}" rel="stylesheet">
{% endblock %}
{% block body %}
<header class="masthead-sc text-white">
<div class="masthead-content">
<div class="container subheader-info col-10 offset-1 mt-4 mb-3">
<div class="row">
<div class="col-12">
<p class="numero-top text-left">
{{ lista.getLisNombre() }}
</p>
{% if error is defined %}
<div align="center">
<div class="alert alert-danger"> {{ error }} </div>
</div>
{% endif %}
{% if mensaje is defined %}
<div align="center">
<div class="alert alert-success"> {{ mensaje }} </div>
</div>
{% endif %}
</div>
{% if mostrarKushki == 1%}
<div class="col-12">
<form id="kushki-pay-form" action="confirm" method="post">
<input type="hidden" name="userIdentifier" value="{{ msisdn }}">
<input type="hidden" name="productId" value="{{ lista.getLisId() }}">
<input type="hidden" name="productPrice" value="{{ lista.getLisPrecio() }}">
<input type="hidden" name="productName" value="{{ lista.getLisNombre() }}">
</form>
</div>
{% endif %}
</div>
</div>
<!-- header con mensaje -->
<form action="{{ path('front_index') }}">
<div class="container subheader-info col-10 offset-1 mt-4 mb-3">
<div class="row">
<div class="col-12">
<button type="submit" class="btn btn-codigo-suscripcion col-11 mt-4 mb-5">Volver</button>
</div>
</div>
</div>
</form>
</div>
</header>
{% endblock %}
{%block javascripts %}
{% if mostrarKushki == 1%}
<script src="https://cdn.kushkipagos.com/kushki-checkout.js"></script>
<script type="text/javascript">
var kushki = new KushkiCheckout({
form: "kushki-pay-form",
merchant_id: "{{publicMerchantId}}",
amount: "500.0",
currency: "CLP",
payment_methods: ["credit-card"], // Payments Methods enabled
is_subscription: false, // Optional
inTestEnvironment: true,
regional: false // Optional
});
</script>
{%endif%}
</script>
{%endblock%}
{% extends 'frontend/base.html.twig' %}
{% block title %}Reproductor{% endblock %}
{% block stylesheets %}
<link href="{{asset('frontend/css/styles-player.css')}}" rel="stylesheet">
{% endblock %}
{% block body %}
<header class="masthead-sc text-white">
<div class="masthead-content">
<div class="container subheader-info col-10 offset-1 mt-4 mb-3">
<div class="row">
<div class="col-12">
<p class="numero-top text-left">
{{ lista.getLisNombre() }}
</p>
{% if error is defined %}
<div align="center">
<div class="alert alert-danger"> {{ error }} </div>
</div>
{% endif %}
{% if mensaje is defined %}
<div align="center">
<div class="alert alert-success"> {{ mensaje }} </div>
</div>
{% endif %}
</div>
{% if mostrarKushki == 1%}
<div class="col-12">
<form id="kushki-pay-form" action="confirm" method="post">
<input type="hidden" name="userIdentifier" value="{{ msisdn }}">
<input type="hidden" name="productId" value="{{ lista.getLisId() }}">
<input type="hidden" name="productPrice" value="{{ lista.getLisPrecio() }}">
<input type="hidden" name="productName" value="{{ lista.getLisNombre() }}">
</form>
</div>
{% endif %}
</div>
</div>
<!-- header con mensaje -->
<form action="{{ path('front_index') }}">
<div class="container subheader-info col-10 offset-1 mt-4 mb-3">
<div class="row">
<div class="col-12">
<button type="submit" class="btn btn-codigo-suscripcion col-11 mt-4 mb-5">Volver</button>
</div>
</div>
</div>
</form>
</div>
</header>
{% endblock %}
{%block javascripts %}
{% if mostrarKushki == 1%}
<script src="https://cdn.kushkipagos.com/kushki-checkout.js"></script>
<script type="text/javascript">
var kushki = new KushkiCheckout({
form: "kushki-pay-form",
merchant_id: "{{publicMerchantId}}",
amount: "{{lista.getLisPrecio()}}.0",
currency: "CLP",
payment_methods: ["credit-card"], // Payments Methods enabled
is_subscription: true, // Optional
inTestEnvironment: true,
regional: false // Optional
});
</script>
{%endif%}
</script>
{%endblock%}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment