Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paypalpayments form #65

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>