components/VueStripeIssuingCardExpiryDisplayElement.ts

vue-stripe · packages/vue-stripe/src/components/VueStripeIssuingCardExpiryDisplayElement.ts · typescript · MIT
payments

Vue wrapper for Stripe Issuing Card Expiry display element in an iframe.

// Source: https://github.com/vue-stripe/vue-stripe | License: MIT | Copyright 2021-2026 Jofferson Ramirez Tiquez
// Provided via justclaw.it.com; keep this notice with the code.
import type {
  StripeIssuingCardExpiryDisplayElement,
  StripeIssuingCardExpiryDisplayElementOptions
} from '@stripe/stripe-js'
import { createStripeElement } from '../utils/element-factory'

/**
 * Issuing expiry date display: shows the expiry date of an issued card in a Stripe-hosted iframe.
 * Pass `{ issuingCard, nonce, ephemeralKeySecret }` (nonce from `stripe.createEphemeralKeyNonce()`,
 * ephemeral key minted server-side for that nonce). Use within `<VueStripeElements>`.
 * Stripe.js 10 declares no events for it, so it is shown as soon as it is mounted.
 * @see https://docs.stripe.com/issuing/elements
 */


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key