> For the complete documentation index, see [llms.txt](https://docs.xplorpay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xplorpay.com/merchant-portal/guides/virtual-terminal/processing-sales-transaction.md).

# Processing Sales Transaction

Watch the interactive walkthrough below to process a sale transaction and charge a customer's card immediately.

{% embed url="<https://app.guideflow.com/player/5pv12yxfwp>" %}

To process the sales transaction:

{% stepper %}
{% step %}
Select the **Take a Payment** from the Virtual Terminal menu.

The **Enter Payment** window displays the Sale tab in two sections:

* **Card Information**
* **Amount**

The **Card Information** section includes the following fields for data entry:

<table><thead><tr><th width="188">Field Name</th><th width="330">Description</th><th>Required?</th></tr></thead><tbody><tr><td>Select Swiper</td><td><p>Select the device or peripheral from the dropdown list connected to the merchant portal. This field allows you to gather information by swiping, dipping, or tapping the card using the connected devices.</p><p></p><p><mark style="background-color:orange;"><strong>Note</strong>:</mark> The Card Number and Expiration Date fields display the captured data with asterisks (****), securing it.</p></td><td>Optional</td></tr><tr><td>Card Number</td><td>Enter the card number.</td><td>Required</td></tr><tr><td>Expiration Date</td><td>Select the expiration date of the card. The date is in MM/YY format.</td><td>Required</td></tr><tr><td>CSC</td><td>Enter the CSC number available on the card.</td><td>Required</td></tr><tr><td>Zip Code</td><td>Enter the zip code of your customer.</td><td>Optional</td></tr></tbody></table>

The **Amount** section includes the following fields for data entry:

<table><thead><tr><th width="188">Field Name</th><th width="330">Description</th><th>Required?</th></tr></thead><tbody><tr><td>Tax Exempt</td><td>Click the checkbox to exempt the tax amount.</td><td>Optional</td></tr><tr><td>Amount</td><td>Enter the sales amount. Decimal numbers are allowed.</td><td>Required</td></tr><tr><td>Delivery Fee</td><td>Enter the delivery fee.</td><td>Optional</td></tr><tr><td>Sales Tax</td><td>Enter the sales tax.</td><td>Optional</td></tr><tr><td>Tip</td><td>Enter the tip amount.</td><td>Optional</td></tr><tr><td>Surcharge Fee</td><td>Enter the surcharge fee.</td><td>Optional</td></tr></tbody></table>

When you enter data in the **Amount** section, the **Total Amount To Charge To Card** field displays the value of the sales transaction.
{% endstep %}
{% endstepper %}


---

# 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://docs.xplorpay.com/merchant-portal/guides/virtual-terminal/processing-sales-transaction.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.
