Payments12 min readUpdated October 14, 2026

Online Payment Form: The Fields, the Security and the Right Tool

What an online payment form needs: fields to keep and drop, hosted card fields and PCI scope, wallets, 3DS, errors, accessibility, and which tool fits.

Article summary

TL;DR

An online payment form is the web form where a customer enters card or wallet details to pay you. A good one asks only what the payment needs, lets the processor host the card fields, offers Apple Pay and Google Pay, handles 3-D Secure without losing the cart, and says exactly what went wrong when a field fails.

  • Form builders (Jotform, Paperform), payment links (Square) and checkout pages solve different problems. Pick by what you sell, not by the feature list.
  • Card number, expiry, security code and usually a postal code are the core. Every other field needs a reason.
  • Who serves the card fields decides your PCI questionnaire. Redirect or the processor's iframe keeps you closest to SAQ A.
  • Plan for the 3-D Secure challenge and for errors: keep what the customer typed, point to the field, say how to fix it.
  • WCAG 2.2 has specific rules for labels, errors and financial transactions. Accessible forms are also easier for everyone.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

An online payment form is the last screen between a visitor and a sale. Getting it right is less about design than about a handful of decisions: which fields to ask for, who hosts the card inputs, how wallets and 3-D Secure fit in, and what the customer sees when something goes wrong. This guide goes through each one, with the official rules behind them.

What is an online payment form?

An online payment form is a web form that collects payment details, card or wallet, and sends them to a payment processor for authorization. It can be built from plain HTML inputs or from a processor's prebuilt components, and its job is the same either way: collect only what the transaction needs, securely.1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion

In practice, "online payment form" covers three different products:

ShapeWhat it isTypical use
Form builder with paymentsA drag-and-drop form (registration, donation, order) with a payment field connected to Stripe, PayPal or SquareEvents, donations, services, simple orders
Payment link or hosted payment pageA checkout page hosted by the processor, shared by link, button or QR codeInvoices, single products, selling without a website
Checkout pageThe payment step of an online store, with cart, shipping, taxes and upsells, using the processor's card fieldsEcommerce, subscriptions, funnels

The rest of this guide applies to all three. The choice between them is covered just below.

TagadaPay: the processor behind Tagada's checkout

If you searched for TagadaPay or Tagada payments, this is the short version. Tagada is a commerce platform for direct-to-consumer brands, and TagadaPay is its own payment processor. Tagada is a checkout, not a form builder: if you need a donation or event registration form, the tools in the next section fit better.

How Tagada helps

TagadaPay and the Tagada checkout

TagadaPay processes payments behind the Tagada checkout. Payments route across Stripe, Adyen and TagadaPay with one logic, with a cascade when one declines. The card vault moves customers between merchant accounts without collecting their cards again, so running subscriptions keep charging. 3D Secure 2 is native, with device intelligence and a rules engine. The checkout supports Apple Pay, Google Pay, one-click upsells, order bumps and A/B tests; subscriptions come with trials, billing cycles and automatic retries; tracking runs server-side for Meta, Google and TikTok. It works on its own, with Shopify, with WooCommerce or headless. Each TagadaPay file is still underwritten, with enhanced review on regulated verticals. Plans are on the pricing page, and the processor has its own site at tagadapay.io.

Most results for "online payment form" are form builders. Here is what three common tools publish about payments on their own pages, read on October 14, 2026. They change often: check before you sign up.

