> For the complete documentation index, see [llms.txt](https://storeberry-docs.gitbook.io/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://storeberry-docs.gitbook.io/user-guide/online-store/2.2-payment-gateway.md).

# 2.2 付款方式設定

為切合商家及顧客的不同需要，STOREBERRY與國內外多家大型第三方支付系統合作，為您提供快捷安全的多元化電子收款方式\*，全面保障買賣雙方。

無論是信用卡、銀聯卡、流動支付，抑或其他自訂方式（銀行轉帳或貨到付款），商家只需在    <mark style="color:purple;background-color:purple;">**STOREBERRY 後台**</mark>**&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;&#x20;**<mark style="color:purple;background-color:purple;">**「網店」**</mark>**&#x20;&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;&#x20;**<mark style="color:purple;background-color:purple;">**「付款方式」**</mark>   的選項上進行簡單設置，即能一次綁定！

\*第三方支付系統包括：Paypal、Stripe(VISA、萬事達卡、銀聯卡)、轉數快（FPS）、支付寶香港（Alipay HK）、錢方（QFPay）

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

### **(i) 支付系統串接 （PayPal｜Stripe｜QFPay）**

PayPal

第一次使用 PayPal 作付款方式的商家可先到 [<mark style="color:purple;">PayPal Developers Website</mark>](https://developer.paypal.com/developer/applications) 註冊或登錄您的 PayPal 商業帳戶，然後按照以下步驟獲取您的 PayPal Client ID & Client Secret：

1）登入帳戶後，到右上角指向您的帳戶名稱並往下點擊「Dashboard」。然後在左側工具列點擊「My Apps & Credentials」，在頁面的「Sandbox｜Live」中選擇「Live」，再往下點擊「Create App」。

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

2）輸入「App Name」後點擊「Create App」。請將頁面中所顯示的 Client ID 及 Secret 複製，然後轉貼到\ <mark style="color:purple;background-color:purple;">**STOREBERRY 後台**</mark>**&#x20;&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;&#xD;**<mark style="color:purple;background-color:purple;">**「網店」**</mark>**&#xD;&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;**<mark style="color:purple;background-color:purple;">**「付款方式」**</mark>&#x20; 的相應欄目上再點擊  「ON」  即可啟用。

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

**Stripe**

第一次使用 Stripe 作付款方式的商家可先到 [<mark style="color:purple;">Stripe</mark>](https://dashboard.stripe.com/register?redirect=%2Ftest%2Fdevelopers) 註冊或登錄您的 Stripe 帳戶，然後按照以下步驟獲取您的 Stripe Publishable Key & Secret Key：

1）開啟由 Stripe 發送的電郵並點擊「Verify email address 電郵認證」一鍵。

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

2）到 Stripe 主頁面的左側工具列，點擊您的帳戶名稱並往下按  「＋New Account」。在彈出的視窗中輸入您的商店名稱及所在城市，然後點擊  「Create Account」。

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

3）點擊  <mark style="color:purple;">**「Activate your account」**</mark>  進一步設定您的帳戶資料。

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

4）成功激活您的帳戶後，點擊「Developers」並往下選擇「API Keys」。

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

5）請確保「View test data」模式已關閉。然後將頁面中所顯示的 Publishable Key 及 Secret Key 複製，再轉貼到&#x20; <mark style="color:purple;background-color:purple;">**STOREBERRY 後台**</mark>**&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;&#xD;**<mark style="color:purple;background-color:purple;">**「網店」**</mark>**&#xD;&#x20;**<mark style="color:purple;">**→**</mark>**&#x20;&#x20;**<mark style="color:purple;background-color:purple;">**「付款方式」**</mark>&#x20; 的相應欄目上，點擊「ON」即可啟用。

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

**QFPay（錢方）**

1）第一次使用 QFPay（錢方）作付款方式的商家可到 [QFPay](https://www.qfpay.global/#contact) 留下聯絡資料。

2）然後在「Your message」一欄輸入以下訊息內容：「我是 STOREBERRY 的客戶，想使用 QFPay 在線收款，請提供 App Code 及 App Key。我在 STOREBERRY 的識別碼是：(請於此處輸入您的 STOREBERRY 網店網址，如：<https://company-name.mystoreberry.com)，」。>

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

3. 成功提交資料後，QFPay 將會為您建立帳戶並提供您的 App Code 及 App Key。請複製以上憑據，然後轉貼到 <mark style="color:purple;background-color:purple;">**STOREBERRY 後台   >  「網店」  >  「付款方式」**</mark>  的相應欄目上再按您所需的付款方式點擊<mark style="color:purple;background-color:purple;">**「ON」**</mark>即可啟用。

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

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