Skip to content
Try Free →

Manage Stripe subscriptions in chat

In development. We are building this now. This page shows how it works. See the roadmap

The subscription manager lets a signed-in customer upgrade or downgrade their Stripe subscription in chat. The customer asks, confirms on a card, and AskVault updates the subscription in your Stripe account. It acts only for an email your site signed with identity verification.

What the action does

It has exactly three actions:

  • Upgrade a Stripe subscription to a target Stripe Price ID.
  • Downgrade a Stripe subscription to a target Stripe Price ID.
  • Refund a Stripe charge, given the charge ID and an amount. Refund and coupon requests are declined, so plan around plan changes.

Each call needs the customer's email, and the agent gives a short reason. There is no status lookup, so it cannot answer "what plan am I on?", and there is no cancel action and no read-only mode. For status questions, add your own billing FAQ to your knowledge, or hand off to a person. The action is off by default until you connect Stripe and switch it on.

Before you start

  • A Stripe account you control, connected to the agent.
  • Identity verification on your site, so each signed-in customer is verified.
  • For downgrades, a written policy in your knowledge base.

Steps

  1. Open Behaviour under Your agent, then Actions, and find Subscription Manager.
  2. Click Connect, sign in to Stripe and approve the connection.
  3. Switch the action on.

You cannot pick test mode when connecting, so try a plan change with a customer you control. A confirmed change is made on their live subscription.

AskVault requests Stripe's read_write access, because Stripe offers no narrower grant. The limits below are AskVault's own. Card numbers never reach AskVault, and PCI compliance stays with Stripe. One Stripe account connects to one agent.

Customer identification

The action only acts for a visitor your site has signed in. Your server signs the customer's email as the user_id with your identity verification secret, and the widget passes both. The action acts only when the email in the request is that signed email. It then looks the email up in Stripe, and if no Stripe customer has it, nothing happens.

An email the visitor merely types, or a signed user_id that is not an email, is refused before Stripe is ever called, and the agent offers a teammate instead. There is no email-code step for visitors who are not signed in.

How a confirmed change runs

  1. The signed-in customer asks, for example, "I want to upgrade from Starter to Growth."
  2. The agent shows the customer a confirm card for that change. AskVault records that it did.
  3. The change runs only when a later message from the visitor, within 10 minutes of the card, is a short yes for the same request in the same conversation. A short yes within 10 minutes works once.
  4. AskVault asks Stripe to update the subscription, with Stripe's default proration, and reports the result.

A confirmation the AI writes for itself is ignored. A late yes, or a request that changed after the card, gets a new card. Upgrades have no written-policy check.

With teammate approval on, a plan change waits for a teammate in the Inbox instead of the customer's yes. See Have a teammate approve money actions.

Checks on each action

AskVault's code applies these, not the AI:

  • Signed email. Every action is refused unless the email is the one your site signed.
  • Written policy. Every downgrade and refund needs a matching written policy in your knowledge base. AskVault searches with a fixed phrase and uses the top passage only if it is a close match, so a downgrade is declined when no such passage exists.
  • Daily refund cap. A fixed daily ceiling on refunds per workspace, not adjustable.
  • No double runs. An identical request within 24 hours returns the earlier result.

The policy check does not read a refund or discount ceiling out of your policy text, so every refund and every discount request is declined. Time windows such as "within 14 days" are not checked, only amounts.

Discount coupons

The Discount Negotiator action is designed to create a one-time Stripe coupon for a signed-in customer, up to a fixed 15% and only inside a discount policy you wrote. It declines every request. Shopify discount codes are not supported by it.

What it does not do

  • No billing actions for customers who are not signed in.
  • No completed refunds or coupons.
  • No failed-payment outreach, invoice lookup or live subscription-status answers.
  • No settings screen for bounds or an audit log. AskVault keeps a server record of each call with its inputs and result.

To bridge to your own billing backend for these, use a custom action.

Check it worked

Sign in on your site, with identity verification, as a customer whose email exists in Stripe. Ask to change plan, answer the card with a short yes, and confirm the change in Stripe.

If it doesn't work

"I couldn't find your account." No Stripe customer has that email, or Stripe returned an error. The agent offers a teammate.

The agent offers a teammate instead of acting. The visitor is not signed in with identity verification, or your site signs an internal ID rather than the email. Sign the customer's email as the user_id.

The confirm card appears again. The visitor's yes came after 10 minutes, or the request changed after the card.

A refund does not go through. Refunds are declined, as described above.