JotformPaperformSquare Payment Links
What it isForm builder with payment fieldsForm builder with payment fieldsHosted checkout page created from the Square Dashboard
Processors"40+" gateway integrations, including Square, PayPal, Stripe and Authorize.Net2Jotform, Online payments (page read October 14, 2026)Stripe, PayPal, Braintree, Square and Google Pay3Paperform, Online payment forms (page read October 14, 2026)Square only4Square, Payment links (US page read October 14, 2026)
Fee on top of the processorSays it "never charges extra transaction fees"2Jotform, Online payments (page read October 14, 2026)Says it "does not take a cut of your payments"; you pay the plan and the processor3Paperform, Online payment forms (page read October 14, 2026)None separate: Square is the processor, 3.3% + 30¢ per online transaction on its US page for new customers4Square, Payment links (US page read October 14, 2026)
Recurring paymentsRecurring subscriptions2Jotform, Online payments (page read October 14, 2026)Subscriptions through Stripe only3Paperform, Online payment forms (page read October 14, 2026)One-time or recurring5Square Support, Create and share payment links
Wallets namedNot mentioned on the pageGoogle Pay listed among processorsApple Pay, Google Pay, Cash App Pay, Afterpay4Square, Payment links (US page read October 14, 2026)
Custom questionsFull form logicFull form logicUp to two custom fields5Square Support, Create and share payment links

Which one fits

Collecting payments alongside answers (registrations, donations, quotes): a form builder. Selling one thing without a website: a payment link. Selling products with a cart, shipping, upsells or subscriptions: a checkout page on your processor's card fields. A form builder stretched into a store usually ends up missing order management, and a checkout stretched into a survey ends up missing form logic.

Whichever you choose, the processor behind it still underwrites your business and sets your fees. How to pick one is covered in our guide to payment service providers.

The fields that matter, and the ones to drop

Stripe's guidance is blunt: a payment form should collect only what's needed to process the transaction, and every extra field is a reason to leave.1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion The core set is short.

Fig. 1The core card form

Pay $59.00Card, Apple Pay or Google Pay
Payment method
Wallet buttons first on mobile, then card
Card number · autocomplete cc-number
Brand detected from the first digits
Expiry · cc-exp
MM / YY, several formats accepted
Security code · cc-csc
3 digits, or 4 for American Express
Postal code · postal-code
Often enough instead of a full billing address
Button
Shows the amount: Pay $59.00

Illustrative record.

six inputs, one button

Illustrative example, following the field order recommended by Stripe. The autocomplete values come from the HTML standard.

Each extra field should pass one test: does the processor, the fraud check, the tax calculation or the delivery need it?

FieldAsk for it?Why
Card brand dropdownNoThe brand is detected from the card number1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion
Cardholder nameConditionalUseful for fraud checks and some processors; not required by every one
Full billing addressConditionalOften a postal code is enough. Ask for the full address only if your processor or fraud rules use it1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion
EmailYesUnless you already have itReceipt and support. Don't ask twice: reuse what the customer typed earlier in the flow1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion
PhoneConditionalFor delivery or SMS updates, not for the payment itself
Confirm email, title, companyNoNoPayment reason. Each one adds typing on a phone
Hidden fields with the amountNoThe amount must be calculated on your server: a hidden field can be edited in the browser

Use the standard autocomplete values on every field, such as cc-name, cc-number, cc-exp, cc-csc and postal-code.11WHATWG, HTML Living Standard, Autofill They let the browser and password managers fill the form, and they matter for accessibility, as you'll see below. With hosted card fields, the processor's iframe sets them for you.

Who hosts the card fields decides your PCI scope

The single most important technical decision is where the card number is typed. If it's typed into an input your own page controls, your website is part of the payment security. If it's typed into the processor's page or the processor's iframe, much less of it is.

Fig. 2Same form, two places for the card number

Processor's hosted fields or page

  1. Your checkoutLayout, cart, button
  2. embedsProcessor's iframeCard number typed here
  3. returns a token toYour serverReceives a token

Your server only sees a token: closest to SAQ A

Your own card inputs

  1. Your checkoutYour own card inputs
  2. sends it throughYour JavaScript or serverReads the card number
  3. forwards toProcessorReceives the card

Your site handles or affects card data: SAQ A-EP or more

Simplified. The questionnaire your acquirer asks for depends on your exact setup.

