为什么要让用户登录PayuMoney网关的android SDK? [英] Why make user login in android SDK of PayuMoney gateway?

查看:178
本文介绍了为什么要让用户登录PayuMoney网关的android SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Android集成PayUMoney SDK,并已将SDK成功添加到我的应用程序中.当用户单击付款"按钮时,将打开一个登录页面.

I am trying to integrate PayUMoney SDK for android and successfully added the SDK in my application. When the user clicks on the pay button a login page opens up.

为什么要让用户登录/创建payu帐户?

Why should the user be made to login/create an account for payu?

用户只要按下付款"按钮,就应该打开付款选项,但事实并非如此.我也在 github 中尝试了他们提供的示例应用程序,似乎具有相同的流程.

As soon as the user presses the pay button the options for payment should open up but that is not the case. I have tried the sample app given by them in github too and seems that it has the same flow.

我在 youtube 中获得了一个视频,向任何想要显示此问题的人展示看看我在说什么.

I got a video in youtube showing the problem for anybody who would like to see what I am talking about.

这是PayUMoney的默认工作流程,还是我们可以忽略登录并选择付款方式的方法?

Is this is the default work flow for PayUMoney or is there a way we can ignore the login and choose the payment option?

大多数视频和教程都展示了PayU的旧SDK集成方法.如果有人可以指导我,那将有很大帮助.

Most of the videos and tutorials show the old SDK integration method of PayU. If anybody could guide me with this it would be of much help.

推荐答案

面向以后寻求答案的任何人. PayUMoney已更改其Android版SDK.从GitHub下载SDK时,他们提供的示例应用程序运行良好,您无法绕过他们提供的登录屏幕.您无需在其提供的示例应用程序中进行任何更改.只需运行代码:

For anyone who is looking for an answer in future. PayUMoney has changed their SDK for android. The sample application given by them during your SDK download from GitHub works totally fine and there is no way you can bypass the login screen they provide. You will not need to change anything in the sample app they provide. Just run the code:

  1. 点击付款按钮.
  2. 输入任何电子邮件ID.
  3. 在下面选择访客登录.
  4. 单击登录按钮.
  1. Click on the pay button.
  2. Enter any email id.
  3. Select Guest Login below.
  4. Click the login button.

这应该显示给您付款选项页,然后使用您的测试凭据,所有内容都应像超级按钮一样工作.

This should show you the payment option page and then after that use your testing credentials and everything should work like a charm.

我希望这会有所帮助.

这篇关于为什么要让用户登录PayuMoney网关的android SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