Skip to content

Commit b10d0c7

Browse files
author
Victor Parra
committed
feat(payment): INT-2722 Upgrade Adyen component library
1 parent 36a353f commit b10d0c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/payment/strategies/adyenv2/adyenv2-script-loader.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ describe('AdyenV2ScriptLoader', () => {
2222
describe('#load()', () => {
2323
const adyenClient = getAdyenClient();
2424
const configuration = getAdyenConfiguration();
25-
const jsUrl = 'https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/3.8.0/adyen.js';
26-
const cssUrl = 'https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/3.8.0/adyen.css';
25+
const jsUrl = 'https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/3.8.1/adyen.js';
26+
const cssUrl = 'https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/3.8.1/adyen.css';
2727

2828
beforeEach(() => {
2929
scriptLoader.loadScript = jest.fn(() => {

src/payment/strategies/adyenv2/adyenv2-script-loader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export default class AdyenV2ScriptLoader {
1313

1414
async load(configuration: AdyenConfiguration): Promise<AdyenClient> {
1515
await Promise.all([
16-
this._stylesheetLoader.loadStylesheet(`https://checkoutshopper-${configuration.environment}.adyen.com/checkoutshopper/sdk/3.8.0/adyen.css`),
17-
this._scriptLoader.loadScript(`https://checkoutshopper-${configuration.environment}.adyen.com/checkoutshopper/sdk/3.8.0/adyen.js`),
16+
this._stylesheetLoader.loadStylesheet(`https://checkoutshopper-${configuration.environment}.adyen.com/checkoutshopper/sdk/3.8.1/adyen.css`),
17+
this._scriptLoader.loadScript(`https://checkoutshopper-${configuration.environment}.adyen.com/checkoutshopper/sdk/3.8.1/adyen.js`),
1818
]);
1919

2020
if (!this._window.AdyenCheckout) {

0 commit comments

Comments
 (0)