For an online store, scope shows up as the self-assessment questionnaire (SAQ) you file each year:

How the form takes the cardQuestionnaireWhat changes for you
Redirect to the processor's payment page, or a payment linkSAQ AThe 2025 script criterion doesn't apply to redirects6PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025
Processor's fields embedded in an iframeSAQ ASince April 1, 2025, you must confirm your site isn't susceptible to attacks from scripts6PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025
Your page sends the card to the processor (direct post, your own JavaScript)SAQ A-EPYour site doesn't receive the card but affects the security of the payment7PCI Security Standards Council, Self-Assessment Questionnaire A-EP for PCI DSS v4.0, April 2022
Card numbers reach your serversBeyond SAQ A-EPSAQ A-EP requires that you don't store, process or transmit card data yourself7PCI Security Standards Council, Self-Assessment Questionnaire A-EP for PCI DSS v4.0, April 2022

The 2025 iframe rule

To meet the SAQ A script criterion with an embedded form, the PCI Security Standards Council accepts two routes: protections like PCI DSS requirements 6.4.3 and 11.6.1 (an inventory of the scripts on your payment page and detection of changes), or written confirmation from your PCI DSS compliant processor that its embedded form includes those protections when implemented as instructed.6PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025 Ask your processor for that confirmation.

Stripe puts the stakes plainly: a business that handles card data directly may have to meet more than 300 PCI DSS security controls, while the card type, last four digits and expiry date returned after a payment are out of scope and can be stored.8Stripe Docs, Integration security guide The full comparison of gateways is in PCI-compliant payment gateways, and how tokens shrink scope in tokenization vs encryption.

Inside Tagada

See every payment's route, processor by processor

Set the order your processors are tried in, per store, per country or per product.

See how routing works

Apple Pay and Google Pay on the form

Wallets replace the card fields entirely: the customer confirms with Face ID, a fingerprint or a device code, and no card number is typed. Stripe's form guidance recommends supporting them, especially on mobile.1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion

What wallets give the form

  • No card typing on a small screen
  • Authentication built into the device, which helps with Strong Customer Authentication
  • The address and email can come from the wallet

What to set up

  • At Stripe, Apple Pay works on Payment Links and hosted Checkout with no setup, but embedded forms need every domain and subdomain registered9Stripe Docs, Apple Pay
  • Apple requires a user gesture to open the payment sheet: start it directly from the button click9Stripe Docs, Apple Pay
  • The button only shows on supported devices and browsers, so the card form must still work on its own9Stripe Docs, Apple Pay

Put the wallet buttons above the card fields, not under them: a customer who can pay with a tap shouldn't scroll past six inputs first. For subscriptions, Stripe recommends Apple Pay merchant tokens so renewals keep working across the customer's devices.9Stripe Docs, Apple Pay

3-D Secure: plan for the challenge

In the EEA and the UK, most online card payments need Strong Customer Authentication, and 3-D Secure is how cards provide it. Elsewhere it's optional and used against fraud. The card issuer decides whether the customer passes silently or gets a challenge: a code, a banking app approval or biometrics. The details are in our guide to payment authentication.

For the form, three facts matter. The challenge appears after the customer clicks Pay. You choose where it shows (a modal, inline or a redirect), but you can't style it: the issuer controls its look.10Stripe Docs, Authenticate with 3D Secure And the customer may leave your page to approve in a banking app.

  1. Customer clicks PayForm locks, button shows progress
  2. Issuer decidesFrictionless approval or challenge
  3. ChallengeCode, banking app or biometrics
  4. Back on your pageCart, order and inputs still there
  5. ResultApproved, or a clear next step

The common failure isn't the challenge itself. It's the return trip: a session that expired, a cart that emptied, a mobile browser that reopened the shop's homepage. Test the full loop on a phone, with a test card that forces a challenge.

Validation and error messages

