0

在我的角度应用程序中,我使用 AdyenCheckout 进行付款,但是一旦我打开我正在使用 AdyenCheckout 的屏幕(付款屏幕),当我移动光标时,我会反复收到控制台错误

“未处理的承诺拒绝 TypeError:null 不是函数”

以下是我的 package.json

"@adyen/adyen-web": "^4.5.0",
"@agm/core": "1.0.0-beta.3",
"@angular/animations": "8.2.13",
"@angular/cdk": "^8.1.1",
"@angular/cli": "8.3.17",
"@angular/common": "8.2.13",
"@angular/compiler": "8.2.13",
"@angular/core": "8.2.13",
"@angular/forms": "8.2.13",
"@angular/material": "8.1.1",
"@angular/material-moment-adapter": "8.1.1",
"@angular/platform-browser": "8.2.13",
"@angular/platform-browser-dynamic": "8.2.13",
"@angular/router": "8.2.13",

结帐代码

const checkout = new AdyenCheckout(configuration);

在此处输入图像描述

4

1 回答 1

1

升级版本到 "@adyen/adyen-web": "^5.5.0",

 const checkout = await AdyenCheckout(configuration);
于 2022-03-03T08:36:54.817 回答