Checkout expiration timer

Overview

By default, a checkout session will last as long as the user remains active. However, if you need to restrict the amount of time that a user can spend within the Affirm checkout flow, you define the time at which the checkout will expire. A timer will be displayed at the top of the checkout session, counting down to the expiration time.

Design

Desktop

Mobile/Tablet

Implementation

You can include a 'checkout_expiration' parameter in the top-level of your checkout object. There will be broken thumbnail image where it displays.

{
  "checkout_expiration" : "2017-07-06T22:33:45Z"
}

checkout_expiration
optional

timestamp

A date-timestamp of when the checkout_id will expire.

  • ISO timestamp format
  • No milliseconds

Example


Did this page help you?