Two kinds of errors reach a payment form, and they need different messages. Input errors (a mistyped number, a past expiry date) can be caught before submitting. Declines come back from the issuer after submitting, and the form can only suggest a next step.

Stripe's guidance for input errors: format the card number as it's typed, accept several expiry formats, check the number with the Luhn algorithm to catch typos, check the security code length by brand, mark valid fields, and never clear the whole form after an error.1Stripe, Payment HTML forms: Best practices for user experience, security, and conversion WCAG 2.2 adds that the field in error must be identified and the error described in text, with a suggestion for the fix when one is known.12W3C, Web Content Accessibility Guidelines (WCAG) 2.2, Recommendation, December 12, 2024

  1. Card number fails the Luhn checkA digit is wrongCheck your card number: it looks like a digit is missing or swapped.
  2. Expiry in the pastOld card, or month and year swappedThis date has passed. Check the expiry date on your card.
  3. 3-digit code on an American Express cardAmerican Express codes have 4 digitsEnter the 4-digit security code printed on your card.
  4. Issuer declines the paymentThe bank refused, the form can't say why in detailYour bank declined this payment. Try another card or Apple Pay, or contact your bank.
  5. 3-D Secure not completedThe customer closed or failed the challengeWe couldn't confirm the payment with your bank. Try again, or use another card.

Validate when the customer leaves a field, not at every keystroke: a red error on the third digit of a card number is noise. Keep the amount on the button and keep it active only when the form can be submitted, with a visible reason if it can't.

Declines deserve their own handling, because some are worth retrying and some are not. That side, including what card network rules allow, is covered in payment acceptance rate.

Accessibility: what WCAG 2.2 asks of a payment form

WCAG 2.2, the W3C's accessibility standard, became a Recommendation on December 12, 2024. Several of its success criteria read like a payment form checklist:12W3C, Web Content Accessibility Guidelines (WCAG) 2.2, Recommendation, December 12, 2024

CriterionLevelWhat it means for the form
1.3.5 Identify Input PurposeAAFields that collect personal data expose their purpose, which the autocomplete values do
3.3.2 Labels or InstructionsAEvery input has a visible label. A placeholder that disappears when typing isn't a label
3.3.1 Error IdentificationAThe field in error is identified and the error is described in text, not just with a red border
3.3.3 Error SuggestionAAWhen you know how to fix the error, say it
3.3.4 Error Prevention (Legal, Financial, Data)AAFor pages that cause financial transactions, the submission is reversible, checked for errors, or reviewed and confirmed before it's final
3.3.7 Redundant EntryADon't make the customer retype what they already entered in the same process, such as the shipping address as billing address
2.5.8 Target Size (Minimum)AAButtons and checkboxes are at least 24 by 24 CSS pixels

In the EU, the European Accessibility Act lists e-commerce among the services it covers,13European Commission, European Accessibility Act so these criteria are no longer only good practice for brands selling there. Hosted card fields help, but they don't cover your labels, your error messages or your button.

How to make your payment form convert

There's no universal uplift number for any of these changes, and figures quoted without a source shouldn't drive your roadmap. What you can do is fix the causes of hesitation, then measure on your own traffic.

  1. Remove doubt

    Show the total, shipping and taxes before the card fields, and the amount on the button. Keep links, banners and upsell offers away from the inputs: Stripe lists distractions as a conversion risk on the form itself.

  2. Remove typing

    Wallet buttons first on mobile, autofill on every field, the numeric keypad for card fields, a single column, saved cards for returning customers.

  3. Remove dead ends

    Errors that point to the field, inputs kept after a failure, a 3-D Secure return that lands back on the order, and another payment method offered after a decline.

Measure more than the completion rate. Track where customers leave (before the card fields, after a validation error, during 3-D Secure, after a decline), by device and by country. A drop concentrated on one browser or one issuer is a bug, not a design problem. Upsells belong after the payment, not inside the form: see one-click upsells. Broader checkout layout is covered in checkout page design.

