@payfurl/client 4.6.15 → 4.6.17

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.
Files changed (38) hide show
  1. package/dist/sdk/{CxPayThreeDsProvider-920dd7f4.mjs → CxPayThreeDsProvider-02e1c15d.mjs} +3 -3
  2. package/dist/sdk/{DefaultThreeDsProvider-cdf19532.mjs → DefaultThreeDsProvider-5bbd9bcd.mjs} +4 -4
  3. package/dist/sdk/{EcentricThreeDsProvider-e573e02e.mjs → EcentricThreeDsProvider-bed332f9.mjs} +2 -2
  4. package/dist/sdk/{EpnaThreeDsProvider-1afe9080.mjs → EpnaThreeDsProvider-c1f5c9fa.mjs} +3 -3
  5. package/dist/sdk/{FlashBancThreeDsProvider-17fbf9d0.mjs → FlashBancThreeDsProvider-9d5b3ff3.mjs} +3 -3
  6. package/dist/sdk/{GPaymentsThreeDsProvider-d531c583.mjs → GPaymentsThreeDsProvider-16dc92e6.mjs} +2 -2
  7. package/dist/sdk/{MetricsGlobalThreeDsProvider-2a07e0b8.mjs → MetricsGlobalThreeDsProvider-7d0227b3.mjs} +2 -2
  8. package/dist/sdk/{NmiThreeDsProvider-0e1c4996.mjs → NmiThreeDsProvider-8ce84e51.mjs} +3 -3
  9. package/dist/sdk/{NuveiThreeDsProvider-da4c90dc.mjs → NuveiThreeDsProvider-82d61208.mjs} +4 -4
  10. package/dist/sdk/{PayGLocalThreeDsProvider-2874c9a8.mjs → PayGLocalThreeDsProvider-5aff4993.mjs} +6 -6
  11. package/dist/sdk/PayWayAppleButton-1a850092.mjs +160 -0
  12. package/dist/sdk/{PayabliThreeDsProvider-5b68fe3d.mjs → PayabliThreeDsProvider-0cb53366.mjs} +3 -3
  13. package/dist/sdk/{SkyBankThreeDsProvider-03da4b42.mjs → SkyBankThreeDsProvider-141ecfd6.mjs} +3 -3
  14. package/dist/sdk/cxpay-b3193036.mjs +10 -0
  15. package/dist/sdk/{default-7d1fe453.mjs → default-e43840e4.mjs} +2 -2
  16. package/dist/sdk/{ecentric-57103101.mjs → ecentric-81bae7f7.mjs} +3 -3
  17. package/dist/sdk/epna-749c8efd.mjs +10 -0
  18. package/dist/sdk/flashbanc-402a9b0a.mjs +10 -0
  19. package/dist/sdk/{gpayments-330b60f0.mjs → gpayments-349c834c.mjs} +3 -3
  20. package/dist/sdk/{main-8b76c43b.mjs → main-45dd3fda.mjs} +4400 -3901
  21. package/dist/sdk/{metrics_global-542a7fb2.mjs → metrics_global-1f068b80.mjs} +3 -3
  22. package/dist/sdk/nmi-85bcc67a.mjs +10 -0
  23. package/dist/sdk/{nuvei-b0b3afca.mjs → nuvei-1657def9.mjs} +3 -3
  24. package/dist/sdk/payabli-abb7c149.mjs +10 -0
  25. package/dist/sdk/payfurl.es.js +1 -1
  26. package/dist/sdk/payfurl.umd.js +12 -12
  27. package/dist/sdk/{payglocal-4bbe1685.mjs → payglocal-8a34ab60.mjs} +3 -3
  28. package/dist/sdk/payway_rest-ece82fc0.mjs +8 -0
  29. package/dist/sdk/skybank-60a82bbc.mjs +10 -0
  30. package/package.json +1 -1
  31. package/dist/sdk/PayWayAppleButton-65806000.mjs +0 -125
  32. package/dist/sdk/cxpay-5a9cebd9.mjs +0 -10
  33. package/dist/sdk/epna-6b2c283c.mjs +0 -10
  34. package/dist/sdk/flashbanc-230b1392.mjs +0 -10
  35. package/dist/sdk/nmi-2034659e.mjs +0 -10
  36. package/dist/sdk/payabli-998225f7.mjs +0 -10
  37. package/dist/sdk/payway_rest-2f85525f.mjs +0 -8
  38. package/dist/sdk/skybank-80434286.mjs +0 -10
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as r } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as r } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class i extends r {
5
5
  getType() {
6
6
  return "CxPay";
@@ -1,8 +1,8 @@
1
1
  var D = Object.defineProperty;
2
2
  var u = (n, e, s) => e in n ? D(n, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[e] = s;
3
3
  var o = (n, e, s) => (u(n, typeof e != "symbol" ? e + "" : e, s), s);
4
- import { d as S, r as d, o as g, b as p, c as T, e as i, f as _, C as m, u as I, p as f, h as y, _ as A, k as v, T as C, i as E, F as R } from "./main-8b76c43b.mjs";
5
- const P = (n) => (f("data-v-ac351494"), n = n(), y(), n), U = { class: "mask" }, $ = { class: "wrapper" }, L = { class: "container" }, b = /* @__PURE__ */ P(() => /* @__PURE__ */ i("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)), M = ["action"], w = ["value"], k = /* @__PURE__ */ S({
4
+ import { d as S, r as d, o as g, a as p, c as T, b as i, e as _, C as m, u as I, p as f, f as y, _ as A, i as v, T as C, h as E, F as R } from "./main-45dd3fda.mjs";
5
+ const P = (n) => (f("data-v-ac351494"), n = n(), y(), n), U = { class: "mask" }, $ = { class: "wrapper" }, L = { class: "container" }, b = /* @__PURE__ */ P(() => /* @__PURE__ */ i("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)), M = ["action"], w = ["value"], N = /* @__PURE__ */ S({
6
6
  __name: "ThreeDsChallenge",
7
7
  props: {
8
8
  threeDSServerTransID: null,
@@ -47,7 +47,7 @@ const P = (n) => (f("data-v-ac351494"), n = n(), y(), n), U = { class: "mask" },
47
47
  ]));
48
48
  }
49
49
  });
50
- const N = /* @__PURE__ */ A(k, [["__scopeId", "data-v-ac351494"]]), { hideSpinner: c, showSpinner: O } = v(), q = "3ds_method_invocation_complete", V = "3ds_challenge_complete";
50
+ const k = /* @__PURE__ */ A(N, [["__scopeId", "data-v-ac351494"]]), { hideSpinner: c, showSpinner: O } = v(), q = "3ds_method_invocation_complete", V = "3ds_challenge_complete";
51
51
  class J {
52
52
  constructor(e, s, t) {
53
53
  o(this, "log");
@@ -182,7 +182,7 @@ class J {
182
182
  this.log(`[${this.getType()}][doChallenge]`), c();
183
183
  const { destroy: r } = E({
184
184
  el: document.body,
185
- component: N,
185
+ component: k,
186
186
  props: {
187
187
  threeDSServerTransID: this.threeDSServerTransID,
188
188
  acsTransID: s,
@@ -1,8 +1,8 @@
1
1
  var c = Object.defineProperty;
2
2
  var h = (t, s, e) => s in t ? c(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
3
  var i = (t, s, e) => (h(t, typeof s != "symbol" ? s + "" : s, e), e);
4
- import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-cdf19532.mjs";
5
- import { d as p, r as u, o as _, b as D, c as m, e as r, f as g, C as S, u as y, p as f, h as T, _ as v, i as C } from "./main-8b76c43b.mjs";
4
+ import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
5
+ import { d as p, r as u, o as _, a as D, c as m, b as r, e as g, C as S, u as y, p as f, f as T, _ as v, h as C } from "./main-45dd3fda.mjs";
6
6
  const I = (t) => (f("data-v-82a75009"), t = t(), T(), t), P = { class: "mask" }, A = { class: "wrapper" }, V = { class: "container" }, E = /* @__PURE__ */ I(() => /* @__PURE__ */ r("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)), $ = ["action"], k = ["value"], x = /* @__PURE__ */ p({
7
7
  __name: "ecentric",
8
8
  props: {
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class i extends e {
5
5
  getType() {
6
6
  return "EPNA";
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as r } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as r } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class s extends r {
5
5
  getType() {
6
6
  return "FlashBanc";
@@ -1,8 +1,8 @@
1
1
  var i = Object.defineProperty;
2
2
  var l = (n, r, e) => r in n ? i(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
3
  var o = (n, r, e) => (l(n, typeof r != "symbol" ? r + "" : r, e), e);
4
- import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-cdf19532.mjs";
5
- import { d as u, b as d, c as p, e as a, n as h, _, i as g } from "./main-8b76c43b.mjs";
4
+ import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
5
+ import { d as u, a as d, c as p, b as a, n as h, _, h as g } from "./main-45dd3fda.mjs";
6
6
  const m = { class: "mask" }, D = { class: "wrapper" }, S = ["src"], y = /* @__PURE__ */ u({
7
7
  __name: "GPayments",
8
8
  props: {
@@ -1,8 +1,8 @@
1
1
  var S = Object.defineProperty;
2
2
  var w = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t;
3
3
  var l = (o, n, t) => (w(o, typeof n != "symbol" ? n + "" : n, t), t);
4
- import { DefaultThreeDsProvider as P } from "./DefaultThreeDsProvider-cdf19532.mjs";
5
- import { d as f, r as v, o as E, j as A, w as b, v as T, b as I, c as x, e as p, f as G, C as L, p as N, h as M, _ as $, k as H, s as g, i as k } from "./main-8b76c43b.mjs";
4
+ import { DefaultThreeDsProvider as P } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
5
+ import { d as f, r as v, o as E, j as A, w as b, v as T, a as I, c as x, b as p, e as G, C as L, p as N, f as M, _ as $, i as H, s as g, h as k } from "./main-45dd3fda.mjs";
6
6
  const O = (o) => (N("data-v-8a0b6dcb"), o = o(), M(), o), j = { class: "mask" }, B = { class: "wrapper" }, F = { class: "container" }, U = /* @__PURE__ */ O(() => /* @__PURE__ */ p("div", { id: "ThreeDsChallengeIFrame" }, null, -1)), W = /* @__PURE__ */ f({
7
7
  __name: "MetricsGlobalThreeDsChallenge",
8
8
  emits: ["close", "submit"],
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class m extends e {
5
5
  getType() {
6
6
  return "NMI";
@@ -1,9 +1,9 @@
1
1
  var d = Object.defineProperty;
2
2
  var p = (n, r, t) => r in n ? d(n, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[r] = t;
3
3
  var l = (n, r, t) => (p(n, typeof r != "symbol" ? r + "" : r, t), t);
4
- import { d as m, k as u, o as g, b as D, c as S, p as _, h as y, e as h, _ as f, s as P, i as T } from "./main-8b76c43b.mjs";
5
- import { DefaultThreeDsProvider as I, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as C } from "./DefaultThreeDsProvider-cdf19532.mjs";
6
- const b = (n) => (_("data-v-3b52be97"), n = n(), y(), n), v = { class: "mask" }, E = /* @__PURE__ */ b(() => /* @__PURE__ */ h("div", { class: "wrapper" }, [
4
+ import { d as m, i as u, o as g, a as D, c as S, p as _, f, b as h, _ as y, s as P, h as T } from "./main-45dd3fda.mjs";
5
+ import { DefaultThreeDsProvider as I, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as C } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
6
+ const b = (n) => (_("data-v-3b52be97"), n = n(), f(), n), v = { class: "mask" }, E = /* @__PURE__ */ b(() => /* @__PURE__ */ h("div", { class: "wrapper" }, [
7
7
  /* @__PURE__ */ h("div", { class: "container" })
8
8
  ], -1)), x = [
9
9
  E
@@ -80,7 +80,7 @@ const b = (n) => (_("data-v-3b52be97"), n = n(), y(), n), v = { class: "mask" },
80
80
  return (s, o) => (D(), S("div", v, x));
81
81
  }
82
82
  });
83
- const A = /* @__PURE__ */ f(V, [["__scopeId", "data-v-3b52be97"]]), { hideSpinner: R } = u();
83
+ const A = /* @__PURE__ */ y(V, [["__scopeId", "data-v-3b52be97"]]), { hideSpinner: R } = u();
84
84
  class O extends I {
85
85
  constructor() {
86
86
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as y } from "./DefaultThreeDsProvider-cdf19532.mjs";
2
- import { r as c, o as p, j as _, I as P, d as T, l as C, b as w, c as E, e as g, _ as L, s as l, i as I } from "./main-8b76c43b.mjs";
1
+ import { DefaultThreeDsProvider as y } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
2
+ import { r as c, o as p, j as _, I as P, d as T, k as C, a as w, c as E, b as g, _ as L, s as l, h as I } from "./main-45dd3fda.mjs";
3
3
  const h = c(!1);
4
4
  function S(o, ...e) {
5
5
  h.value && console.log(o, e);
@@ -8,7 +8,7 @@ function u(o) {
8
8
  var e, r;
9
9
  (e = o == null ? void 0 : o.data) != null && e.status && o.data.status === P && (h.value = !!((r = o == null ? void 0 : o.data) != null && r.debug));
10
10
  }
11
- function R() {
11
+ function k() {
12
12
  return p(() => {
13
13
  window.addEventListener("message", u);
14
14
  }), _(() => {
@@ -18,14 +18,14 @@ function R() {
18
18
  logMessage: S
19
19
  };
20
20
  }
21
- const k = { class: "modal-mask" }, b = { class: "modal-wrapper" }, v = ["src"], x = /* @__PURE__ */ T({
21
+ const R = { class: "modal-mask" }, b = { class: "modal-wrapper" }, v = ["src"], x = /* @__PURE__ */ T({
22
22
  __name: "PayGLocalThreeDsChallenge",
23
23
  props: {
24
24
  url: null
25
25
  },
26
26
  emits: ["close"],
27
27
  setup(o, { emit: e }) {
28
- const r = o, { logMessage: a } = R(), t = c(r.url);
28
+ const r = o, { logMessage: a } = k(), t = c(r.url);
29
29
  c(null), C(() => r.url, (s) => {
30
30
  t.value = s;
31
31
  }), p(() => {
@@ -42,7 +42,7 @@ const k = { class: "modal-mask" }, b = { class: "modal-wrapper" }, v = ["src"],
42
42
  const m = i.split(".")[1], D = window.atob(m), f = JSON.parse(D);
43
43
  e("close", f);
44
44
  }
45
- return (s, i) => (w(), E("div", k, [
45
+ return (s, i) => (w(), E("div", R, [
46
46
  g("div", b, [
47
47
  g("iframe", {
48
48
  src: t.value,
@@ -0,0 +1,160 @@
1
+ var g = Object.defineProperty;
2
+ var A = (a, t, i) => t in a ? g(a, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[t] = i;
3
+ var s = (a, t, i) => (A(a, typeof t != "symbol" ? t + "" : t, i), i);
4
+ import { R as b, g as C, H as P } from "./main-45dd3fda.mjs";
5
+ const h = {
6
+ CHECKOUT: "CHECKOUT",
7
+ CHARGE: "CHARGE"
8
+ }, p = (a) => ({
9
+ [h.CHECKOUT]: {
10
+ url: a + "/payment_method/checkout",
11
+ method: "POST"
12
+ },
13
+ [h.CHARGE]: {
14
+ url: a + "/charge/checkout",
15
+ method: "POST"
16
+ }
17
+ });
18
+ class I {
19
+ constructor(t, i, o, r, n, e) {
20
+ s(this, "log");
21
+ s(this, "container");
22
+ s(this, "button", null);
23
+ s(this, "providerId");
24
+ s(this, "apiUrl");
25
+ s(this, "amount");
26
+ s(this, "currency");
27
+ s(this, "options");
28
+ s(this, "clientParameters");
29
+ s(this, "billingAddress", null);
30
+ s(this, "customer", null);
31
+ s(this, "order", null);
32
+ s(this, "buttonId", "apple-pay-payway-button");
33
+ s(this, "onLoad", () => {
34
+ });
35
+ s(this, "onSuccess");
36
+ s(this, "onFailure");
37
+ s(this, "httpInvoker", null);
38
+ this.log = t, this.apiUrl = e.apiUrl, this.container = i || document.body, this.options = e.options, this.clientParameters = e.clientParameters, this.providerId = e.providerId, this.amount = Number(r), this.currency = n, this.providerId = o, this.onSuccess = e.onSuccess || null, this.onFailure = e.onFailure || null;
39
+ const d = new b(e.environment, C(e.publicKey));
40
+ this.httpInvoker = new P(e.publicKey, e.version, d), this.init();
41
+ }
42
+ draw() {
43
+ const t = () => {
44
+ this.onLoad = () => {
45
+ };
46
+ const i = {
47
+ container: this.buttonId,
48
+ publishableApiKey: this.clientParameters.PublishableApiKey,
49
+ principalAmount: this.amount,
50
+ currency: String(this.currency).toLowerCase(),
51
+ buttonMode: "callback"
52
+ };
53
+ this.log("[createPaymentRequestButton]", i), window.payway.createPaymentRequestButton(i, (o, r) => {
54
+ var n;
55
+ if (this.log("[createPaymentRequestButton]", o, r), o) {
56
+ (n = this.onFailure) == null || n.call(this, o);
57
+ return;
58
+ }
59
+ this.checkout(r.singleUseTokenId);
60
+ });
61
+ };
62
+ window.payway ? t() : this.onLoad = t;
63
+ }
64
+ show() {
65
+ this.button && (this.button.style.display = "block");
66
+ }
67
+ hide() {
68
+ this.button && (this.button.style.display = "none");
69
+ }
70
+ init() {
71
+ const t = document.createElement("div");
72
+ t.id = this.buttonId, this.container.appendChild(t), this.button = t, this.initScript();
73
+ }
74
+ initScript() {
75
+ const t = document.createElement("script");
76
+ t.src = "https://api.payway.com.au/rest/v1/payway.js", t.onload = () => {
77
+ this.onLoad && this.onLoad();
78
+ }, document.head.appendChild(t);
79
+ }
80
+ checkout(t) {
81
+ var o, r, n, e, d, m;
82
+ const i = {
83
+ providerId: this.providerId,
84
+ amount: this.amount,
85
+ currency: this.currency,
86
+ reference: (o = this.order) == null ? void 0 : o.orderNumber,
87
+ options: {
88
+ ProviderToken: t
89
+ },
90
+ customer: {
91
+ firstName: (r = this.customer) == null ? void 0 : r.firstName,
92
+ lastName: (n = this.customer) == null ? void 0 : n.lastName,
93
+ email: (e = this.customer) == null ? void 0 : e.email,
94
+ phone: (d = this.customer) == null ? void 0 : d.phoneNumber,
95
+ billingAddress: this.billingAddress && {
96
+ name: `${this.billingAddress.firstName} ${this.billingAddress.lastName}`,
97
+ addressLine1: this.billingAddress.streetAddress,
98
+ addressLine2: this.billingAddress.streetAddress2,
99
+ suburb: this.billingAddress.city,
100
+ countryCode: this.billingAddress.country,
101
+ postcode: this.billingAddress.postalCode,
102
+ state: this.billingAddress.state
103
+ } || void 0
104
+ },
105
+ items: this.order && this.order.orderItems.map((l) => ({
106
+ name: l.name,
107
+ reference: l.sku,
108
+ quantity: l.quantity,
109
+ amount: l.totalAmount
110
+ })) || []
111
+ };
112
+ this.log("[PayWayAppleButton][checkout]", i), (m = this.httpInvoker) == null || m.invoke(p(this.apiUrl)[h.CHECKOUT].url, p(this.apiUrl)[h.CHECKOUT].method, JSON.stringify(i), (l, u) => {
113
+ this.log("[PayWayAppleButton][checkout]: successCheckoutHandler", l, u);
114
+ const y = JSON.parse(u), c = JSON.parse(window.atob(y.checkoutData));
115
+ this.log("[PayWayAppleButton][checkout]: decodedData", c), this.charge(c.checkoutId);
116
+ }, (l, u) => {
117
+ var c;
118
+ this.log("[PayWayAppleButton][checkout]: failureCheckoutHandler", l, u);
119
+ const y = JSON.parse(u);
120
+ (c = this.onFailure) == null || c.call(this, { error: y.message });
121
+ });
122
+ }
123
+ charge(t) {
124
+ var i;
125
+ this.log("[PayWayAppleButton][charge]", { checkoutId: t }), (i = this.httpInvoker) == null || i.invoke(p(this.apiUrl)[h.CHARGE].url, p(this.apiUrl)[h.CHARGE].method, JSON.stringify({ checkoutId: t }), (o, r) => {
126
+ var e;
127
+ this.log("[PayWayAppleButton][charge]: successChargeHandler", o, r);
128
+ const n = JSON.parse(r);
129
+ (e = this.onSuccess) == null || e.call(this, {
130
+ transactionId: n == null ? void 0 : n.chargeId
131
+ });
132
+ }, (o, r) => {
133
+ var e;
134
+ this.log("[PayWayAppleButton][charge]: failureChargeHandler", o, r);
135
+ const n = JSON.parse(r);
136
+ (e = this.onFailure) == null || e.call(this, { error: n.message });
137
+ });
138
+ }
139
+ redraw() {
140
+ this.button && (this.button.innerHTML = "", this.draw());
141
+ }
142
+ setAmount(t) {
143
+ this.log("[PayWayAppleButton][setAmount]", t), this.amount = t, this.redraw();
144
+ }
145
+ setCurrency(t) {
146
+ this.log("[PayWayAppleButton][setCurrency]", t), this.currency = t, this.redraw();
147
+ }
148
+ setCustomerInfo(t) {
149
+ this.log("[PayWayAppleButton][setCustomerInfo]", t), this.customer = { ...t };
150
+ }
151
+ setBillingAddress(t) {
152
+ this.log("[PayWayAppleButton][setBillingAddress]", t), this.billingAddress = { ...t };
153
+ }
154
+ setOrderInfo(t) {
155
+ this.log("[PayWayAppleButton][setOrderInfo]", t), this.order = { ...t };
156
+ }
157
+ }
158
+ export {
159
+ I as PayWayAppleButton
160
+ };
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class i extends e {
5
5
  getType() {
6
6
  return "Payabli";
@@ -1,6 +1,6 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-2a07e0b8.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  class s extends e {
5
5
  getType() {
6
6
  return "SkyBank";
@@ -0,0 +1,10 @@
1
+ import { CxPayThreeDsProvider as e } from "./CxPayThreeDsProvider-02e1c15d.mjs";
2
+ import "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
3
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
4
+ import "./main-45dd3fda.mjs";
5
+ function n(r, o, t) {
6
+ return new e(r, o, t);
7
+ }
8
+ export {
9
+ n as default
10
+ };
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-cdf19532.mjs";
2
- import "./main-8b76c43b.mjs";
1
+ import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-5bbd9bcd.mjs";
2
+ import "./main-45dd3fda.mjs";
3
3
  function a(e, r, t) {
4
4
  return new o(e, r, t);
5
5
  }
@@ -1,6 +1,6 @@
1
- import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-e573e02e.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-bed332f9.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  function m(r, e, t) {
5
5
  return new i(r, e, t);
6
6
  }
@@ -0,0 +1,10 @@
1
+ import { EpnaThreeDsProvider as t } from "./EpnaThreeDsProvider-c1f5c9fa.mjs";
2
+ import "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
3
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
4
+ import "./main-45dd3fda.mjs";
5
+ function a(r, e, o) {
6
+ return new t(r, e, o);
7
+ }
8
+ export {
9
+ a as default
10
+ };
@@ -0,0 +1,10 @@
1
+ import { FlashBancThreeDsProvider as e } from "./FlashBancThreeDsProvider-9d5b3ff3.mjs";
2
+ import "./MetricsGlobalThreeDsProvider-7d0227b3.mjs";
3
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
4
+ import "./main-45dd3fda.mjs";
5
+ function p(r, o, t) {
6
+ return new e(r, o, t);
7
+ }
8
+ export {
9
+ p as default
10
+ };
@@ -1,6 +1,6 @@
1
- import { GPaymentsThreeDsProvider as o } from "./GPaymentsThreeDsProvider-d531c583.mjs";
2
- import "./DefaultThreeDsProvider-cdf19532.mjs";
3
- import "./main-8b76c43b.mjs";
1
+ import { GPaymentsThreeDsProvider as o } from "./GPaymentsThreeDsProvider-16dc92e6.mjs";
2
+ import "./DefaultThreeDsProvider-5bbd9bcd.mjs";
3
+ import "./main-45dd3fda.mjs";
4
4
  function p(r, e, t) {
5
5
  return new o(r, e, t);
6
6
  }