內容簡介
總結文案:
這個 WooCommerce 外掛可以接受加密貨幣付款,即使使用冷錢包。連接的網站、應用程式或機器人將會收到有關交易狀態的通知,以實現自動完成購買或將資金存入客戶的帳戶餘額。
問題與答案:
- 這個外掛的目的是什麼?
- 這個外掛的目的是讓 WooCommerce 可以接受加密貨幣付款,甚至在冷錢包中也能使用。
- 如何使用 API QR Server 創建二維碼?
- 若要使用 API QR Server 創建二維碼,你需要向以下結束點發送一個 GET 請求:https://api.qrserver.com/v1/create-qr-code/
- 用於創建二維碼的 GET 請求需要哪些參數?
- 為了創建二維碼,需要在 GET 請求中傳遞以下參數:
- data:需要編碼成二維碼的字串。
- size:二維碼的尺寸。
- margin:距離二維碼邊緣的邊距(以像素為單位)。
- 返回的 API 回應是什麼?
- 對於 GET 請求,API QR Server 會返回一個以 PNG 格式的二維碼圖像。
- 使用 API QR Server 有哪些限制?
- 使用 API QR Server 有以下限制:
- 小型項目可免費使用。
- 每天的請求數量有限制(大約50個)。
- 二維碼的尺寸有限制。
- 被禁止使用該服務創建不當內容的二維碼。
外掛標籤
開發者團隊
原文外掛簡介
Plugin for WooCommerce. To accept crypto payments even on cold wallets. The connected website, application, or bot will receive a notification about the transaction status, allowing for the automatic completion of the purchase or crediting of funds to the client’s balance.
External Service Documentation
API QR Server
API QR Server is an external service that allows you to create QR codes. You can use this service in our WordPress plugin to generate a QR code based on the given data.
Official website
You can learn more about the official website of the API QR Server at https://www.qrserver.com/.
API Version
The version of the API QR Server, which our plugin uses, is 1.0.
Using the API QR Server
To create a QR code using the API QR Server, you need to send a GET request to the following endpoint:
https://api.qrserver.com/v1/create-qr-code/
Request Parameters
To create a QR code, you need to pass the following parameters in the GET request:
data – the string that needs to be encoded into the QR code.
size – the size of the QR code.
margin – the margin in pixels from the edges of the QR code.
Example request:
https://api.qrserver.com/v1/create-qr-code/?data=Hello+World&size=200x200&margin=10
API Response
In response to the GET request, the API QR Server will return a QR code image in PNG format.
Usage Limitations
When using the API QR Server, there are the following limitations:
Free use is available for small projects.
Limitation on the number of requests per day (approximately 50).
Limitation on the size of the QR code.
It is prohibited to use the service to create QR codes with inappropriate content.
