|
Welcome,
Guest
|
|
|
I have written a code to test your api in java on your sandbox.
Please see repo :github.com/Simbacode/mobipayments pesapal: github.com/Simbacode/mobipayments/blob/m...s/oauth/Pesapal.java I am getting the reponse:<!DOCTYPE So i wonder if i am getting the right response. Another thing is can these request be logged somewhere. |
|
coder without borders
|
|
Not even one reply sigh
|
|
coder without borders
|
|
Am also getting the same error Exception in thread "main" java.lang.RuntimeException: Unexpected response `<!DOCTYPE html>'
meaning the is no responce from the server |
|
|
|
Hi!
I am also getting the same response<!DOCTYPE html> while integrating pesapal, and its not redirecred to the pesapal payment site, Can you tell where the mistake happened. |
|
Last Edit: 11 years, 2 months ago by tkarasan.
|
|
I want to send the pesapal request for demo site, I want to know how to forward the request to the pesapal gateway after getting the <!DOCTYPE html> response?
|
|
|
|
I have been to add better error printing but i when i make a request to your servers i get a page not found error.
See gist gist.github.com/mistaguy/6521973e56dfe982318b. Please the developers of the API at pesapal tell me whats up. |
|
coder without borders
|
|
The reason as to why we were receiving <!DOCTYPE html> is because i was sending POST requests and not printing the whole response from pesapal. I was able to correct that and what i saw in the whole message was that "the page cannot be found....blah blah..". My Guess is that Pesapal does not support POST request. I have change the code to GET and now the error is:
Problem: signature_method_rejected | Advice: > | I hope anyone from Pesapal can respond,otherwise their support is so sub standard |
|
coder without borders
|
|