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