-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occured while initiating transaction Error: Hashes do not match! #26
Comments
feels like they just dont want to fix this issue |
@venom-napsta you can say that.. It has been ages and developers are still crying about the same thing.. This should have been resolved by now |
@TafadzwaD @venom-napsta @fraud47 As far as I know, the SDK is throwing an erroneous Though the SDK should better handle and give a better message when that's the case, a quick fix is just ensuring you're using live credentials when you're using your own numbers for testing mobile transactions. If your key is still in test mode, use the test numbers as outlined in the documentation. I've been a bit tied, and can't find the time to make a PR to give a better message right now. But will try to make sure it happens soon! OSS can be hard. |
Thanks so much for the effort man. I thought i might be doing this test
wrongly, so please can you just record screen shots doing it, till the
account is left to be set live only, or give us postman/insomnia working
parameters. thank you
…On Thu, Jan 13, 2022 at 6:53 PM Napsta Kid ***@***.***> wrote:
Thanks so much for the effort man. i thought i might be doing this test
wrongs, so please can you just record screen shots doing it. thank you
On Thu, Jan 13, 2022 at 5:14 PM Meru-kun ***@***.***> wrote:
> @TafadzwaD <https://github.com/TafadzwaD> @venom-napsta
> <https://github.com/venom-napsta> @fraud47 <https://github.com/fraud47>
> As far as I know, the SDK is throwing an erroneous Hash Mismatch when
> you try using keys that are not live to initiate a mobile transaction.
>
> Though the SDK should better handle and give a better message when that's
> the case, a quick fix is just ensuring you're using live credentials when
> you're using your own numbers for testing mobile transactions. If your key
> is still in test mode, use the test numbers as outlined in the
> documentation
> <https://developers.paynow.co.zw/docs/test_mode.html#express-checkout-mobile-money>
> .
>
> I've been a bit tied, and can't find the time to make a PR to give a
> better message right now. But will try to make sure it happens soon! OSS
> can be hard.
>
> —
> Reply to this email directly, view it on GitHub
> <#26 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AL5LMQ4LKPENWW5GS2O3F3LUV3T3TANCNFSM5BUDKURQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
@iammerus You efforts are highly appreciated man.. All along I thought that the Paynow Team was behind this package. Anyway we could help?? |
@venom-napsta Try reading up on how to test mobile transactions with keys that aren't live. There's special numbers you can use to test your integration. Each number gives you a different status update which allows you to test those different scenarios until your app is live. https://developers.paynow.co.zw/docs/test_mode.html#express-checkout-mobile-money |
@TafadzwaD Are you familiar with the SDK's codebase? Or we can have a quick call and I can show you what needs to be updated. Then you can submit a PR to the repo when done. That would save me from having to implement the solution myself |
I think the call would help. Thanks Email : [email protected] |
Wasted lots and lots of hours on this issue. Whyyyy paynow, why aren't you looking into this? All you have to do is pass this error message to the user Along with mismatching hash. How hard is that. I had to dig into your node_modules c'mon Dear future me. Use the same email as the one on you account. |
Let us have a quick call then you can show me what needs to be updated @iammerus . I am familiar with the codebase |
Omg, unbelievable. Yes, PayNow has not done something about the error handling, N.B. The authemail field supplied during test mode should match one of the login email addresses for the merchant account being tested. This means if the account you used to obtain integration keys is So I suggest a thorough reading of the docs before implementation to any developer in the future. Till the issue is fixed, I'm out. ✌🏽 |
mobile payement not working
An error occured while initiating transaction Error: Hashes do not match!
at Paynow.parse (C:\Users\USER\Documents\projects\nodejs\league\leaguebackend\node_modules\paynow\dist\paynow.js:101:23)
at C:\Users\USER\Documents\projects\nodejs\league\leaguebackend\node_modules\paynow\dist\paynow.js:87:26
at processTicksAndRejections (internal/process/task_queues.js:95:5)
The text was updated successfully, but these errors were encountered: