Question · Vibe coding with Claude Code course · Module 9: Discord clone

Quiz: The payment amount in Stripe

The guild wants to sell a VIP rank through Stripe. Where, according to the Stripe documentation, is the payment amount set?

Answer options

  • In the browser, in the Payment Element form
  • In the page address, in the ?amount= parameter
  • On the server, which creates a Checkout Session or a PaymentIntent with the secret key
  • In the client secret that the server passes to the browser

You can check the correct answer by solving this task in the CodeWorlds game.