How to set up an online payment form

  1. Choose the processor first. It decides which payment methods, currencies and business types you can accept. See payment service providers.
  2. Choose the integration model. Payment link, hosted page, embedded fields or your own inputs. This sets your PCI questionnaire.
  3. List the fields your processor, fraud rules, taxes and delivery actually need. Drop the rest.
  4. Add wallets and register your domains if the form is embedded.
  5. Handle 3-D Secure and webhooks. Confirm the order from the processor's server-side notification, not from the browser redirect alone. The developer side is in how to integrate a payment gateway.
  6. Write every error message before launch, for input errors, declines and failed authentication.
  7. Test in test mode on a phone and a desktop: a successful card, a declined card, a card that forces a challenge, a wallet, keyboard-only navigation and a screen reader.

The order matters: the processor and the integration model decide most of what the form can do.

Once the form is live, review it like any other part of the payment stack: when you add a processor, a market or a payment method, the form is where the customer sees the change first.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is TagadaPay?

TagadaPay is the payment processor built by Tagada, the ecommerce platform behind this blog. It sits behind Tagada's checkout, alongside Stripe and Adyen: payments route across the three with one logic and cascade on decline. Each merchant file is underwritten, with enhanced review on regulated verticals. Plans and fees are on the Tagada pricing page.

What should an online payment form include?

A choice of payment method, then the card number, expiry date, security code and, in most cases, a billing postal code. Add a cardholder name if your processor or fraud rules use it, and an email for the receipt if you don't already have it. Detect the card brand from the number instead of asking for it.

Are online payment forms secure?

They are when the card fields come from a PCI DSS compliant processor, through a redirect or an iframe, and the page runs over HTTPS. The weak spot is your own page: since April 1, 2025, a merchant using an embedded iframe must confirm its site isn't susceptible to script attacks to stay on the lightest PCI questionnaire.

Can I accept payments with a form and no website?

Yes. Form builders like Jotform and Paperform host the form on their own pages, and Square Payment Links create a hosted checkout page you share by link, QR code or email, without an ecommerce site. You still need an account with a payment processor, which charges its own processing fees.

Do I need PCI compliance if I use Stripe or a form builder?

Yes. Every merchant that accepts cards has to validate PCI DSS compliance every year, usually with a self-assessment questionnaire. Using hosted card fields doesn't remove that duty, it shrinks it. Stripe notes that a business handling card data directly may face more than 300 security controls.

What is a payment gateway form?

It's the payment form supplied by your payment gateway or processor, either as a hosted page you redirect to or as embedded card fields on your own page. The gateway collects the card details and sends them on for authorization, so the card number never needs to touch your server.

Sources

Checked October 14, 2026
  1. Stripe, Payment HTML forms: Best practices for user experience, security, and conversion
  2. Jotform, Online payments (page read October 14, 2026)
  3. Paperform, Online payment forms (page read October 14, 2026)
  4. Square, Payment links (US page read October 14, 2026)
  5. Square Support, Create and share payment links
  6. PCI Security Standards Council blog, FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants, February 28, 2025
  7. PCI Security Standards Council, Self-Assessment Questionnaire A-EP for PCI DSS v4.0, April 2022
  8. Stripe Docs, Integration security guide
  9. Stripe Docs, Apple Pay
  10. Stripe Docs, Authenticate with 3D Secure
  11. WHATWG, HTML Living Standard, Autofill
  12. W3C, Web Content Accessibility Guidelines (WCAG) 2.2, Recommendation, December 12, 2024
  13. European Commission, European Accessibility Act

TagadaPay

One checkout, several processors, your saved cards in one vault

Tell us what you sell and how you sell it. Each application is underwritten, and approval is not guaranteed.

  1. 01Tell us what you sell and how
  2. 02Underwriting reviews your business
  3. 03Process through TagadaPay alongside your other processors