enum StorePaymentMethodMode

Whether a payment session stores the payment method the customer enters against its contact, and whether the customer gets a say in it.

  • DisabledNothing is stored. The default.
  • AskForConsentCheckout offers the customer the choice of saving their details and stores the method only if they accept. Payment options that are unsuitable for storing stay available, since the customer may decline and pay with one; no saving is offered for those options.
  • EnabledThe method is stored as a condition of paying, and checkout tells the customer so rather than asking. Payment options that are unsuitable for storing are withdrawn from the session.