如何使用颤抖的Adyen付款方式?

时间:2020-08-12 09:03:30

标签: flutter

  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的响应,但是需要做的任何事情都不能帮助我。

0 个答案:

没有答案
相关问题