enum StorePaymentMethodResult

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

  • NotAttempted — No store was attempted: storePaymentMethod was Disabled, or the session has not completed.
  • Declined — The customer declined to save their details under AskForConsent.
  • Refused — The 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.
  • Stored — The method was stored, and paymentMethodId identifies it.