Stripe and payment link

Hello! I'm looking for help understanding how I can integrate Stripe Payment Links with Retool.

  1. My goal is simple: I want a form to add a coach to a database after payment. This form will include several fields and an email address (used for payment). The process should involve a button that opens a Stripe payment URL. After the payment is successful, I need to use the email address provided during the payment to add the coach to the database.
  2. My problem lies with the Stripe integration. I've tried reading the documentation, but I'm not sure how to implement this specific part. I have correctly set up the Stripe API and everything else, but I'm stuck on this final step.

Can someone help me?