|
Welcome,
Guest
|
|
|
>>>>>>>> HTTP request:
GET /API/PostPesapalDirectOrderV4?pesapal_request_data=<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo xmlns:xsi="www.w3.org/2001/XMLSchema-instance" xmlns:xsd="www.w3.org/2001/XMLSchema" Amount="1000.00" Description="desc" Type="MERCHANT" Reference="1111" FirstName="Acellam" LastName="Guy" Email=" This e-mail address is being protected from spambots. You need JavaScript enabled to view it. " PhoneNumber="0123456789" xmlns="www.pesapal.com" />&oauth_consumer_key=dxI27aMQvqoYb0ThrbgtZvaPtmY2ImhG&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1410134353&oauth_nonce=6187570984481&oauth_version=1.0&oauth_signature=/AeCcvhi4jwcmycG1GVhBUdr/tY= <<<<<<<< HTTP response: HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNetMvc-Version: 4.0 WWW-Authenticate: OAuth realm="", oauth_problem="parameter_rejected", oauth_parameters_rejected="Cannot%20insert%20the%20value%20NULL%20into%20column%20%27CallBackUri%27%2C%20table%20%27pesapal_beta.dbo.OrderDetails%27%3B%20column%20does%20not%20allow%20nulls.%20INSERT%20fails.%0D%0AThe%20statement%20has%20been%20terminated.", oauth_problem_advice="unknown_error_occured" X-AspNet-Version: 4.0.30319 Set-Cookie: ASP.NET_SessionId=4xhtuomaz5astjszddj4hklt; path=/; HttpOnly Set-Cookie: .PesapalASPNETMVC=; expires=Tue, 12-Oct-1999 00:00:00 GMT; path=/; HttpOnly X-Powered-By: ASP.NET Date: Sun, 07 Sep 2014 23:59:14 GMT Content-Length: 318 Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | Cannot%20insert%20the%20value%20NULL%20into%20column%20%27CallBackUri%27%2C%20table%20%27pesapal_beta.dbo.OrderDetails%27%3B%20column%20does%20not%20allow%20nulls.%20INSERT%20fails.%0D%0AThe%20statement%20has%20been%20terminated. |
|
coder without borders
|
|
The decoded message is below, you can see the request am sending and the response:
>>>>>>>> HTTP request: GET /API/PostPesapalDirectOrderV4?pesapal_request_data=<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo xmlns:xsi="www.w3.org/2001/XMLSchema-instance" xmlns:xsd="www.w3.org/2001/XMLSchema" Amount="1000.00" Description="desc" Type="MERCHANT" Reference="1111" FirstName="Acellam" LastName="Guy" Email=" This e-mail address is being protected from spambots. You need JavaScript enabled to view it. " PhoneNumber="0123456789" xmlns="www.pesapal.com" />&oauth_consumer_key=dxI27aMQvqoYb0ThrbgtZvaPtmY2ImhG&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1410134353&oauth_nonce=6187570984481&oauth_version=1.0&oauth_signature=/AeCcvhi4jwcmycG1GVhBUdr/tY= <<<<<<<< HTTP response: HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNetMvc-Version: 4.0 WWW-Authenticate: OAuth realm="", oauth_problem="parameter_rejected", oauth_parameters_rejected="Cannot insert the value NULL into column 'CallBackUri', table 'pesapal_beta.dbo.OrderDetails'; column does not allow nulls. INSERT fails. The statement has been terminated.", oauth_problem_advice="unknown_error_occured" X-AspNet-Version: 4.0.30319 Set-Cookie: ASP.NET_SessionId=4xhtuomaz5astjszddj4hklt; path=/; HttpOnly Set-Cookie: .PesapalASPNETMVC=; expires=Tue, 12-Oct-1999 00:00:00 GMT; path=/; HttpOnly X-Powered-By: ASP.NET Date: Sun, 07 Sep 2014 23:59:14 GMT Content-Length: 318 Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | Cannot insert the value NULL into column 'CallBackUri', table 'pesapal_beta.dbo.OrderDetails'; column does not allow nulls. INSERT fails. The statement has been terminated. |
|
coder without borders
|
|
Hi Mistaguy,
Have you provided a callback url at the point you are calling the IFrame? If yes please share the code you are using to call the IFrame to enable us find out where the call is failing. |
|
|
|
When i saw your response coming i had figured it out that was the missing puzzle :). My java lib works. I am announcing this in another post.
|
|
coder without borders
|
|