Closed sakshi1501 closed 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 .
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
and thank you for response..
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.
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 .
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
when i am using your mid and checksum url then its working fine..
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 .
Staging and Production issues fixed and tested in the latest version - 0.2.0. Closing the issue now.
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 ?
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 .
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.
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}]