forked from bitegarden/bitegarden.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paypal-error.html
97 lines (88 loc) · 2.87 KB
/
paypal-error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
layout: page
title: Error processing transaction with PayPal
description: There was an error processing your purchase with Paypal
permalink: /paypal-error
---
<!-- Slider Start -->
<section id="global-header-downloads">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="block">
<h1>Ups! Sorry! </h1>
</div>
</div>
</div>
</div>
</section>
<section style="padding-top: 40px; padding-bottom: 40px">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="block text-center">
<h2>
There was a problem processing your transaction!<br>
</h2>
<h2>
<strong>Transaction ID:</strong> <span id="paypal-transaction-id"></span>
</h2>
<h2>
<strong>Status Error:</strong> <span id="paypal-status-error"></span>
</h2>
</div>
</div>
<div class="col-md-1 text-center">
</div>
<div class="col-md-5 text-center">
<div class="block">
</div>
</section>
<section id="help" style="padding-top: 40px; padding-bottom: 60px; background: #4b4955; color:#fff">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="block">
<h1>
Need help?
</h1>
<p>Please, try to repeat the purchase order. If the error still persists, open a ticket in our <a href="https://bitegarden.atlassian.net/servicedesk/customer/portal/1" target="_blank">support portal</a> and we will answer you as soon as possible.
</p>
<p>
</p>
<p class="text-center">
<a class="btn btn-default btn-call-to-action fancybox" href="https://bitegarden.atlassian.net/servicedesk/customer/portal/1" target="_blank">Open a support request</a>
</p>
</div>
</div>
</div>
</div>
</section>
<section id="update-center-description">
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</section>
<script type="text/javascript">
$(document).ready(function() {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const paypalId = urlParams.get('paypal-transaction-id');
const paypalError = urlParams.get('paypal-status-error');
if (paypalId) {
document.getElementById('paypal-transaction-id').textContent=paypalId;
}
else {
document.getElementById('paypal-transaction-id').textContent="not found";
}
if (paypalError) {
document.getElementById('paypal-status-error').textContent=paypalError;
}
else {
document.getElementById('paypal-status-error').textContent="not found";
}
});
</script>