# Configuring Payment Gateway

Class 4 supports the following two Payment Gateways:

* Paypal
* Stripe

Class 4 user setup their customer to pay invoice or topup account within the client portal. &#x20;

#### Step 1: To setup paypal gateway, here is the first step:

![Select "Payment Setting" under Configuration](/files/-MXmcsIR2IlrfofIeZOu)

#### Step 2: You can select whether to enable Paypal or Stripe or both

![](/files/-MXmd6kpnYmAkuOLcm5s)


---

# Agent Instructions: 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:

```
GET https://cookbook.denovolab.com/configuration/configuring-payment-gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
