Google Checkout API Callback API Callback Issue

I can process orders without problems. However, when I look in the integration console, I see the following error:

We encountered an error trying to access your server at https: // [urlremoved] /registerpayment.aspx - the error we received is the Sending error with the code: 401. The response body was: 401 - Unauthorized: access denied- for invalid credentials.

server error

401 - Unauthorized: Access denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials you provided.

I am using IIS 7 with a godaddy hosting account. I have SSL installed on the server. Any ideas?

+3
source share
2 answers

From one of your last questions , I assume that you are sending an API call via HTTPS from your server side.

You get this error because your server does not recognize the credentials for authenticating messages sent back to Google Checkout.

Google predicts all callbacks and notifications with basic HTTP authentication, using your Merchant ID as your username and your seller key as a password.

The HTTP 401 error indicates that you have not completely completed basic HTTP authentication on your server.

You may find this post helpful, which includes sample code on how to handle this situation:

+4

, registerpayment.aspx . Firefox? , iis,

0

Source: https://habr.com/ru/post/1727013/


All Articles