wc-stripe-link-payments
Installation
SKILL.md
WooCommerce Stripe Link payments
Do not model Link as a card brand or a separate WooCommerce gateway. Determine the representation from the Stripe PaymentMethod object and the hydrated Woo token.
Distinguish the two Link representations
| Stripe object | Woo token | Durable fields | Meaning |
|---|---|---|---|
type = link, link.email |
WC_Payment_Token_Link |
type link, gateway stripe, token pm_..., email meta |
Native reusable Link PaymentMethod |
type = card, card.wallet.type = link |
WC_Stripe_Payment_Token_CC |
type CC, gateway stripe, pm_..., card/fingerprint fields, wallet_type=link |
A card-shaped PaymentMethod used through Link |
Both can have a pm_... ID. Never infer card shape from that prefix. The plugin deliberately does not expose Link branding for the second case: get_wallet_brand_label() returns a label only for Apple Pay and Google Pay.