@xsolla/payment-client-core 0.1.14 → 0.1.15
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/esm2020/lib/core/payment/initialize/initialize-request-params.interface.mjs +1 -1
- package/esm2020/lib/core/payment/initialize/initialize.service.mjs +5 -1
- package/esm2020/lib/core/payment/payment-config.interface.mjs +1 -1
- package/fesm2015/xsolla-payment-client-core.mjs +4 -0
- package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
- package/fesm2020/xsolla-payment-client-core.mjs +4 -0
- package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/payment/initialize/initialize-request-params.interface.d.ts +3 -0
- package/lib/core/payment/payment-config.interface.d.ts +2 -0
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.1.15.tgz +0 -0
- package/xsolla-payment-client-core-0.1.14.tgz +0 -0
|
@@ -1431,6 +1431,10 @@ class InitializeService {
|
|
|
1431
1431
|
refer: this.ps4ReferId,
|
|
1432
1432
|
country: this.countryService.getCountry(),
|
|
1433
1433
|
returnUrl: config.returnUrl,
|
|
1434
|
+
paymentWithSavedMethod: config.paymentWithSavedMethod === true
|
|
1435
|
+
? "1" /* XpsBoolean.true */
|
|
1436
|
+
: "0" /* XpsBoolean.false */,
|
|
1437
|
+
saved_method_id: config.savedMethodId,
|
|
1434
1438
|
};
|
|
1435
1439
|
return this.xpsApiService
|
|
1436
1440
|
.directPaymentRequest(requestParams)
|