We are setting up an online payment facility using a payment gateway. After the payment gateway finishes processing the credit card details for a payment, the user is redirected to a "403 Forbidden" page. The logs show:
[MY_IP_ADDRESS_HERE] - - [SOME_DATE_HERE] "GET /POSTBACK_URL.php?txnid=1338434567&result=failure&reason=The+remote+server+returned+an+error%3a+(404)+Not+Found.&digest=7a115270c56df5945c43ad86e56b2e930a3cfd50 HTTP/1.1" 404 - "PAYMENT_GATEWAY_URL_HERE" "BROWSER_DETAILS_HERE"
It means that when the
PAYMENT_GATEWAY_URL attempts to open our
POSTBACK_URL, it gets a 404 error, is that correct? But why does the page say "403 Forbidden"?
Anyway, we tried to copy-paste that same URL into the browser window, and the page is opened successfully, with our programmed error notification message.
So, why couldn't it be opened when the payment gateway tried to redirect to it, but we could? Is this some sort of permissions issue? If so, the postback URL's file permissions are already 755.
What am I missing?