Govform.com
Skip to article
DocumentationGuides & reference

Search across guides and reference articles. Try “email”, “API” or “conditions”.

Service Settings

Payment settings: providers, accounts and fees

Configure payments in Service settings → Access & integrations → Payment. Use your own merchant account, choose the fee rules and test the complete applicant journey before publishing.

The four tabs are Connection, Payment details, When does this fee apply? and Test outcomes. These collect applicant fees into your own merchant account; they are separate from paying Govform for an account subscription.

Choose a supported provider connection

Provider availability and your service’s setup status are separate. Early access connections require merchant-account validation during setup. On request providers support design and simulation while Govform Support arranges the connection.

ProviderSupported connectionAvailability
GOV.UK PayPayments API, hosted payment pagesAvailable
Access PaySuite / Pay360Payment Page RESTEarly access
WorldpayAccess Hosted Payment PagesEarly access
AdyenHosted Checkout, manual captureEarly access
Global PaymentsGP API Hosted Payment PageEarly access
StripeHosted Checkout SessionsEarly access
PayPal CheckoutOrders v2Early access
Civica Income Management / CybersourceConnection arranged with SupportOn request

The supported product matters: Global Payments legacy Realex HPP credentials, for example, do not work with the GP API connection. Use the requirements shown for your selected provider.

Connect your account

  1. Enable payment and select the provider in the Connection tab. For an On request provider, follow Request this payment provider and add it to the service.
  2. Enter the required Account details for each environment: test details for QA and Staging, live details for Production. Library administrators can create or select shared details stored in library Properties and encrypted Secrets; the service keeps their names, never credential values. Designers select existing entries. Review every environment value before saving shared details; see Properties and Secrets.
  3. Set the minimum and maximum amounts agreed for the account in the currency’s smallest ISO unit: for GBP, 7500 means £75.00. Configure any notifications using the environment addresses shown in Builder and reachable HTTPS. Adyen requires manual capture and signed AUTHORISATION, CAPTURE and CAPTURE_FAILED notifications.
  4. Save payment settings. Check QA connection checks read access without taking a payment or saving changes. For GOV.UK Pay it checks read access; PaySuite checks page reachability rather than credentials or collection. It does not establish that checkout, return, 3DS or notifications will work.

When replacing an account, keep its original saved details until outstanding payments are resolved. Switch to a different saved entry rather than overwriting details that those attempts still need.

Account details reference

The shared account Property contains id, staff-facing label, mode (test for QA/Staging, live for Production), and positive minimumAmount/maximumAmount in ISO minor units. Builder supplies the mode from the environment. Credential values belong only in Secrets.

ProviderAccount fields beyond name and amount limitsSecrets
GOV.UK PayYour own account reference.API key and webhook signing key.
Access PaySuiteYour account reference and digits-only installation ID.API username and password.
Worldpay Access HPPEntity and statement narrative (up to 24 characters).API username and password.
Adyen Hosted CheckoutMerchant account, theme ID and Production live endpoint prefix; manual capture is required.API key and notification signing key.
Global Payments GP APITransaction account ID beginning TRA_ and merchant ID beginning MER_.Application ID and application key.
Stripe CheckoutYour own account reference.API key.
PayPal CheckoutPayPal merchant ID.Client ID and client secret.

Use the selected provider's current account requirements and environment notification URLs. Civica and Cybersource require the Support setup route before real execution; do not treat a catalogue entry or ticket completion as a configured account. Live GOV.UK Pay notification URLs outside .gov.uk need the provider’s exception; Govform does not verify that approval. Notifications need a reachable registered URL; PaySuite receives an attempt-specific notification address. Adyen needs signed AUTHORISATION, CAPTURE and CAPTURE_FAILED notifications.

Adyen requires a signed-in payer email and a response reference of at most 43 characters; Global Payments references are limited to 50 characters. Review reference templates against the chosen provider. Descriptions may be shortened for provider display.

Set the charge and exemptions

In Payment details, enter the public payee, description, reference and currency. Choose a currency enabled on the merchant account and supported by the selected connection; GOV.UK Pay uses GBP.

Use a positive Fixed amount, or Calculated from answers with server-side Liquid. Enter amounts in major units, such as 75.50 for £75.50. A calculated zero means no payment is required and the response completes normally. Blank, negative or invalid amounts are errors.

Under When does this fee apply?, apply the fee to all applicants or use conditions for exemptions. Conditions are checked before the calculated amount. Include every answer, declaration and Check your answers page before the final submit.

Service payment settings reference

These properties belong in the service definition's optional payment object. They configure a charge; they are not the runtime result returned as form.payment.

PropertyMeaning / values
enabledString true/false. Enabled payments need complete, valid fee and provider setup.
paymentProvidergovukPay, paySuite, worldpay, adyen, globalPayments, stripe, paypal, civica or cybersource. Readiness is shown above.
paymentAccountPropertyThe name of the shared account Property, not its resolved JSON value.
paymentApiSecret, paymentPasswordSecret, paymentWebhookSecretNames of library Secrets required by the selected provider. Only applicable credential controls are shown.
paymentCurrencyProvider-supported uppercase ISO currency. Existing omitted values mean GBP; new defaults use a supported library currency. Regional currency changes do not rewrite it.
paymentAmountMode, paymentAmountfixed or calculated. Amount is a string in major units, or a calculated/Liquid value. Fixed must be positive; calculated zero means no payment required.
paymentPayee, paymentDescription, paymentReferenceApplicant-facing payee, description and optional reference. The normal reference is {{ form.submissionId }}.
conditionIds, conditionsOperator, conditionsOperatorNotExisting conditions, joined with and/or and optional string true/false inversion. Conditions are checked before calculating the amount.
paymentSimulationreceived, pending, cancelled, declined, expired or unresolved for simulated testing.
supportTicketIdOptional Support association created through the authorised request/attachment flow. It is not a payment credential or an execution approval.

Add payment help/contact information to Service settings → Service details → Footer → Footer text; it appears on payment pages too. Completion actions must not change the accepted answers/cart or reopen a paid response.

Test and publish

User view simulates payments. QA and Staging can also simulate an On request connection or missing mandatory connection setup. Invalid configuration or failures from a configured real provider remain errors. Simulation takes no money; actions, emails and workflows still follow their normal environment behaviour. Production never simulates: an unavailable connection prevents submission.

Test success, pending, decline, cancellation, expiry and unresolved outcomes. Then use your provider’s permitted test account to check the exact amount and reference, hosted checkout, return, notifications, receipt and recovery. Publish the service and its environment settings through the normal deployment process.

Which services can take payment?

Payment supports signed-in services with one payment after the final submit. Task lists need an End task. Anonymous services, embedded child forms and managed Collection forms cannot take payments. Subscriptions, instalments, saved cards and payment partway through a journey are outside this payment flow.

Next: Understand payment completion, recovery and casework, or explore payment capabilities.

More in builder reference