API Integration


#1

I created a web-based App now I want to integrate with Paynow, I’m clueless.


#2

Where are you stuck?

It’s relatively simple if you follow the docs. I mean. Literally copy and paste


#3

Did you manage to resolve the problem.Where exactly are you stuck


#4

Did you finally resolve the problem, if not where are you stuck exactly


#5

No. I’m stuck here.

There’s an error message says:

invalid Hash. Hash should start with '3AFDF6'

I wrote:

"And typed my integration key"

#6

Yeah so that is related to how you’re generating the HashKey and how you’re sending the data to paynow.

Can you send your code snippet. It would be easier to see where exactly in the code.

But I would say make sure the payload you’re sending is in the exact same format as your hash.
Another thing is do not stringify the body but instead URL encode it


#7

Can you help me step by step, I’m using Termux on my smartphone.


#8

Sure. Can you copy and paste the code your wrote here.