简体   繁体   English

使用 flutterwave 1.0.1 时 flutter 应用程序中的“无法加密请求。请重试”

[英]"Unable to encrypt request. Please try again" in flutter app while using flutterwave 1.0.1

Payment gateway(Flutterwave)支付网关(Flutterwave)

I am facing this issue while going to pay with test card always showing this error in snackbar in flutter project我在使用测试卡付款时遇到这个问题,在 flutter 项目的 snackbar 中总是显示这个错误

[1179408211, 1162038111, 1413829460, 1667326818, 1664115256, 842414392, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
I/flutter (15692): #0      FlutterwaveUtils.tripleDESEncrypt (package:flutterwave/utils/flutterwave_utils.dart:15:7)
I/flutter (15692): #1      CardPaymentManager._prepareRequest (package:flutterwave/core/card_payment_manager/card_payment_manager.dart:66:60)
I/flutter (15692): #2      CardPaymentManager.payWithCard (package:flutterwave/core/card_payment_manager/card_payment_manager.dart:85:31)
I/flutter (15692): #3      _CardPaymentState._makeCardPayment (package:flutterwave/widgets/card_payment/card_payment.dart:230:10)
I/flutter (15692): #4      FlutterwaveViewUtils.showConfirmPaymentModal.<anonymous closure>.<anonymous closure> (package:flutterwave/widgets/flutterwave_view_utils.dart:36:49)
I/flutter (15692): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:989:21)
I/flutter (15692): #6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:198:24)
I/flutter (15692): #7      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:608:11)
I/flutter (15692): #8      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:296:5)
I/flutter (15692): #9      BaseTapGestureRecognizer.handlePrimaryPointer (

i am using latest flutter sdk我正在使用最新的 flutter sdk

flutterwave lib. flutterwave 库version flutterwave: ^1.0.1版本flutterwave: ^1.0.1

The package is currently deprecated and hence not supported by flutter. You could use an alternative pacakage such as ( https://github.com/odunboye/flutterwave-flutter.git ) recommended by flutter in ( https://github.com/Flutterwave/flutterwave-flutter/issues/73 ).This solved the problem package 目前已弃用,因此不受 flutter 支持。您可以使用替代包装,例如 ( https://github.com/odunboye/flutterwave-flutter.git ) 在 ( 838.github.com/838.1706 ) 中推荐Flutterwave/flutterwave-flutter/issues/73 ).这解决了问题

To use this package, use the command below in your pubspec.yaml要使用此 package,请在您的 pubspec.yaml 中使用以下命令

flutterwave:
    git:

      url: https://github.com/odunboye/flutterwave-flutter.git
      ref: development

then run pub get and you should be fine.然后运行 pub get,你应该没问题。 Use the documentation on the read.md to guide you further on how to use the package.使用 read.md 上的文档进一步指导您如何使用 package。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 发生错误。 请在应用结算测试中再试一次 - An error occurred. please try again while in app billing testing GCM - 获取错误消息“处理请求时出现未知错误。 再试一次。“在创建新项目时 - GCM - Getting Error message “There was an unknown error while processing the request. Try again.” when creating new project “目前无法下载。 尝试从android应用中的图库加载图像时,请稍后重试” - “Currently unable to download. Please try again later” when trying to load image from gallery in android app “<app> 在使用 Google Play 服务时遇到问题。 请再试一次”,同时使用 Google NearBy Messages API</app> - “<App> is having trouble with Google Play Services. Please try again” while usiing Google NearBy Messages API 应用程序在使用Google Play服务时遇到问题。 请再试一次 - App is having trouble with Google Play Services. Please try again 从Android应用程序现场登录。 无法发送POST请求。 使用GET请求发送密码可以吗? 我应该加密吗? - Login on site from Android app. Can't send POST request. Is it fine to send password using a GET request? Should I encrypt it? 使用LocalServerSocket时“IOException:再试一次” - “IOException: Try again” while using LocalServerSocket 登录错误:登录此应用程序时出错。 请稍后在 flutter 中重试 android 模块 - Login Error : there is an error in logging you into this application. please try again later in flutter for android module 错误分支IO:无法初始化分支。 无法访问分支服务器,请稍后再试 - Error-Branch IO : Trouble initializing Branch. Unable to reach the Branch servers, please try again shortly Google Pay 请求失败发生意外错误请稍后再试 [OR_BIBED_07] - Google Pay Request failed An unexpected error has occurred Please try again later [OR_BIBED_07]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM