Displaying cart details

    Dynamically update cart details on the reader screen.

    The Verifone P400 reader’s built-in screen can display cart details. Just set the reader display in your app. As customers check out, the screen shows items added to the cart, along with the updated total price.

    Set the reader display

    To set the line items and total displayed on the reader during a payment, use the setReaderDisplay method.

    terminal.setReaderDisplay({ type: 'cart', cart: { line_items: [ { description: "Caramel latte", amount: 659, quantity: 1, }, { description: "Dozen donuts", amount: 1239, quantity: 1, }, ], tax: 100, total: 1998, currency: 'usd', }, });

    Clearing the reader display

    After a successful payment, the Verifone P400 displays a Thank you screen by default. You can choose to clear the display instead, using the clearReaderDisplay method.

    Clearing the reader display can be helpful when there’s more to do with this customer’s transaction. For example, you might need to update a booking or some information about the customer in your system.

    Pre-dipping a card

    The Verifone P400 supports the ability to present a card to the reader before the transaction amount is finalized. This option—known as pre-dip, pre-tap, or pre-swipe—can help speed up transaction times by allowing a customer to present a payment method before the end of the transaction.

    The setReaderDisplay method prepares the reader for pre-dipping. The customer can present a payment method at any point after the method is called.

    Even if a customer pre-dips their card, your application must still complete the full payment flow.

    Was this page helpful?

    Feedback about this page?

    Thank you for helping improve Stripe's documentation. If you need help or have any questions, please consider contacting support.

    On this page