> For the complete documentation index, see [llms.txt](https://guide.form.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.form.gov.sg/user-guides/advanced-guide/payments/payment-field.md).

# Payment field

{% hint style="success" %}
If you would like to test payments flow without Stripe account or real money, you may test on our User Acceptance Testing (UAT) platform instead. The steps are similar to this page except the first few steps which you may find in the guide [here](https://guide.form.gov.sg/user-guides/payments/testing-platform).
{% endhint %}

{% hint style="info" %}
Payments is supported on **Storage mode**.&#x20;
{% endhint %}

{% tabs %}
{% tab title="Text tutorial" %}

### <img src="/files/j6GutTRDRrofXv3qKMKQ" alt="" data-size="line"> Text Tutorial: Payments on Production

Production refers to forms created on form.gov.sg.\
\
If you are new to FormSG, we recommend to first learn how to [create storage mode forms](/user-guides/basic-guide/create-form/create-form.md) before embarking on this. Once you have learnt the basics, please proceed to edit a Storage mode form.

**Step 1: Click on form settings and go to payments section.**

<figure><img src="/files/FttkS4Gl7W1MUVZyx1wF" alt=""><figcaption></figcaption></figure>

**Step 2: Connect with Stripe.**

To connect to Stripe, acknowledge that if you do not submit your Stripe account ID and issue a PO to Stripe, you will have to pay default transaction rates.\ <br>

<figure><img src="/files/0qTHiFqi5edUwW3QwjkA" alt=""><figcaption></figcaption></figure>

**Step 3: Login to your Stripe account**&#x20;

{% hint style="info" %}
**Note:** The accounts you can connect are ones where you have "administrator" or "developer" [role ](https://stripe.com/docs/payments/account/teams/roles)in Stripe.
{% endhint %}

<figure><img src="/files/IwmtzZFRaTSXs722ltM3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FCUWr1BSgRbCz5W8iIby" alt=""><figcaption></figcaption></figure>

Under payments setting again, you should see "Your account is linked to FormSG".

You will also be able to see an account ID. This is unique and how Stripe identifies your account. If you are preparing to get government rates, this is the account ID you would need to pass to Stripe.

You may also indicate if the payments you are collecting will be GST applicable, amend the GST registration and Business Address.

<figure><img src="/files/n3zbeIT6DQcjAmdK75Nr" alt=""><figcaption></figcaption></figure>

**Step 4: Add payment field**

On the left of your form builder, click on "add fields" followed by "payments" tab.

<figure><img src="/files/ns3gRgBKvNpARxDnmmnD" alt=""><figcaption></figcaption></figure>

Choose between "Product or service" or "Respondents choose what to pay".

<figure><img src="/files/QnoJawI2iDUn9p8MHrlu" alt=""><figcaption></figcaption></figure>

Enter product/service name and payment amount.

The product/service name you enter here will be reflected on the invoice ([Sample](https://file.go.gov.sg/formsg-guide-payments-invoice-example.pdf)).

Also note that there is a mandatory email address field with OTP verification. This is required so that FormSG can send the proof of payment to a verified inbox.&#x20;

<figure><img src="/files/iH1VMSBFbSUGDZMtzEHw" alt=""><figcaption></figcaption></figure>

**Step 5: Preview payment form**

Preview your form by pressing the eye symbol. Do note that in preview mode, you will not be able to test the payment flow.&#x20;

You may proceed to step 6 to try a real payment on the live view. If you do not wish to do a real payment, you may recreate the form on our test platform at uat.form.gov.sg which allows you to simulate a test payment.

<figure><img src="/files/LITOr1MxZbAYo31u2B7p" alt=""><figcaption></figcaption></figure>

**Step 6: Share the form and make a payment**

Open up your live form on a new tab.&#x20;

After filling in the form and verifying your email, click on proceed to pay. A window will pop up for your respondents letting them know that they will not be able to edit after proceeding to pay.

<figure><img src="/files/hrH7sqb9kESlNkpMPkqO" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/M22KjTQegktO5OExSxAZ" alt=""><figcaption></figcaption></figure>

Your respondents will then be led to a page to choose their preferred payment methods.

Payment methods supported will be credit cards and Stripe PayNow. This can be modified on your Stripe dashboard.&#x20;

<figure><img src="/files/FBRRK0JtMt88BBhOQcbr" alt=""><figcaption></figcaption></figure>

**Step 7: View invoice**

After making a payment, you will be brought to the successful submission page where you can see the Response ID and download payment invoice.&#x20;

<figure><img src="/files/XIoaoiEhHsFVEPrgcz3o" alt=""><figcaption></figcaption></figure>

An email will also be sent to the respondent's email address where they can download the same payment invoice.

<figure><img src="/files/U7EoEfs48xKxJCuqjOod" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Video tutorial" %}

### <img src="/files/L6aeyturpbmqLw0lGpTf" alt="" data-size="line"> Video Tutorial: Payments on Production

Production refers to forms created on form.gov.sg.

{% embed url="<https://youtu.be/gPDNWCC4Xtk>" %}
Youtube [link](https://youtu.be/gPDNWCC4Xtk)
{% endembed %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://guide.form.gov.sg/user-guides/advanced-guide/payments/payment-field.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
