MerchantsCard payments

Card subscriptions

Let payers start a subscription paid by card. The extra key permissions, the switch and addendum, renewals and retries, and what ends one.

5 min read

With card subscriptions on, a payer can start a subscription to one of your recurring prices by card. Fianto saves the card to your Stripe account and charges it at each renewal, every 30 days or every 365 days as the price sets. The money goes into your Stripe account, as for any card payment. Card subscriptions are turned on separately from card payments.

Before you start

  • Card payments connected and on. See Card payments.
  • A display name for your business.
  • Your password, and your two-factor code when two-factor sign-in is on. The switch asks for them every time.

Steps

Add four permissions to your Stripe key

Card subscriptions need four more permissions on your restricted key, as the dashboard names them:

  • Customers: Write
  • Payment Intents: Write
  • Payment Methods: Write
  • Setup Intents: Read

These are the dashboard's labels. Stripe's own Dashboard may spell them differently. The Connect Stripe dialog lists three of them under "For card subscriptions", and Payment Intents at Write under "Required", with the note "Read is enough to connect. Card subscriptions need Write." Fianto asks for them only when you turn card subscriptions on.

Turn on Card subscriptions

In Settings → Payment methods, the Cards through Stripe card has a Card subscriptions switch. Turning it on shows the Card payments addendum, which you accept with "I accept the Card payments addendum.", then your password.

The Cards through Stripe card once connected: Account, Mode, Last event, a Make a test payment button, the Card payments box ticked and the Card subscriptions box off.
The Card subscriptions switch sits under Card payments. Shown with Stripe test keys.

The addendum is Schedule 6 of the Terms, version card-sub-terms-v2. In short: you are the seller of every card subscription, and its charges are made in your own Stripe account. You may charge a card Fianto saved for a subscription only through Fianto's scheduled charges for the agreed amount; Fianto watches for other charges and may suspend card subscriptions. Notices the law or the card networks require before a renewal are yours to give, unless the dashboard says Fianto sends them. While a card subscription on your Stripe account has not ended, you cannot disconnect that account. Fianto removes the saved card when a subscription ends. Read the full text before you accept it.

When a subscription checkout offers a card

A subscription checkout offers a card only when every one of these holds:

  • card subscriptions are on, and new subscriptions are not paused;
  • the price has not ended;
  • every charge, at the list price and at any discount, is whole cents from $1.00 to $999,999.99;
  • you switched Card subscriptions on and accepted the addendum;
  • your Stripe connection is active with Card payments on, and your account is approved and not suspended;
  • your key passed the four extra permissions;
  • the application is active;
  • the discount's terms can be read, your business has a display name, and the consent sentence fits Stripe's length limit.

The payer ticks a box to agree to a sentence that Fianto writes from the checkout's own figures. A card subscription cannot start without it.

Renewals and retries

Fianto charges the saved card at each period's end, 2 minutes after it. When a charge fails:

FailureDashboard wordWhat happens
CARD_DECLINED"Card declined"Retried 1 hour, 6 hours and 24 hours after the period ends: four tries in all, as for crypto.
CARD_EXPIRED"Card expired"Counts as a try. The same card is not tried again: the payer is emailed to pay through their bank or add a card.
CARD_UNUSABLE"Card can’t be used"Counts as a try. The same card is not tried again, as above.
AUTHENTICATION_REQUIRED"Customer must confirm with their bank"Counts as a try. The same card is not tried again, as above.
GATEWAY_ERROR"Card network error"Counts as no try. Retried at about 5 minutes, 30 minutes, 2 hours, 8 hours, 24 hours, 48 hours and 72 hours, at most 8 sends to Stripe a period.
GATEWAY_UNAVAILABLE"Stripe connection needs attention"Counts as no try. Retried after 1 hour. If it lasts the whole period, the period is written off unpaid.

A new card from the payer brings a held retry forward. Stripe says: "Stripe recommends a maximum of eight retries for charges that permit retries." The spacing above is Fianto's own.

While Stripe cannot charge a live card subscription, Needs attention says "1 card subscription could not be charged through Stripe".

The payer gets emails about their card subscription. They are: a receipt, a request to confirm with their bank and its reminder, a card that needs updating or is about to expire, a card update, a reminder 7 days before each renewal of a 365-day subscription or before the first full-price charge after a discount, a cancel that is scheduled, the end, an off-plan charge, and refunds. Each email's link allows only its own purpose: view, cancel, keep (undo a cancel), pay or update the card. A link expires; a receipt or cancel link lasts 45 days at most. The payer can also sign in to the payer portal with their email (not on the devnet sandbox).

What ends one

  • The payer cancels, from a link or the portal: it ends at the period's end.
  • You cancel, from the dashboard or with POST /v1/subscriptions/{id}/cancel.
  • PAYMENT_FAILED: the counted tries ran out.

A cancel refunds nothing. After the end, Fianto removes the saved card from your Stripe customer, unless another of your live subscriptions uses it.

Charges outside Fianto

A charge on a card that Fianto saved, which Fianto did not make, is recorded and reported. Nothing is refunded or blocked because of it.

Refunds Fianto makes by itself

Fianto refunds three kinds of card-subscription charge in full, through your Stripe key, and emails the payer once Stripe has answered:

  • a first payment that started no subscription, for example on a checkout that was cancelled, then paid late;
  • a payment through a renewal pay link that pays nothing, for example of another amount;
  • a renewal charge that succeeded late, after it was recorded as failed.

None of them is a refund of a succeeded payment: they move no refunded amount and send no webhook event.

Turn card subscriptions off

Turn off: "New customers can no longer subscribe by card. Existing card subscriptions keep renewing."

You cannot disconnect Stripe while a card subscription on it has not ended, a renewal pay link is still open, or a saved card is not removed yet.

Check it worked

The Card subscriptions switch reads "On", and the connected Stripe row says "Cards work for one-time payments, payment links, the Shop, invoices and subscriptions."

Troubleshooting

You seeWhyFix
"Needs key permissions"Your restricted key lacks one of the four permissions above.Edit the key in Stripe, add the permission, then turn the switch on again.
A subscription checkout shows no cardOne of the conditions above does not hold, for example a charge that is not whole cents.Check When a subscription checkout offers a card.
"1 card subscription could not be charged through Stripe"Stripe cannot charge a live card subscription."Check Payment methods in Settings; if a card or customer was deleted in Stripe, the customer needs to update their card."
Forcing a renewal is refused"Forcing a renewal works only on devnet."Test renewals on the devnet sandbox, with Stripe test keys.

See also

Was this page helpful? Tell us

fianto.xyz

On this page