How to Collect Payments in Forms with Stripe

Noca Forms: AI form builder you can set up from a plain-language prompt, connected to your CRM, ERP and other systems. Free plan available.

To collect payments in forms with Stripe, you connect your Stripe account to a form builder, add the amount or product to the form, send the customer to a secure Stripe payment step, and then use the payment result to trigger what happens next: a receipt or agreement, a CRM update and a notification to your team. This guide shows how to build that end to end in Noca.

What you’ll build

You will build a paid registration and order form that does five things automatically:

  • Collects customer details and the selected package, with validation and conditional logic.
  • Calculates the amount due and takes payment through Stripe.
  • Generates a PDF order confirmation or service agreement from a Word template.
  • Creates or updates the customer record in your CRM.
  • Notifies your team in Slack or by email once payment succeeds.

The same pattern works for event registrations, deposits, application fees, membership sign-ups and simple online orders.

Why connect forms to Stripe instead of sending invoices?

Sending an invoice after someone fills in a form adds a delay and a manual step, and it gives the customer a chance to drop off. Taking payment inside the form flow means the order and the payment arrive together. You also avoid re-keying amounts into a billing tool, which is where many pricing errors start.

The bigger win comes from what happens after payment. When a form, the Stripe payment and the follow-up steps live in one workflow, a paid order can immediately generate paperwork, update the CRM and kick off delivery, without anyone checking the Stripe dashboard.

Prerequisites

  • A Stripe account with access to API keys. Use test mode while building.
  • A Noca account. Noca connects to Stripe through the Stripe integration.
  • Your price list or product catalog, and the rules for discounts or add-ons.
  • Optional: a Word template for the confirmation or agreement, and access to your CRM, such as HubSpot or Salesforce.

Step-by-step: collect payments in a form with Stripe and Noca

Step 1: Connect Stripe

In Noca, open Integrations and add Stripe. Start with your test-mode keys so you can run payments with Stripe’s published test cards without moving real money. Store the keys in the integration settings, not in the form itself, and limit who can edit the connection using role-based permissions.

Step 2: Build the form

Create the form with the Noca AI Form Builder. You can describe it in a prompt, for example: “A registration form for our onboarding workshop with name, company, email, number of seats, an optional add-on for a recorded session, and a terms checkbox.” Noca drafts the fields, and you refine them with drag-and-drop.

  • Add validation for email, phone and required fields so bad data never reaches Stripe.
  • Use conditional logic to show add-ons only when they apply, such as a VAT number field only for business buyers.
  • Add a calculated total field: seats multiplied by price, plus add-ons, minus any discount code.
  • Add a terms checkbox or signature capture if the customer must accept terms before paying.

Step 3: Map fields to Stripe

Add a Stripe payment step to the form’s flow. Map the calculated total to the amount, set the currency, and pass the customer’s name and email so Stripe can create or match the customer and send its own receipt if you use that feature. Add useful metadata, such as the form submission ID, package name and CRM record ID, so payments can be reconciled later.

Decide what happens if payment fails or is abandoned. A common setup is to save the submission with status “Payment pending” and send a reminder with a link to complete payment.

Step 4: Generate the confirmation or agreement

Once Stripe confirms the payment, add a document step. Upload a Word template with merge fields such as customer name, package, quantity, amount paid and payment date. Noca generates a DOCX or PDF and can email it to the customer and store a copy. If the purchase includes service terms, send the agreement for e-signature in the same flow.

Step 5: Update your systems

Add steps that create or update the contact and company in your CRM, log the purchase as a deal or order, and attach the generated PDF. If delivery happens elsewhere, create a task in your project tool or post a message in Slack or Microsoft Teams so the right team knows a paid order has arrived.

Step 6: Test it

  • Run a successful payment with a Stripe test card and check that every downstream step fires.
  • Run a declined card and an abandoned payment and confirm the submission is flagged, not lost.
  • Test each conditional path: different packages, add-ons and discount codes.
  • Review the integration logs in Noca, then switch Stripe to live keys and run one small real transaction.

Example scenario: paid workshop registration

Illustrative scenario based on a typical setup, not a specific Noca customer.

A training company sells seats in monthly workshops. Previously, attendees filled in a form, an admin sent a Stripe invoice by hand, and someone added paid attendees to a spreadsheet. Now:

  1. The attendee fills in the Noca form and selects seats and add-ons.
  2. The form calculates the total and takes payment through Stripe.
  3. On success, Noca generates a PDF booking confirmation with the workshop date and joining details.
  4. The attendee is added to the CRM with the workshop as a closed deal.
  5. The trainer gets a Slack message with the updated attendee count.

No one touches the process unless a payment fails, and every confirmation matches the amount Stripe actually charged.

Common mistakes to avoid

  • Calculating prices only on the client side. Make sure the amount sent to Stripe comes from the form’s rules, not a value someone could edit.
  • Skipping failed-payment handling. Without a pending status and a reminder, abandoned payments simply disappear.
  • Not storing the payment reference. Save the Stripe payment ID on the submission and CRM record so finance can reconcile.
  • Going live with test keys, or testing with live keys. Keep test and live connections clearly labeled.
  • Collecting card data in your own fields. Let Stripe handle card details in its secure payment step; never add card number fields to your form.

How to choose a form builder for Stripe payments

Most modern form tools can take a Stripe payment. The differences show up after the payment: can the tool generate documents, collect signatures, route approvals and update your CRM or ERP without extra apps? Our roundup of the best AI form builders compares the options. If you are replacing an existing tool, see our guides to Formstack alternatives and FormAssembly alternatives.

Selling to Salesforce customers with formal quotes rather than self-serve checkout? Compare the best quote generation tools for Salesforce. And if your form feeds a sales pipeline, our guide to lead capture forms that sync to your CRM covers the CRM side in more depth.

Next steps

  1. Write down your price rules and the steps that should follow a successful payment.
  2. Connect Stripe in test mode and build the form from a prompt.
  3. Add the document and CRM steps, test every path, then go live.

Frequently asked questions

Can I collect Stripe payments in a form without code?

Yes. Form builders with a Stripe integration, including Noca, let you add a payment step and map the amount and customer details without writing code. You only need your Stripe account and API keys.

Is it secure to take payments through a form?

It is when card details are handled by Stripe’s secure payment step rather than stored in your form. Your form passes the amount and customer details to Stripe, and Stripe processes the card. Avoid adding your own card number fields.

Can the form calculate the price automatically?

Yes. Use calculated fields that multiply quantities by prices and apply add-ons or discount codes. Conditional logic can show or hide options so the total always matches what the customer selected.

What happens if a payment fails?

Configure the flow to save the submission with a pending status and send the customer a reminder with a link to try again. Noca integration logs also show the failed step so your team can follow up.

Can I generate a receipt or contract after payment?

Yes. In Noca, a successful payment can trigger document generation from a Word template, producing a DOCX or PDF confirmation or agreement. You can email it, store it and send it for e-signature in the same workflow.

How do I test Stripe payments before going live?

Connect Stripe with test-mode keys and use Stripe’s published test card numbers to simulate successful and declined payments. Once every path works, switch the connection to live keys and run one small real transaction.

Back to top