是否有任何有效的OTP或其他颤动验证的实施条纹支付网关的支持?

发布于 2025-01-21 23:59:42 字数 85 浏览 5 评论 0原文

  1. 我想使用验证实现条纹支付网关。有时,出于安全原因和验证,用户的银行将其发送给他们OTP。
  2. 我找不到任何解决方案。
  1. I want to implement a Stripe payment gateway using verification. Sometimes users' banks send them OTP for security reasons and also for verification.
  2. I can't find any solutions for that.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

無處可尋 2025-01-28 23:59:42

使用 flutter_stripe 如果用户卡为3D安全呼叫 handlecardaction 通过Stripe SDK提供的方法 PEALDY_INTENT_CLIENT_SECRET
此方法自动将其重定向到银行验证页面。
验证后,它返回状态,您可以根据状态处理自己的视图。

final paymentIntent=    await Stripe.instance.handleCardAction(
                        'payment_intent_client_secret');
  switch (paymentIntent.status) {
                case PaymentIntentsStatus.Succeeded:
                      // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresPaymentMethod:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresConfirmation:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresAction:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresCapture:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.Unknown:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.Canceled:
                  ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
                      backgroundColor: Colors.red,
                      content: Text("Payment Cancelled")));
                  break;
                case PaymentIntentsStatus.Processing:
                  // TODO: Handle this case.
                  break;
              }

Use flutter_stripe if user card is 3d secure call handleCardAction method provide by stripe SDKs which accept payment_intent_client_secret
this method automatically redirect to bank verification page .
after verification it return status now you can handle your own view according to status.

final paymentIntent=    await Stripe.instance.handleCardAction(
                        'payment_intent_client_secret');
  switch (paymentIntent.status) {
                case PaymentIntentsStatus.Succeeded:
                      // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresPaymentMethod:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresConfirmation:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresAction:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.RequiresCapture:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.Unknown:
                  // TODO: Handle this case.
                  break;
                case PaymentIntentsStatus.Canceled:
                  ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
                      backgroundColor: Colors.red,
                      content: Text("Payment Cancelled")));
                  break;
                case PaymentIntentsStatus.Processing:
                  // TODO: Handle this case.
                  break;
              }
一萌ing 2025-01-28 23:59:42

您可以使用Flutter Strip SDK将条纹支付与许多其他功能集成。 flutter_stripe

you can use flutter strip SDK for integrate stripe payment with many other functionalities. flutter_stripe

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文