2018-01-07 04:55:48 +10:00
|
|
|
<div class="col-xl-8 col-xl-offset-2 col-xs-12">
|
|
|
|
<div class="row">
|
|
|
|
<div class="text-center col-md-10 col-md-offset-1">
|
|
|
|
{{#ifCond result.orderStatus '==' 'Paid'}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<h2 class="text-success">{{ @root.__ "Your payment has been successfully processed" }}</h2>
|
2018-01-07 04:55:48 +10:00
|
|
|
{{else}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<h2 class="text-danger">{{ @root.__ "Your payment has failed. Please try again or contact us." }}</h2>
|
2018-01-07 04:55:48 +10:00
|
|
|
{{/ifCond}}
|
|
|
|
{{#if result}}
|
|
|
|
<div>
|
2019-11-06 18:31:25 +10:00
|
|
|
<p><strong>{{ @root.__ "Order ID" }}:</strong> {{result._id}}</p>
|
|
|
|
<p><strong>{{ @root.__ "Payment ID" }}:</strong> {{result.orderPaymentId}}</p>
|
2018-01-07 04:55:48 +10:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#ifCond result.orderStatus '==' 'Paid'}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<h3 class="text-warning">{{ @root.__ "Please retain the details above as a reference of payment." }}</h3>
|
2018-01-07 04:55:48 +10:00
|
|
|
{{/ifCond}}
|
|
|
|
<a href="/" class="btn btn-warning">Home</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-06 18:31:25 +10:00
|
|
|
</div>
|