Merge branch 'main' of https://git.0x000f.ru/Marks/hpp-platform
This commit is contained in:
commit
83ea4e5f1f
@ -34,6 +34,8 @@
|
|||||||
let showNormal = false;
|
let showNormal = false;
|
||||||
let showTimeout = false;
|
let showTimeout = false;
|
||||||
|
|
||||||
|
let currency = "";
|
||||||
|
|
||||||
const delay = (ms) => new Promise((res) => setTimeout(res, ms));
|
const delay = (ms) => new Promise((res) => setTimeout(res, ms));
|
||||||
//http://localhost:8080/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXUyJ9.eyJleHAiOjE3MjQzNjEzOTgsImlhdCI6MTcyMTk0MjE5OCwiaW5fY3VycmVuY3lfY29kZSI6IktHUyIsImlzcyI6Ikhvc3RhcGF5Iiwib3JkZXJfaWQiOiIxZjhjOTI2NC1lZWQ3LTRhYzMtYTEyZC0xYzEzMjg4MWM4NzQiLCJvdXRfY3VycmVuY3lfY29kZSI6IktHUyJ9.w_ki56Hb81kX2SoS9qm0Je3atBhmUWTQaYYrLX-udCM
|
//http://localhost:8080/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXUyJ9.eyJleHAiOjE3MjQzNjEzOTgsImlhdCI6MTcyMTk0MjE5OCwiaW5fY3VycmVuY3lfY29kZSI6IktHUyIsImlzcyI6Ikhvc3RhcGF5Iiwib3JkZXJfaWQiOiIxZjhjOTI2NC1lZWQ3LTRhYzMtYTEyZC0xYzEzMjg4MWM4NzQiLCJvdXRfY3VycmVuY3lfY29kZSI6IktHUyJ9.w_ki56Hb81kX2SoS9qm0Je3atBhmUWTQaYYrLX-udCM
|
||||||
/**
|
/**
|
||||||
@ -112,8 +114,7 @@
|
|||||||
try {
|
try {
|
||||||
let t = jwtDecode(token);
|
let t = jwtDecode(token);
|
||||||
orderID = t["order_id"];
|
orderID = t["order_id"];
|
||||||
currency = t["out_currency_code"];
|
// //console.log(t);
|
||||||
console.log(t);
|
|
||||||
validJWT = true;
|
validJWT = true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
validJWT = false;
|
validJWT = false;
|
||||||
@ -258,6 +259,8 @@
|
|||||||
let showLoadingScreen = false;
|
let showLoadingScreen = false;
|
||||||
let disableGetReqBtn = false;
|
let disableGetReqBtn = false;
|
||||||
|
|
||||||
|
let orderAmount = "";
|
||||||
|
|
||||||
let paymentMethods = [];
|
let paymentMethods = [];
|
||||||
async function getPaymentMethods() {
|
async function getPaymentMethods() {
|
||||||
try {
|
try {
|
||||||
@ -297,8 +300,7 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
requestingReqs = false;
|
requestingReqs = false;
|
||||||
requisites = result.data["requisite"] ?? [];
|
requisites = result.data["requisite"];
|
||||||
orderAmount = result.data["amount"];
|
|
||||||
// console.log(result);
|
// console.log(result);
|
||||||
showReqs = true;
|
showReqs = true;
|
||||||
startPingingStatus();
|
startPingingStatus();
|
||||||
@ -1063,12 +1065,6 @@
|
|||||||
<p class="text-white opacity-50 text-sm">
|
<p class="text-white opacity-50 text-sm">
|
||||||
Почта: support@24paymentgateway.ru
|
Почта: support@24paymentgateway.ru
|
||||||
</p>
|
</p>
|
||||||
<button
|
|
||||||
on:click={() => {
|
|
||||||
showOpenDisputeForDumbs = true;
|
|
||||||
}}
|
|
||||||
class="btn btn-outline mt-4">Чтобы открыть спор, нажмите сюда</button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
Reference in New Issue
Block a user