@everymatrix/cashier-page 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/dist/cashier-page.js +362 -349
- package/dist/cashier-page.js.map +1 -1
- package/index.html +1 -19
- package/package.json +2 -2
- package/src/CashierPage.svelte +18 -2
package/index.html
CHANGED
|
@@ -31,25 +31,7 @@
|
|
|
31
31
|
</header>
|
|
32
32
|
|
|
33
33
|
<div class="webcomponent">
|
|
34
|
-
<cashier-page
|
|
35
|
-
lang="en"
|
|
36
|
-
local="en-US"
|
|
37
|
-
channel="Desktop"
|
|
38
|
-
type="Deposit"
|
|
39
|
-
session="a4db5664-cefc-4a37-b2b1-e05e5ec31a73"
|
|
40
|
-
translationurl="https://static.everymatrix.com/mmstage/translations/1995/mm-localization-en.json"
|
|
41
|
-
assetsurl="https://static.everymatrix.com/mmstage/cashier/operator-assets/1995"
|
|
42
|
-
endpoint="https://zirvebet-api.stage.norway.everymatrix.com"
|
|
43
|
-
merchantid="2719"
|
|
44
|
-
successurl="https://odeonbet-stage.mazeday.com/tr/receipt"
|
|
45
|
-
failurl="https://odeonbet-stage.mazeday.com/tr/receipt"
|
|
46
|
-
cancelurl="https://odeonbet-stage.mazeday.com/tr/receipt"
|
|
47
|
-
customerid="6440095"
|
|
48
|
-
currency="TRY"
|
|
49
|
-
numberofmethodsshown="1"
|
|
50
|
-
amount="10"
|
|
51
|
-
>
|
|
52
|
-
</cashier-page>
|
|
34
|
+
<cashier-page type="Deposit" channel="Desktop" translationurl="https://static.everymatrix.com/mmstage/translations/6/mm-localization-en-8.json" endpoint="https://zirvebet-api.stage.norway.everymatrix.com" session="afdf7cf2-75ef-4375-8b0b-562e19ed75ed" lang="tr" customerid="6446553" currency="TRY" amount="0" dateformat="YYYY/MM/DD" timeformat="HH:mm:ss" dateandtimeformat="D.MM.YYYY, h:mm:ss a" clientstylingurl="https://zirvebet-stage.everymatrix.com/static/css/widgets/cashier-page/style-1.0.227.css" failurl="https://zirvebet-stage.everymatrix.com/tr/receipt" successurl="https://zirvebet-stage.everymatrix.com/tr/receipt" cancelurl="https://zirvebet-stage.everymatrix.com/tr/receipt"></cashier-page>
|
|
53
35
|
</div>
|
|
54
36
|
|
|
55
37
|
</body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/cashier-page",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "d3dbfca9fcdc2d9df9a01f60f283ed699ec828fb"
|
|
39
39
|
}
|
package/src/CashierPage.svelte
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import {TxnChannel, TxnType, ResponseCode} from "./CashierPage.types";
|
|
9
9
|
|
|
10
10
|
import '@everymatrix/cashier-header';
|
|
11
|
+
import '@everymatrix/cashier-verifications';
|
|
11
12
|
import '@everymatrix/cashier-methods-list';
|
|
12
13
|
import '@everymatrix/cashier-method-details';
|
|
13
14
|
import '@everymatrix/cashier-error';
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
export let clientstyling: string = '';
|
|
51
52
|
export let clientstylingurl: string = '';
|
|
52
53
|
export let showsessionexpirationmodal: string = 'true';
|
|
54
|
+
export let showverifications: string = 'true';
|
|
53
55
|
|
|
54
56
|
let xPlayerSessionId: string;
|
|
55
57
|
let xPaymentSessionToken: string;
|
|
@@ -331,8 +333,8 @@
|
|
|
331
333
|
{customerid}
|
|
332
334
|
selectedpaymentmethodname="{selectedPaymentMethod.Name}"
|
|
333
335
|
>
|
|
334
|
-
</cashier-session-expiration-modal>
|
|
335
|
-
{/if}
|
|
336
|
+
</cashier-session-expiration-modal>
|
|
337
|
+
{/if}
|
|
336
338
|
{#if showConfirmModal}
|
|
337
339
|
<cashier-confirm-modal
|
|
338
340
|
{clientstylingurl}
|
|
@@ -347,6 +349,17 @@
|
|
|
347
349
|
{#if !errorMessage && !errorResponseCode}
|
|
348
350
|
<div class="CashierPage">
|
|
349
351
|
<div class="CashierMethodListWrapper">
|
|
352
|
+
{#if !!showverifications && showverifications !== 'false'}
|
|
353
|
+
<cashier-verifications
|
|
354
|
+
{lang}
|
|
355
|
+
{translationurl}
|
|
356
|
+
{endpoint}
|
|
357
|
+
{clientstylingurl}
|
|
358
|
+
{clientstyling}
|
|
359
|
+
{customerid}
|
|
360
|
+
session="{xPaymentSessionToken}"
|
|
361
|
+
></cashier-verifications>
|
|
362
|
+
{/if}
|
|
350
363
|
<cashier-methods-list
|
|
351
364
|
{lang}
|
|
352
365
|
{local}
|
|
@@ -445,6 +458,9 @@
|
|
|
445
458
|
border-radius: 6px;
|
|
446
459
|
border: 1px solid var(--mmw--color-grey-105, #E8E9EB);
|
|
447
460
|
box-sizing: border-box;
|
|
461
|
+
.IframeRedirect {
|
|
462
|
+
border-radius: 6px;
|
|
463
|
+
}
|
|
448
464
|
.Content, .CashierPage, .DisablePage {
|
|
449
465
|
height: calc(100% - var(--mmw--header-height, 32px));
|
|
450
466
|
}
|