
The short answer: an online payment usually involves two addresses of yours that the operator uses. The return URL (or success URL) is where the customer’s browser is sent after paying: it is there to show them a page. The callback URL (also called notify URL, IPN or webhook) is called by the operator’s server directly to yours: that is the one that confirms the payment. Marking orders as paid because the customer reached the return URL means accepting proof anyone can type by hand, such as https://asuaempresa.ao/thank-you?order=1042&status=paid, and missing the payments of everyone who closed the tab before coming back. This is for whoever codes or configures a site’s payment integration.
The two addresses, side by side
| Criterion | Return URL | Callback URL |
| Who calls it | The customer’s browser. | The operator’s server. |
| What it is for | Showing a page: thank you, waiting, failed. | Changing the order’s status. |
| Can you trust it? | No. It can be typed by hand, or never happen (tab closed, network down, phone out of battery). | Yes, once you have checked the signature or confirmed the status with the operator’s API. |
| What it should return | A page for the customer to read. | A 200 code, quickly. Nobody reads anything else. |
| Can it require a login? | Yes. | No. The operator has no session on your site and cannot solve captchas. |
Setting up a callback URL that works
|
|
|
|
|
|
| “The customer paid but the order is still pending” nearly always means the callback did not arrive or was refused: a wrong address in the operator’s settings, a redirect, a 403 block, or a 500 error in your code. Check the PHP error log and the operator’s dashboard, which often lists the notification attempts and the code your site returned. |
| When you change domain, move to HTTPS or change the shop’s path, update the callback URL in the operator’s settings (or in the code, if it is sent with each request). It is the most forgotten step of a migration, and payments keep coming in without the site noticing. |
|
The operator says it notified your site and you see nothing in the log? Open a ticket with the callback address and the time of one notice, and we will look for the request in the hosting logs. Open a support ticket |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from 5.940,00 Kz/mo (3-year plan, with coupon) See plans |











