Hosted Checkout
Return URLs
Where the customer lands after checkout, not a payment signal.
Success & cancel URLs
success_url and cancel_url are where the customer is sent back after paying or abandoning checkout.
Return URLs are not a payment confirmation: a customer can close the tab before the redirect. Always rely on the webhook (or polling) for the authoritative invoice status.