Checkout Events

Paddle.js Event Callback

As a part of the Paddle.Setup() call, you can pass an eventCallback parameter. This function is called for every Paddle checkout event, allowing you trigger behaviors based on user interactions with Paddle.

Unlike the Success and Close checkout parameter callbacks, the eventCallback is non-blocking and will fire in the background, allowing Paddle.js and the checkout to continue with its typical functionality.

  vendor: 33958,
  eventCallback: function(data) {
    console.log(data.event); // The data.event will specify the event type
    console.log(data.eventData); // Data specifics on the event

List of Events

Event Type Description
Checkout.Loaded Checkout has been initialized on the page
Checkout.Close Checkout has been closed without completing the process
Checkout.Complete Checkout has been successfully complete
Checkout.User.Subscribed User has opted into/out of marketing emails in checkout
Checkout.Quantity.Change User has changed the quantity in the checkout
Checkout.Login User has proceeded past the ‘email’ checkout page
Checkout.Logout User selected ‘this is not me’ in bottom right of checkout
Checkout.CountryChanged Country has changed
Checkout.PaymentMethodSelected Payment method has changed
Checkout.Coupon.Add User clicked ‘Add Coupon’
Checkout.Coupon.Submit User has submitted a coupon
Checkout.Coupon.Cancel User has cancelled the coupon page
Checkout.Coupon.Applied Valid coupon applied to purchase
Checkout.Coupon.Remove Coupon has been removed
Checkout.Error Any generic checkout error, like an invalid VAT number
Checkout.Location.Submit User proceeded past the location page
Checkout.ApplePay ApplePay enabled for iPhones for checkout
Checkout.Language.Change Language has been changed in the bottom right
Checkout.Vat.Add Add VAT button clicked
Checkout.Vat.Cancel VAT screen cancelled
Checkout.Vat.Submit VAT number was submitted
Checkout.Vat.Applied VAT number was accepted
Checkout.Vat.Remove VAT number was removed
Checkout.PaymentMethods.ShowMore More payment methods selected
Checkout.PaymentMethods.ShowDefaults Show default payment methods page
Checkout.DuplicateWarningShown Warning shown if they recently bought the same product
Checkout.WireTransfer.Complete Wire transfer has been completed
Checkout.PaymentComplete Payment has been completed successfully

Try logging event data to the console to view the full range of values returned with each event.