flutter - 如何使用flutter adyen支付网关?
问题描述
try {
dropInResponse = await FlutterAdyen.choosePaymentMethod(
paymentMethodsPayload: _paymentMethod.toString(),
merchantAccount: merchantAccount,
publicKey: pubKey,
amount: 12.0,
currency: 'EUR',
iosReturnUrl: scheme,
reference: ref,
shopperReference: userID,
allow3DS2: true,
testEnvironment: true,
storePaymentMethod: true,
shopperInteraction: ShopperInteraction.ContAuth,
recurringProcessingModel: RecurringProcessingModels.CardOnFile);
} on PlatformException catch (e) {
dropInResponse = 'PlatformException. ${e.message}';
} on Exception {
dropInResponse = 'Exception.';
}
我成功地得到了 dropIn 响应,但是任何人都可以帮助我。
解决方案
推荐阅读
- laravel - Laravel 5.5 Redis 问题 - 调用未定义的方法 Illuminate\Support\Facades\Redis::connect()
- maven - 无法通过浏览器访问我部署的应用程序
- r - 如何将 stat_summary 条形图的条居中?
- javascript - 有没有办法限制使用 THREE.js 裁剪的模型部分?
- vue.js - 点击 Vue JS 2 排序表 td
- c++ - 非抽象但无状态的类对于多重继承是否与纯抽象类一样安全?
- javascript - 我可以使用javascript将数据插入数据库吗?
- python - 了解模块和绝对/相对包导入
- abap - 检测报告是否为 SAP 查询
- android - 如何在设计编辑器预览的工具栏中显示返回箭头?