Skip to content

Commit

Permalink
Merge pull request #121 from QuickPay/add-new-paypalpayments
Browse files Browse the repository at this point in the history
paypalpayments form added
  • Loading branch information
Kennet authored May 10, 2023
2 parents 9f96a9f + 9aa8021 commit b43494c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/form/paypalpayments.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div class="container">
<form action="{{ model.redirect_url }}" method="GET" target="_top" class="autosubmit">
{% for field in model.params %}
<input type="hidden" name="{{ field[0] }}" value='{{ field[1] }}' />
{% endfor %}

<div class="row">
<div class="col-sm-4 col-sm-push-8 col-xs-6 col-xs-push-3">
<img src="/assets/v2/images/brands/paypal-payments.svg" alt="PayPalPayments" title="PayPalPayments" style="width:100%">
</div>
<div class="col-sm-8 col-sm-pull-4 col-xs-12">
<p>{% t When you click the button below, the PayPalPayments payment window will open. %}</p>
<p>{% t When finished, you will be redirected back to your receipt. %}</p>
<button type="submit" class="btn btn-info btn">{% t Proceed to payment %}</button>
</div>
</div>
</form>
</div>

0 comments on commit b43494c

Please sign in to comment.