Paddle Billing
Ask AI

Paddle.Checkout.close()

Closes an opened checkout.

Use Paddle.Checkout.close() to close an opened checkout.

Typically used when working with overlay checkout to close the Paddle Checkout overlay. If used with inline checkout, removes the Paddle Checkout iframe from the DOM.

For success workflows, you can redirect to a success URL or pass an eventCallback to Paddle.Initialize() for checkout.completed.

To learn more, see Handle checkout success.

Example

This example shows how you can use Paddle.Checkout.close() to close an inline checkout.

Events

checkout.closedEmitted when the checkout is closed.

Related pages

AI Assistant

Ask me about Paddle

Discover, integrate, and debug faster. I'm here to help with all your questions and use cases.

Looking for help with a purchase? Visit paddle.net.

Powered by kapa.ai
|
Protected by hCaptcha