-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
72 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
{% load i18n %} | ||
|
||
{% if payment_info and order.status == "p" %} | ||
<p>{% blocktrans trimmed %} | ||
This order has been paid via Paybox/Up2Pay Payment. | ||
{% if payment.state == "confirmed" and order.status == "p" %} | ||
<p>{% blocktrans trimmed %} | ||
This order has been paid via Paybox/Up2Pay Payment. | ||
{% endblocktrans %}</p> | ||
|
||
<dl class="dl-horizontal"> | ||
<dt>{% trans "Payer" %}</dt> | ||
<dd>{{ payment_info.payer }}</dd> | ||
<dt>{% trans "Payment date" %}</dt> | ||
<dd>{{ payment_info.date }}</dd> | ||
<dt>{% trans "Reference" %}</dt> | ||
<dd>{{ payment_info.reference }}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>{% trans "Transaction" %}</dt> | ||
<dd>{{ payment_info.transactionId }}</dd> | ||
<dt>{% trans "Authorization" %}</dt> | ||
<dd>{{ payment_info.authorizationId }}</dd> | ||
<dt>{% trans "Card type" %}</dt> | ||
<dd>{{ payment_info.cardType }}</dd> | ||
<dt>{% trans "Card number" %}</dt> | ||
<dd>{{ payment_info.cardNumber }}-- ---- ----</dd> | ||
<dt>{% trans "Card expiration" %}</dt> | ||
<dd>{{ payment_info.cardExpiration }}</dd> | ||
<dt>{% trans "Payment date" %}</dt> | ||
<dd>{{ payment_info.date }} {{ payment_info.time }}</dd> | ||
<dt>{% trans "Reference" %}</dt> | ||
<dd>{{ payment_info.payboxRef }}</dd> | ||
</dl> | ||
{% else %} | ||
{% if order.status == "p" %} | ||
<p>{% blocktrans trimmed %} | ||
This order has been marked as paid via Paybox/Up2Pay Payment manually. | ||
{% endblocktrans %}</p> | ||
{% else %} | ||
<p>{% blocktrans trimmed %} | ||
This order has been planned to be paid via Paybox/Up2Pay Payment, but no payment has been received yet. | ||
{% endblocktrans %}</p> | ||
{% endif %} | ||
<dl class="dl-horizontal"> | ||
<dt>{% trans "Reference code" %}</dt> | ||
<dd>{{ order.full_code }}</dd> | ||
</dl> | ||
<p>{% blocktrans trimmed %} | ||
This order has been planned to be paid via Paybox/Up2Pay Payment, but no payment has been received yet. | ||
{% endblocktrans %}</p> | ||
<dl class="dl-horizontal"> | ||
<dt>{% trans "Reference code" %}</dt> | ||
<dd>{{ order.full_code }}</dd> | ||
</dl> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters