apoorv9496 / paytm_payments

Paytm Payments Flutter SDK
Apache License 2.0
14 stars 5 forks source link

checksum invalid #1

Closed sakshi1501 closed 5 years ago

sakshi1501 commented 5 years ago

i am using your package. But while starting transaction i got invalid checksum message.

onTransactionResponse: Bundle[{STATUS=TXN_FAILURE, ORDERID=1555497595544, TXNAMOUNT=3.00, MID=WhGXTR60132473115302, RESPCODE=330, BANKTXNID=, CURRENCY=INR, RESPMSG=Invalid checksum}]

apoorv9496 commented 5 years ago

Hi Sakshi,

May I know what is the checksum URL you are using? It is probably the reason why you are getting this error.

If possible please let me see the parameters you are passing to the function, without revealing your MID or merchant ID.

On Wed, Apr 17, 2019, 16:13 sakshi1501 <notifications@github.com wrote:

i am using your package. But while starting transaction i got invalid checksum message.

onTransactionResponse: Bundle[{STATUS=TXN_FAILURE, ORDERID=1555497595544, TXNAMOUNT=3.00, MID=WhGXTR60132473115302, RESPCODE=330, BANKTXNID=, CURRENCY=INR, RESPMSG=Invalid checksum}]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apoorv9496/paytm_payments/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AEX6DM54BP4PPA3DEQMX5A3PQ35MVANCNFSM4HGS762A .

sakshi1501 commented 5 years ago

i used this url, url = 'https://paytmsdk.000webhostapp.com/paytm/generateChecksum.php' to generate checksum and https://paytmsdk.000webhostapp.com/paytm/verifyChecksum.php. here is my code await PaytmPayments.makePaytmPayment( "***MID**", // required field url, // required field customerId: "123", // auto generated if not specified orderId: orderId, // auto generated if not specified txnAmount: "3.0", // default: 10 channelId: "WAP", // default: WAP industryTypeId: "Retail", // default: Retail website: "APPSTAGING", // default: APPSTAGING staging: false, // default: true (by default paytm staging environment is used) ),

if i change staging to true then it give me pending transaction in paytm transaction but the process of login page could not display.

Error in Terminal : I/ViewRootImpl(27854): finishMotionEvent: handled = true stage=10: View Post IME stage,inputElapseTime=1 eventTime = 420416386 downTime = 420416386 title= com.deligence.ecommerces/com.example.ecommerces.MainActivity D/SettingsInterface(27854): from settings cache , name = sound_effects_enabled , value = 0 D/libc-netbsd(27854): [getaddrinfo]: hostname=paytmsdk.000webhostapp.com; servname=(null); netid=0; mark=0 D/libc-netbsd(27854): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 D/libc-netbsd(27854): getaddrinfo: paytmsdk.000webhostapp.com get result from proxy gai_error = 0 I/ContentValues(27854): orderData: {MID=*MID**, CALLBACK_URL=https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659, TXN_AMOUNT=3.0, ORDER_ID=1555563328659, WEBSITE=APPSTAGING, INDUSTRY_TYPE_ID=Retail, CHECKSUMHASH=NjH34qf3+VJff0fMeU4w86rqSKTWpln91OGDZnbPffKni3jPgWOtX4IUq9P7MurzbfXRSoCD58pTCN/GHP/xcLarMzzPigLzLxxRhrnazEc=, CHANNEL_ID=WAP, CUST_ID=123} I/ActivityThreadEui(27854): schedulePauseActivity com.example.ecommerces.MainActivity finished=false userLeaving=true configChanges=0 dontReport=false D/ActivityThread(27854): ACT-AM_ON_PAUSE_CALLED ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} D/ActivityThread(27854): ACT-PAUSE_ACTIVITY handled : 1 / android.os.BinderProxy@9e1672f V/ActivityThread(27854): Handling launch of ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} startsNotResumed=false V/ActivityThread(27854): ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}}: app=io.flutter.app.FlutterApplication@fddd65f, appName=com.deligence.ecommerces, pkg=com.deligence.ecommerces, comp={com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}, dir=/data/app/com.deligence.ecommerces-1/base.apk D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() I/WebViewFactory(27854): use Letv WebView I/WebViewFactory(27854): Loading com.android.webview version Developer Build (code 1) W/System (27854): ClassLoader referenced unknown path: /system/app/webview/lib/arm64 D/eui_video(27854): webview_entry_point.cc::JNI_OnLoad() -- >>: ManualJni=0 I/eui_video(27854): webview_jni_onload.cc::OnJNIOnLoadRegisterJNI() I/eui_video(27854): content_jni_onload.cc::OnJNIOnLoadRegisterJNI() I/eui_video(27854): library_loader_hooks.cc::EnsureJniRegistered()-->> I/eui_video(27854): media_jni_registrar.cc::RegisterJni() I/eui_video(27854): library_loader_hooks.cc::EnsureJniRegistered()-- << D/eui_video(27854): webview_entry_point.cc::JNI_OnLoad() -- ok << I/cr_LibraryLoader(27854): Time to load native libraries: 12 ms (timestamps 9190-9202) I/cr_LibraryLoader(27854): Expected native library version number "49.0.2623.91", actual native library version number "49.0.2623.91" D/WebView (27854): WebView V/WebViewChromiumFactoryProvider(27854): Binding Chromium to main looper Looper (main, tid 1) {fe63eae} I/cr_LibraryLoader(27854): Expected native library version number "49.0.2623.91", actual native library version number "49.0.2623.91" I/chromium(27854): [INFO:library_loader_hooks.cc(152)] Chromium logging enabled: level = 0, default verbosity = 0 I/cr_BrowserStartup(27854): Initializing chromium process, singleProcess=true I/chromium(27854): [INFO:sys_info_android.cc(259)] BoardModel=[mt6795] I/chromium(27854): [INFO:build_info.cc(103)] [ParseDeviceModel] model=[mt6795] V/IMGSRV (27854): IMGeglDestroyContext:4669: eglDestroyContext [+] V/IMGSRV (27854): IMGeglDestroyContext:4738: eglDestroyContext [-] W/cr_media(27854): Requires BLUETOOTH permission I/chromium(27854): [INFO:aw_url_request_context_getter.cc(188)] chromium_net_log directory: /storage/emulated/0/.LogOfEUI/com.android.webview/chromium_net_log W/chromium(27854): [WARNING:aw_url_request_context_getter.cc(202)] chromium_net_log directory NOT exist I/cr_DRP (27854): No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp I/cr_EUI_AwContents(27854): create AwContents W/chromium(27854): [WARNING:resource_bundle_android.cc(80)] Unexpected (outside of tests): Loading a second locale pak file. E/wqqgt1 (27854): local change g_locale=, new_locale=en-US, local=en-US D/PasswordDatabase(27854): constructor password.db D/MPlugin (27854): createInstance(): Begin = 420419446 D/MPlugin (27854): create Instance (two parameters) with : com.mediatek.common.telephony.IOnlyOwnerSimSupport D/MPlugin (27854): Clazz exists on mapping table : false E/MPlugin (27854): Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport D/MPlugin (27854): createInstance(): End = 420419447 D/cr_Ime (27854): [InputMethodManagerWrapper.java:27] Constructor D/AwPasswordHandler(27854): getInstance, sInstance = org.chromium.android_webview.AwPasswordHandler@9fe7f3f W/chromium(27854): [WARNING:password_handler.cc(33)] create-->contents = 0x7f68bf5400, delegate = 0x7f9dc91250 W/chromium(27854): [WARNING:password_handler.cc(41)] attaching to web_contents W/cr_AwContents(27854): onDetachedFromWindow called when already detached. Ignoring D/cr_Ime (27854): [InputMethodManagerWrapper.java:56] isActive: false D/WebView (27854): addJavascriptInterface=HTMLOUT D/WebView (27854): postUrl=https://securegw-stage.paytm.in/theia/processTransaction I/cr_EUI_AwContents(27854): loadUrl url:https://securegw-stage.paytm.in/theia/processTransaction E/wqqgt (27854): loadUrl() isDestroyed=false mNativeAwContents=547639519232 V/ActivityThread(27854): Performing resume of ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} D/ActivityThread(27854): ACT-AM_ON_RESUME_CALLED ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} V/ActivityThread(27854): Resume ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} started activity: false, hideForNow: false, finished: false D/ActivityThreadEui(27854): check reason flags for activity window =com.paytm.pgsdk.PaytmPGActivity reasonFlags=0 V/PhoneWindow(27854): DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.PhoneWindow$DecorView{2271737 I.E...... R.....ID 0,0-0,0} D/WindowClient(27854): Add to mViews: com.android.internal.policy.PhoneWindow$DecorView{2271737 I.E...... R.....ID 0,0-0,0}, this = android.view.WindowManagerGlobal@1bc993b E/OpenGLRenderer(27854): PerfServiceNative_notifyRenderTime init fail! D/SQLiteDatabase(27854): beginTransaction() D/OpenGLRenderer(27854): CanvasContext() 0x7f7d95c000 D/ViewRootImpl(27854): hardware acceleration is enabled, this = ViewRoot{5197b1a com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity,ident = 1} D/SQLiteDatabase(27854): endTransaction() V/ActivityThread(27854): Resuming ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} with isForward=true V/PhoneWindow(27854): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{5197b1a com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity,ident = 1}, this =com.android.internal.policy.PhoneWindow$DecorView{2271737 V.E...... R.....ID 0,0-0,0} V/ActivityThread(27854): Scheduling idle handler for ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} D/ActivityThread(27854): ACT-LAUNCH_ACTIVITY handled : 0 / ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} D/ConnectivityManager.CallbackHandler(27854): CM callback handler got msg 524290 D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_enabled , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_font_scale , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_locale , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_preset , value = null V/InputMethodManager(27854): Not IME target window, ignoring D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_enabled , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_font_scale , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_locale , value = null D/SettingsInterface(27854): from settings cache , name = accessibility_captioning_preset , value = null D/OpenGLRenderer(27854): CanvasContext() 0x7f7d95c000 initialize window=0x7f691f3610, title=com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity D/Surface (27854): Surface::allocateBuffers(this=0x7f691f3600) D/Surface (27854): Surface::connect(this=0x7f691f3600,api=1) W/libEGL (27854): [ANDROID_RECORDABLE] format: 1 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f784b7960 ID=354726 fd=134 ref=1 D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() I/DocumentLoader::startLoadingMainResource(27854): line = 746 I/DocumentLoader::finishedLoading(27854): line = 288 V/InputMethodManager(27854): onWindowFocus: com.paytm.pgsdk.PaytmWebView{f897bf3 VFEDHVC.. .F....I. 0,0-1080,1857 #79} softInputMode=272 first=true flags=#81810100 V/InputMethodManager(27854): START INPUT: com.paytm.pgsdk.PaytmWebView{f897bf3 VFEDHVC.. .F....I. 0,0-1080,1857 #79} ic=null tba=android.view.inputmethod.EditorInfo@388e440 controlFlags=#105 I/LocalDOMWindow::createDocument(27854): line = 340 I/Document::attach(27854): line = 2169 D/SQLiteDatabase(27854): beginTransaction() I/DocumentLoader::finishedLoading(27854): line = 315 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f78d2e400 ID=354731 fd=139 ref=1 I/chromium(27854): [INFO:render_view_impl.cc(3748)] RenderViewImpl::UpdateThemeModePrefs() enable_theme_mode: 0 D/SQLiteDatabase(27854): endTransaction() I/chromium(27854): [INFO:render_view_impl.cc(3748)] RenderViewImpl::UpdateThemeModePrefs() enable_theme_mode: 0 I/RenderFrameImpl::OnNavigate(27854): line = 1405 I/WebLocalFrameImpl::load(27854): line = 2144 I/FrameLoader::startLoad(27854): line = 1359 I/FrameLoader::startLoad(27854): line = 1409 I/DocumentLoader::startLoadingMainResource(27854): line = 746 I/DocumentLoader::startLoadingMainResource(27854): line = 773 I/DocumentLoader::startLoadingMainResource(27854): line = 790 I/chromium(27854): [INFO:resource_loader.cc(162)] EUI_ResourceLoader: Start request, url: https://securegw-stage.paytm.in/theia/processTransaction W/cr_AwContents(27854): shouldIgnoreNavigation called I/chromium(27854): [INFO:render_view_impl.cc(3748)] RenderViewImpl::UpdateThemeModePrefs() enable_theme_mode: 0 V/IMGSRV (27854): IMGeglDestroyContext:4669: eglDestroyContext [+] V/IMGSRV (27854): IMGeglDestroyContext:4738: eglDestroyContext [-] D/Surface (27854): Surface::disconnect(this=0x7f7e0ab400,api=1) D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354505 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354546 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354588 ref=0 D/Surface (27854): Surface::disconnect(this=0x7f7e0ab400,api=1) D/Surface (27854): Surface::disconnect(this=0x7f9dc69c00,api=1) D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354506 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354513 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354545 ref=0 D/Surface (27854): Surface::disconnect(this=0x7f9dc69c00,api=1) D/libc-netbsd(27854): [getaddrinfo]: hostname=securegw-stage.paytm.in; servname=(null); netid=0; mark=0 D/libc-netbsd(27854): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=2 I/EUI_WebViewCallback(27854): onPageStarted url:https://securegw-stage.paytm.in/theia/processTransaction E/libEGL (27854): validate_display:255 error 3008 (EGL_BAD_DISPLAY) I/chromium(27854): [INFO:synchronous_compositor_impl.cc(144)] [DidInitializeRendererObjects] ====== I/chromium(27854): [INFO:synchronous_compositor_impl.cc(449)] [RegisterProgressCheckCallback] outputSurface=[0x7f69061dc0][0x7f68bf5400] [1] I/chromium(27854): [INFO:sys_info_android.cc(239)] ProcessName=[com.deligence.ecommerces] I/chromium(27854): [INFO:synchronous_compositor_impl.cc(464)] [RegisterProgressCheckCallback] chromium.skipbeginmainframe=[] enable=[0] I/chromium(27854): [INFO:ScrollbarThemeDraggable.cpp(77)] drag_scroll blink paint 0 I/chromium(27854): [INFO:native_theme_android.cc(66)] drag_scroll ui paint 0 D/libc-netbsd(27854): getaddrinfo: securegw-stage.paytm.in get result from proxy gai_error = 0 I/ActivityThreadEui(27854): scheduleStopActivity com.example.ecommerces.MainActivity show=false configChanges=0 V/ActivityThread(27854): Finishing stop of ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}}: show=false win=com.android.internal.policy.PhoneWindow@538046c V/PhoneWindow(27854): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{3b2d296 com.deligence.ecommerces/com.example.ecommerces.MainActivity,ident = 0}, this =com.android.internal.policy.PhoneWindow$DecorView{da7474b I.E...... R......D 0,0-1080,1920} D/ActivityThread(27854): ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@9e1672f D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f97635440 ID=354765 fd=145 ref=1 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f786736c0 ID=354769 fd=157 ref=1 I/System (27854): FinalizerDaemon: finalize objects = 1396 I/chromium(27854): [INFO:resource_loader.cc(353)] EUI_ResourceLoader: OnResponseStarted, url: https://securegw-stage.paytm.in/theia/processTransaction status:0 error:0 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/theia/processTransaction bytes_read = 6158 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/theia/processTransaction bytes_read = 0 I/chromium(27854): [INFO:resource_loader.cc(671)] EUI_ResourceLoader: RespnseCompleted, url: https://securegw-stage.paytm.in/theia/processTransaction I/LocalDOMWindow::createDocument(27854): line = 340 I/Document::attach(27854): line = 2169 W/cr_BindingManager(27854): Cannot call determinedVisibility() - never saw a connection for the pid: 27854 I/DocumentLoader::finishedLoading(27854): line = 288 I/DocumentLoader::finishedLoading(27854): line = 315 I/chromium(27854): [INFO:resource_loader.cc(162)] EUI_ResourceLoader: Start request, url: https://staticgw1.paytm.in/common/images/loader.gif I/chromium(27854): [INFO:resource_loader.cc(353)] EUI_ResourceLoader: OnResponseStarted, url: https://staticgw1.paytm.in/common/images/loader.gif status:0 error:0 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://staticgw1.paytm.in/common/images/loader.gif bytes_read = 26623 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://staticgw1.paytm.in/common/images/loader.gif bytes_read = 0 I/chromium(27854): [INFO:resource_loader.cc(671)] EUI_ResourceLoader: RespnseCompleted, url: https://staticgw1.paytm.in/common/images/loader.gif I/chromium(27854): [INFO:ScrollbarThemeDraggable.cpp(77)] drag_scroll blink paint 0 I/chromium(27854): [INFO:native_theme_android.cc(66)] drag_scroll ui paint 0 I/FrameLoader::startLoad(27854): line = 1359 I/FrameLoader::startLoad(27854): line = 1409 I/DocumentLoader::startLoadingMainResource(27854): line = 746 I/DocumentLoader::startLoadingMainResource(27854): line = 773 I/DocumentLoader::startLoadingMainResource(27854): line = 790 I/chromium(27854): [INFO:resource_loader.cc(162)] EUI_ResourceLoader: Start request, url: https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 W/cr_AwContents(27854): shouldIgnoreNavigation called I/EUI_WebViewCallback(27854): onPageStarted url:https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 I/EUI_WebViewCallback(27854): onPageCommitVisible url:https://securegw-stage.paytm.in/theia/processTransaction I/chromium(27854): [INFO:resource_loader.cc(353)] EUI_ResourceLoader: OnResponseStarted, url: https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 status:0 error:0 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 bytes_read = 771 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 bytes_read = 0 I/chromium(27854): [INFO:resource_loader.cc(671)] EUI_ResourceLoader: RespnseCompleted, url: https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 I/LocalDOMWindow::createDocument(27854): line = 340 I/Document::attach(27854): line = 2169 W/cr_BindingManager(27854): Cannot call determinedVisibility() - never saw a connection for the pid: 27854 I/DocumentLoader::finishedLoading(27854): line = 288 I/DocumentLoader::finishedLoading(27854): line = 315 I/chromium(27854): [INFO:ScrollbarThemeDraggable.cpp(77)] drag_scroll blink paint 0 I/chromium(27854): [INFO:native_theme_android.cc(66)] drag_scroll ui paint 0 W/chromium(27854): [WARNING:password_handler.cc(210)] OnPasswordFormsRendered called W/chromium(27854): [WARNING:aw_password_handler_delegate_impl.cc(215)] IsSavePasswordEnabled ret is 1 W/chromium(27854): [WARNING:password_handler.cc(215)] OnPasswordFormsRendered can_save = 0 I/EUI_WebViewCallback(27854): onPageFinished url:https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 I/chromium(27854): [INFO:resource_loader.cc(162)] EUI_ResourceLoader: Start request, url: https://securegw-stage.paytm.in/favicon.ico D/WebView (27854): loadUrl=javascript:window.HTMLOUT.processResponse(document.getElementById('response').value); I/cr_EUI_AwContents(27854): loadUrl url:javascript:window.HTMLOUT.processResponse(document.getElementById('response').value); E/wqqgt (27854): loadUrl() isDestroyed=false mNativeAwContents=547639519232 I/RenderFrameImpl::OnNavigate(27854): line = 1405 I/WebLocalFrameImpl::load(27854): line = 2137 I/EUI_WebViewCallback(27854): onPageCommitVisible url:https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=1555563328659 I/ActivityThreadEui(27854): schedulePauseActivity com.paytm.pgsdk.PaytmPGActivity finished=true userLeaving=false configChanges=0 dontReport=false I/ContentValues(27854): onTransactionResponse: Bundle[{STATUS=PENDING, CHECKSUMHASH=dYCQGtM6xaIUO1Bh/3KgLCaTwLRnCSAmrMG3Vnh2PojGJ8UrkyLkgGrdNXGXwPz8YLXEw3nlRP8YjwwKRVkCWzoAVLnj1UvknDfXdOjBuIM=, ORDERID=1555563328659, TXNAMOUNT=3.00, TXNDATE=2019-04-18 10:24:57.0, MID=***MID, TXNID=20190418111212800110168738600428648, RESPCODE=402, BANKTXNID=, CURRENCY=INR, RESPMSG=Session Expired Failure}] D/ActivityThread(27854): ACT-AM_ON_PAUSE_CALLED ActivityRecord{47f06bd token=android.os.BinderProxy@151a4b2 {com.deligence.ecommerces/com.paytm.pgsdk.PaytmPGActivity}} I/ActivityThreadEui(27854): scheduleResumeActivity com.example.ecommerces.MainActivity D/ActivityThread(27854): ACT-PAUSE_ACTIVITY_FINISHING handled : 0 / android.os.BinderProxy@151a4b2 D/WindowClient(27854): Add to mViews: android.widget.LinearLayout{fec1d96 V.E...... ......I. 0,0-0,0}, this = android.view.WindowManagerGlobal@1bc993b E/OpenGLRenderer(27854): PerfServiceNative_notifyRenderTime init fail! D/OpenGLRenderer(27854): CanvasContext() 0x7f7d963000 D/ViewRootImpl(27854): hardware acceleration is enabled, this = ViewRoot{a6c7504 Toast,ident = 2} V/ActivityThread(27854): Performing resume of ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} D/ActivityThread(27854): ACT-AM_ON_RESUME_CALLED ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} V/ActivityThread(27854): Resume ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} started activity: false, hideForNow: false, finished: false D/ActivityThreadEui(27854): check reason flags for activity window =com.example.ecommerces.MainActivity reasonFlags=0 V/ActivityThread(27854): Resuming ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} with isForward=false V/PhoneWindow(27854): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{3b2d296 com.deligence.ecommerces/com.example.ecommerces.MainActivity,ident = 0}, this =com.android.internal.policy.PhoneWindow$DecorView{da7474b V.E...... R.....ID 0,0-1080,1920} V/ActivityThread(27854): Scheduling idle handler for ActivityRecord{f14810e token=android.os.BinderProxy@9e1672f {com.deligence.ecommerces/com.example.ecommerces.MainActivity}} D/ActivityThread(27854): ACT-RESUME_ACTIVITY handled : 0 / android.os.BinderProxy@9e1672f D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() I/chromium(27854): [INFO:resource_loader.cc(353)] EUI_ResourceLoader: OnResponseStarted, url: https://securegw-stage.paytm.in/favicon.ico status:0 error:0 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/favicon.ico bytes_read = 107 I/chromium(27854): [INFO:resource_loader.cc(382)] EUI_ResourceLoader: OnReadComplete, url: https://securegw-stage.paytm.in/favicon.ico bytes_read = 0 I/chromium(27854): [INFO:resource_loader.cc(671)] EUI_ResourceLoader: RespnseCompleted, url: https://securegw-stage.paytm.in/favicon.ico D/Surface (27854): Surface::connect(this=0x7f9dc69c00,api=1) W/libEGL (27854): [ANDROID_RECORDABLE] format: 1 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f74c45420 ID=354815 fd=189 ref=1 D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() D/OpenGLRenderer(27854): CanvasContext() 0x7f7d852000 initialize window=0x7f7e0ac210, title=com.deligence.ecommerces/com.example.ecommerces.MainActivity D/Surface (27854): Surface::connect(this=0x7f7e0ac200,api=1) W/libEGL (27854): [ANDROID_RECORDABLE] format: 1 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f7d9c84a0 ID=354817 fd=194 ref=1 D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() D/Surface (27854): Surface::allocateBuffers(this=0x7f691f4400) D/OpenGLRenderer(27854): CanvasContext() 0x7f7d963000 initialize window=0x7f691f4410, title=Toast D/Surface (27854): Surface::connect(this=0x7f691f4400,api=1) W/libEGL (27854): [ANDROID_RECORDABLE] format: 1 D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f7d9c85e0 ID=354823 fd=188 ref=1 I/EUI_WebViewCallback(27854): onReceivedHttpError statusCode:503 url:https://securegw-stage.paytm.in/favicon.ico D/OpenGLRenderer(27854): CacheTexture 38 upload: x, y, width height = 0, 0, 160, 746 D/SQLiteDatabase(27854): beginTransaction() D/SQLiteDatabase(27854): endTransaction() V/RenderScript(27854): 0x7f78516000 Launching thread(s), CPUs 8 V/InputMethodManager(27854): onWindowFocus: io.flutter.view.FlutterView{244b140 VFE...... .F...... 0,0-1080,1920} softInputMode=16 first=true flags=#81810100 V/InputMethodManager(27854): START INPUT: io.flutter.view.FlutterView{244b140 VFE...... .F...... 0,0-1080,1920} ic=null tba=android.view.inputmethod.EditorInfo@4c8e7a controlFlags=#105 D/Surface (27854): Surface::disconnect(this=0x7f691f3600,api=1) D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354769 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354765 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354731 ref=0 D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354726 ref=0 D/Surface (27854): Surface::disconnect(this=0x7f691f3600,api=1) D/IMGSRV (27854): gralloc_register_buffer:1373: hnd=0x7f784b78c0 ID=354851 fd=139 ref=1 D/WindowClient(27854): Remove from mViews: com.android.internal.policy.PhoneWindow$DecorView{2271737 V.E...... R......D 0,0-1080,1920}, this = android.view.WindowManagerGlobal@1bc993b D/ActivityThread(27854): ACT-DESTROY_ACTIVITY handled : 1 / android.os.BinderProxy@151a4b2 D/Surface (27854): Surface::disconnect(this=0x7f691f4400,api=1) D/IMGSRV (27854): gralloc_unregister_buffer:1488: ID=354823 ref=0 D/Surface (27854): Surface::disconnect(this=0x7f691f4400,api=1) D/WindowClient(27854): Remove from mViews: android.widget.LinearLayout{fec1d96 V.E...... ......I. 0,0-840,703}, this = android.view.WindowManagerGlobal@1bc993b

and thank you for response..

apoorv9496 commented 5 years ago

i used this url, url = 'https://paytmsdk.000webhostapp.com/paytm/generateChecksum.php' to generate checksum and https://paytmsdk.000webhostapp.com/paytm/verifyChecksum.php. here is my code await PaytmPayments.makePaytmPayment( "***MID**", // required field url, // required field customerId: "123", // auto generated if not specified orderId: orderId, // auto generated if not specified txnAmount: "3.0", // default: 10 channelId: "WAP", // default: WAP industryTypeId: "Retail", // default: Retail website: "APPSTAGING", // default: APPSTAGING staging: false, // default: true (by default paytm staging environment is used) ),

if i change staging to true then it give me pending transaction in paytm transaction but the process of login page could not display.

Error in Terminal: D/WindowClient(27854): Remove from mViews: android.widget.LinearLayout{fec1d96 V.E...... ......I. 0,0-840,703}, this = android.view.WindowManagerGlobal@1bc993b

and thank you for response..

Since you are using Staging Details you are supposed to set staging parameter to true.

Also when you proceed with staging set to true. You will be displayed a login button on the top right side of the screen. Use Paytm Test Credentials to Login.

Test Credentials: number: 7777777777 OTP: 489871

I have updated the plugin, please use the latest version and proceed. I have also added test MID and test checksum URL in example app of the plugin

Please let me know if this resolves your issue, I'll be happy to help if the problem persists.

apoorv9496 commented 5 years ago

Hey Sakshi,

If this issue is resolved, please let me know. I'll be closing the thread.

On Wed, Apr 17, 2019, 16:13 sakshi1501 <notifications@github.com wrote:

i am using your package. But while starting transaction i got invalid checksum message.

onTransactionResponse: Bundle[{STATUS=TXN_FAILURE, ORDERID=1555497595544, TXNAMOUNT=3.00, MID=WhGXTR60132473115302, RESPCODE=330, BANKTXNID=, CURRENCY=INR, RESPMSG=Invalid checksum}]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apoorv9496/paytm_payments/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AEX6DM54BP4PPA3DEQMX5A3PQ35MVANCNFSM4HGS762A .

sakshi1501 commented 5 years ago

i didn't get any login page in app.. it automatically redirect me same page and give onTransactionResponse: Bundle[{STATUS=TXN_FAILURE, ORDERID=1555909276389, TXNAMOUNT=18.00, MID=MID, RESPCODE=330, BANKTXNID=, CURRENCY=INR, RESPMSG=Invalid checksum}] session expired error. i also used updated version of paytm payments but the issue is not solved. i think i done some mistake in creating checksum url. can u please checkout where i done mistake? thank you for your response. and please tell me in which time you come online

sakshi1501 commented 5 years ago

when i am using your mid and checksum url then its working fine..

apoorv9496 commented 5 years ago

I will be available online for the whole day today. Feel free to contact me. And yes probably some problem with your checksum url.

Did you complete this step?

Also since you are at staging stage. Make sure to use only the staging values for all the parameters.

On Mon, Apr 22, 2019 at 10:39 AM sakshi1501 notifications@github.com wrote:

i didn't get any login page in app.. it automatically redirect me same page and give onTransactionResponse: Bundle[{STATUS=TXN_FAILURE, ORDERID=1555909276389, TXNAMOUNT=18.00, MID=MID, RESPCODE=330, BANKTXNID=, CURRENCY=INR, RESPMSG=Invalid checksum}] session expired error. i also used updated version of paytm payments but the issue is not solved. i think i done some mistake in creating checksum url. can u please checkout where i done mistake? thank you for your response. and please tell me in which time you come online

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/apoorv9496/paytm_payments/issues/1#issuecomment-485326675, or mute the thread https://github.com/notifications/unsubscribe-auth/AEX6DM43FPBRESIN4UN4DZTPRVCBJANCNFSM4HGS762A .

apoorv9496 commented 5 years ago

Staging and Production issues fixed and tested in the latest version - 0.2.0. Closing the issue now.

vikramaggarwal13 commented 5 years ago

Yep this plugin is working fine and i am getting expected results now but i am getting toast message at the end and i dont want to display this Can you suggest , how can i do this ?

apoorv9496 commented 5 years ago

Noted. Not everyone wants toast messages to be displayed.

I'll add an option to set toast message on/off in the update I'm going to publish tonight.

On Sat, May 4, 2019, 20:13 vikramaggarwal13 notifications@github.com wrote:

Yep this plugin is working fine and i am getting expected results now but i am getting toast message at the end and i dont want to display this Can you suggest , how can i do this ?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/apoorv9496/paytm_payments/issues/1#issuecomment-489333089, or mute the thread https://github.com/notifications/unsubscribe-auth/AEX6DM2PBRKEQFS7APCZWFLPTWOIBANCNFSM4HGS762A .

apoorv9496 commented 5 years ago

Added an option to disable the Transaction Response Toast message. Pull the latest package (0.2.1) and try again.

Also, please let me know if there is anything else. Thank you.