enum StorePaymentMethodResult

What became of a payment session's request to store the payment method, once the session completed.

  • NotAttemptedNo store was attempted: storePaymentMethod was Disabled, or the session has not completed.
  • DeclinedThe customer declined to save their details under AskForConsent.
  • RefusedThe provider rejected the credential and nothing was stored. Under Enabled, where storing is a condition of paying, no payment was taken either; paymentId reports whether one was taken in any other case.
  • StoredThe method was stored, and paymentMethodId identifies it.