
內容簡介
### 總結:
這是一個透過 GoCardless 接受付款的功能外掛。在啟用 WooCommerce GoCardless 付款閘道之前,需要安裝 WooCommerce。
### 問題與答案:
- 問題:這個外掛與哪些擴展功能相容?
- 答案:這個外掛與 Woo Subscriptions 相容。
- 問題:如何設置測試帳戶?
- 答案:您可以在 gocardless.com 上為實際交易建立使用者,在沙箱環境中進行測試交易。在首次設置網站時,您將被提示在設置 Webhooks 時為正確的 GoCardless 環境創建使用者。
- 問題:外掛如何進行依賴項安裝與構建?
- 答案:這個外掛使用 Webpack 來構建資產。請按照以下步驟來構建資產:
1. 執行 npm install 以安裝依賴項。
2. 執行 npm run build:webpack 以構建資產文件。您也可以執行 npm run start:webpack 來監視文件並在更改時自動重新構建。
3. 您可以在 assets 和 client 目錄中找到源文件。
外掛標籤
開發者團隊
原文外掛簡介
This is a feature plugin for accepting payments via GoCardless. It requires WooCommerce to be installed before GoCardless for WooCommerce can be activated.
Compatibility
This extension is compatible with:
Woo Subscriptions
Test Account Setup
You can create a user on gocardless.com for live transactions and on the sandbox for test transactions. When you first set up a site, you’ll be prompted to create a user for the correct GoCardless environment when setting up the webhooks.
Development
Install Dependencies & Build
The plugin uses Webpack to build the assets. To build the assets, follow these steps:
Run npm install to install the dependencies.
Run npm run build:webpack to build the asset files. You can also run npm run start:webpack to watch the files and rebuild them automatically when they change.
You can find the source files in the assets and client directories.
