capacitor-stripe-terminal
    Preparing search index...

    Interface InternetConnectionConfiguration

    interface InternetConnectionConfiguration {
        allowCustomerCancel?: boolean;
        failIfInUse?: boolean;
        locationId: string;
    }

    Hierarchy (View Summary)

    Index
    allowCustomerCancel?: boolean

    If set to true, the customer will be able to press the red X button on the Verifone P400 to cancel a collectPaymentMethod, collectReusableCard, or collectRefundPaymentMethod command.

    This behavior is part of a private beta. Setting this property will have no effect if you are not part of the allowCustomerCancel beta program.

    false
    
    failIfInUse?: boolean

    When set to true, the connection will automatically error if the reader is already connected to a device and collecting payment. When set to false, this will allow you to connect to a reader already connected to another device, and will break the existing reader-to-SDK connection on the other device when it attempts to collect payment.

    false
    
    locationId: string

    The ID of the Location which the reader should be registered to during connection.

    If the provided ID matches the location the reader is already registered to, the location will not be changed.

    When connecting to a simulated reader, pass in the reader's pre-existing mock location. You can find the mock location ID on the reader object, on the locationId property.