# 2.2 Payment Gateway

There is nothing more important than payment security. STOREBERRY works with multiple third-party payment service providers to offer safe and smart payment options\* and ensure secure and smooth transactions between buyers and sellers.

Whether you prefer credit card payment, mobile payment, or other custom payment methods (E.g. bank transfer or cash on delivery), you can simply set up the payment options under <mark style="color:purple;background-color:purple;">**「STOREBERRY Admin Panel」**</mark> → <mark style="color:purple;background-color:purple;">**「Online Store」**</mark> → <mark style="color:purple;background-color:purple;">**「Payment」**</mark> in a few steps.

For Payment Gateway Setup, please refer to the STOREBERRY Payment Gateway Integration Guide below.

\*Online payment methods include: Visa, Mastercard, PayPal, FPS, Alipay Hong Kong, WeChat Pay HK, etc.

<figure><picture><source srcset="/files/jPbJRbINfJztNqBWze5B" media="(prefers-color-scheme: dark)"><img src="/files/wMGXnhO56jk4ISnFrca7" alt=""></picture><figcaption></figcaption></figure>

### **(i) Payment Method（PayPal｜Stripe｜QFPay）**

PayPal

If you are using PayPal for the first time, please register a PayPal Business Account in [<mark style="color:purple;">PayPal Developers Website</mark> ](https://developer.paypal.com/developer/applications)and follow the steps below to get your Paypal Client ID and Client Secret:

1）Log in to your PayPal Business Account, go to the top right corner and tap your account name > “Dashboard”. Click “My Apps & Credentials” on the side menu bar and select “Live”. Then scroll down and click “Create App”.

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

2）Click “Create App” after entering the “App Name”, then copy the Client ID and Secret. Go to 「<mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel**</mark>」 → <mark style="color:purple;background-color:purple;">**「Online Store」**</mark> → <mark style="color:purple;background-color:purple;">**「Payment」**</mark> and paste on the PayPal column. Click “On” to connect to the payment gateway.

<figure><img src="/files/6Tq0Mb3HrqPsus7gh6Rg" alt=""><figcaption></figcaption></figure>

**Stripe**

If you are using Stripe for the first time, please register a Stripe Account in [<mark style="color:purple;">Stripe</mark>](https://dashboard.stripe.com/register?redirect=%2Ftest%2Fdevelopers) and follow the steps below to get your Stripe Publishable Key & Secret Key:

1）Open the email from Stripe and click “Verify email address” and enter Stripe’s website.

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

2）Go to the side menu bar and click your account name > “+New account”. Enter your store name and location on the pop up window, then click on the “Create Account” button.

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

3）Click <mark style="color:purple;background-color:purple;">**「Activate your account」**</mark> to update your account details.

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

4）After registering, click “Developers” on the side menu bar and choose “API Keys”.

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

5）Please make sure the “View test data” mode has been turned off, then copy the Publishable Key and Secret Key on the website. Go to 「<mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel**</mark>」 → <mark style="color:purple;background-color:purple;">**「Online Store」**</mark> → <mark style="color:purple;background-color:purple;">**「Payment」**</mark> and paste on the Stripe column. Click “On” to connect to the payment gateway.

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

**QFPay**

1） If you are using QFPay for the first time, please leave your contact details on [<mark style="color:purple;">QFPay</mark>](https://www.qfpay.global/#contact) and submit with the following message:\
\
“I am a STOREBERRY customer and interested in using QFPay to collect payments online. My STOREBERRY identification code is: (enter your STOREBERRY online store URL here, E.g. <https://company-name.mystoreberry.com)”>

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

2）You will receive the App Code and App Key from the QFPay Team after submission. Please copy the API credentials and paste on the QFPay column under\ <mark style="color:purple;background-color:purple;">**「STOREBERRY Admin Panel」**</mark> → <mark style="color:purple;background-color:purple;">**「Online Store」**</mark> → <mark style="color:purple;background-color:purple;">**「Payment」**</mark>. Select your accepted payment methods and click “On” to connect to the payment gateway.

<figure><picture><source srcset="/files/9RKTiv9klTKm3wwZ9wnC" media="(prefers-color-scheme: dark)"><img src="/files/HbK4H6lzEvCBlOX7DD35" alt=""></picture><figcaption></figcaption></figure>

<figure><picture><source srcset="/files/hSgUKvoe5RWGBvBs5Vgh" media="(prefers-color-scheme: dark)"><img src="/files/H4Bar0EWQLuEvWhYlAZC" alt=""></picture><figcaption></figcaption></figure>


---

# 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://storeberry-docs.gitbook.io/user-guide/en/online-store/2.2-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.
