Getting Started with Stripe Webhooks

After a succesful payment, using a checkout made with Stripe Subscriptions I want to redirect them to a success URL (like /success) and do two things:

  1. Show text: “you just bought {{product}}, congratulations”
  2. Create a new user in the database and start more back-end actions

Do I need to do this with webhooks? In that case, how can I do (1)?

EDIT: Answered my own question here Stripe: give session/checkout info to success page