Android paytm集成-无法显示付款页面

问题描述 投票:0回答:1

我正在尝试将paytm付款集成到我的android应用程序中。交易初始化和CHECKSUM验证,我也可以获取交易令牌,但无法在手机上获取paytm UI。

下面提到的是我得到的日志。我在日志中没有看到任何错误消息。

I/Timeline: Timeline: Activity_launch_request time:611492681 intent:Intent { 
cmp=com.hago.lucky.seven/com.paytm.pgsdk.PaytmPGActivity (has extras) }
W/ActivityThread: handleWindowVisibility: no activity for token 
android.os.BinderProxy@f9c15c4
I/WebViewFactory: Loading com.google.android.webview version 81.0.4044.138 (code 404413803)
I/cr_LibraryLoader: Loaded native library version number "81.0.4044.138"
W/ago.lucky.seve: Accessing hidden method Landroid/content/Context;-    >bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handl    er;Landroid/os/UserHandle;)Z (light greylist, reflection)
D/EgretLoader: EgretLoader(Context context)
D/EgretLoader: The context is not activity
W/ContentCatcher: Failed to notify a WebView
I/ago.lucky.seve: ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0     resolve_classes_delay=8000
D/ViewRootImpl[PaytmPGActivity]: changeCanvasOpacity: opaque=false
D/ViewRootImpl[PaytmPGActivity]: changeCanvasOpacity: opaque=true
W/ContentCatcher: Failed to notify a WebView

我在build.gradle中添加了implementation 'com.paytm:pgplussdk:1.4.4'我在应用程序级别build.gradle中添加了maven { url "https://artifactory.paytm.in/libs-release-local" }

我们的代码有什么问题?预先感谢。

android webview paytm
1个回答
0
投票

要调试,请共享完整的初始化代码,这似乎是上下文问题。

© www.soinside.com 2019 - 2024. All rights reserved.