I’d like to suggest enhancing the checkout experience by allowing users to cancel their purchase directly from the checkout screen. To support this, the create checkout session API should accept an optional cancel_url parameter, similar to the existing success_url. This would allow the user to be redirected to a defined URL if they choose not to complete the payment, enabling a smoother and more controlled user journey on cancellation.
