Invalid Hash When Initiating a RemoteTransaction


#9

I hope you did not give up on me @Harvey:sweat_smile: . I am still stuck.


#10

Hi there no I have not. I have been trying to figure out a way to share testing info , so far I am looking at Postman’s "share " feature. As a side note why are you not using the SDK’s?


#11

While generating the hash, the order of concatenation of the values matters.
So when generating the hash for initiating mobile money transactions, the order should be:

[Integration ID]TEST REF99.99http://www.google.com/search?q=returnurlhttp://www.google.com/search?q=resulturlsomeone@sommail.comMessageecocash0771111111[Integration Key]


#12

Continuing the discussion from Invalid Hash When Initiating a RemoteTransaction:

Thank you very much @Harvey… Without getting into details i will just say that my hands are tied, project constraints, therefore i can’t use any of the SDK’s.

I will be patiently waiting for your help.


Express Checkout | Error : Invalid Id
#13

Thanks @lucia. Unfortunately, im still stuck…lol


An error occured while initiating transaction Error: Hashes do not match! at Paynow.parse
#14

Hi Mr_D lets give this one more try
Follow this link to import postman collection

https://www.getpostman.com/collections/01be6fa1f4d783aa8c7f

Use this details to create a hash , change merchant id and secret

[merchant id]TEST REF99.99A test ticket transactionhttp://www.google.com/search?q=returnurlhttp://www.google.com/search?q=resulturlMessageecocash0771111111test@test.com[secret key]


#15

That’s a sign of victory… Thanks Harvey… Works like a charm in postman.


#16

I love your persistence @Harvey:raised_hands:


#17

@Harvey … Kindly explain what was wrong with my initial implementation. My goal is that i want to submit the request using Ajax post so i might also be haunted by my previous errors. How best can i perform an ajax post? Regards


#18

Postman has a feature to generate code , just under the save button there is a “code” button


#19

Thanks very much @Harvey … My code is now working!!! Thank you!!!:slightly_smiling_face:


Express Checkout | Error : Invalid Id
#20

It is such an honour seeing @Harvey presenting about Paynow at the 2019 DevFest… Harvey the guy who gets things done!!! Once again, thank you for assisting me solve my problem!!!:sunglasses:


Express Checkout | Error : Invalid Id
#21

@Harvey thanks for your contributions.l have been following the discussion after encountering the same issue.Unfortunately l m stuck here now ,l am not figuring out how to use the information on the link you shared.


#22

@Byro this is a good place to start. Have you used Postman before ?


Initiate A Transaction [ Error ]
#23

@Harvey Yes i have been using it for a while now


#24

@Byro are you facing challenges with the Postman instructions i posted above?


#25

@Harvey Yes l am sure


#26

@Byro where exactly? How far did you manage to get?


#27

@Harvey I got to the stage of importing postman collection.Looks like l not figuring out how.


Getting a HashMismatchException
#28

the link expired, can u please reshare