For payment methods that require a redirect, a payment is considered completed when the user is redirected to the success URL or failure URL you specified in your payment request.
Completion of a payment does not necessarily mean that the payment was successful. For example:
- If the customer is redirected to the success URL and you receive a
payment_approved
webhook, the payment was completed and was successful. - If a customer is redirected to the failure URL instead and you do not receive the webhook, the payment was completed, but was unsuccessful.