my-appengineer Courses

Quiz: subscriptions with Stripe

Subscriptions with StripeQuiz8 min15 / 20

Six questions on Stripe objects, statuses, webhooks, keys and VAT.

Quick recap

  • The blueprint's Payments row offers None, Stripe or Mollie; you still need your own Stripe account.
  • Use Checkout for paying and the customer portal for managing; never build your own card form.
  • Webhooks with a verified signature are the source of truth; the success page is only for the user. Handle duplicate events.
  • The secret key stays server-side. Test everything in test mode first.
  • VAT and invoice rules depend on your country and your customer's; check official sources.

Answer each question for yourself first, then open the answer.

  1. Which payment providers can you pick in the my-app.engineer blueprint?

    • Stripe and Adyen
    • Only PayPal
    • None, Stripe or Mollie
    Show the answer

    Correct answer: None, Stripe or Mollie

    The Payments row offers None, Stripe and Mollie. The model cannot invent another provider; the reply is validated against the catalogue.

  2. What should decide whether a salon has access to Bookwise?

    • The subscription status your app stored from Stripe webhooks
    • The redirect to the success page after Checkout
    • Whether the customer clicked Subscribe
    Show the answer

    Correct answer: The subscription status your app stored from Stripe webhooks

    The success redirect can be skipped or faked. Webhooks from Stripe, verified by signature, are the source of truth for the subscription status.

  3. A subscription has status past_due. What does that usually mean?

    • The customer cancelled
    • A renewal payment failed and Stripe is retrying
    • The trial has not started
    Show the answer

    Correct answer: A renewal payment failed and Stripe is retrying

    past_due means the latest invoice was not paid. Stripe retries according to your settings; decide how long you keep access open.

  4. Where does your Stripe secret key belong?

    • In the frontend code so Checkout works
    • In the README so your team can find it
    • In a secret or environment variable on the server side only
    Show the answer

    Correct answer: In a secret or environment variable on the server side only

    The secret key stays on the server. Only the publishable key may appear in the browser.

  5. You sell Bookwise to a VAT-registered salon in another EU country. What usually applies?

    • You always charge your own country's VAT
    • The reverse charge mechanism, after checking their VAT number in VIES
    • No invoice is needed
    Show the answer

    Correct answer: The reverse charge mechanism, after checking their VAT number in VIES

    For B2B services within the EU the reverse charge usually applies once the customer's VAT number is valid. Check the rules for your country with your tax authority or accountant.

  6. Why must your webhook handler be idempotent?

    • Stripe may deliver the same event more than once
    • It makes the page load faster
    • It is required for test mode only
    Show the answer

    Correct answer: Stripe may deliver the same event more than once

    Stripe can retry an event. Store the event id and ignore events you already processed.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.