Stripe Billing activation for the shared subscription intent.
Implements the constrained fixed-price profile from
draft-stripe-subscription-00: one Customer, one recurring Price, one
quantity-one Subscription, and a synchronously paid first invoice.
Summary
Functions
Return the public Stripe subscription challenge fields.
Validate Stripe subscription configuration at Plug initialization.
Activate a Stripe subscription and verify its synchronously paid first invoice.
Functions
@spec challenge_method_details(MPP.Intents.Subscription.t()) :: map()
Return the public Stripe subscription challenge fields.
@spec validate_config!(map()) :: :ok
Validate Stripe subscription configuration at Plug initialization.
@spec verify(map(), MPP.Intents.Subscription.t()) :: {:ok, MPP.Receipt.t()} | {:error, MPP.Errors.t()}
Activate a Stripe subscription and verify its synchronously paid first invoice.