UNPKG

2.53 kBJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
5Object.defineProperty(exports, "__esModule", {
6 value: true
7});
8exports["default"] = void 0;
9
10var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
12var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
14var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
15
16var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
17
18var _BillingProvider2 = _interopRequireDefault(require("./BillingProvider"));
19
20function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
21
22function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
24var productionQuoteUrl = 'https://checkout.pay.g2a.com/index/createQuote';
25var sandboxQuoteUrl = 'https://checkout.test.pay.g2a.com/index/createQuote';
26var productionRedirectUrl = 'https://checkout.pay.g2a.com/index/gateway?token=';
27var sandboxRedirectUrl = 'https://checkout.test.pay.g2a.com/index/gateway?token=';
28var productionTransactionDataUrl = 'https://pay.g2a.com/rest/transactions/';
29var sandboxTransactionDataUrl = 'https://www.test.pay.g2a.com/rest/transactions/'; // We have realization of this billing provider, just text us https://t.me/lskjs
30
31var G2aBillingProvider = /*#__PURE__*/function (_BillingProvider) {
32 (0, _inherits2["default"])(G2aBillingProvider, _BillingProvider);
33
34 var _super = _createSuper(G2aBillingProvider);
35
36 function G2aBillingProvider() {
37 (0, _classCallCheck2["default"])(this, G2aBillingProvider);
38 return _super.apply(this, arguments);
39 }
40
41 return G2aBillingProvider;
42}(_BillingProvider2["default"]);
43
44exports["default"] = G2aBillingProvider;
45//# sourceMappingURL=G2aBillingProvider.js.map
\No newline at end of file