[WordPress] 外掛分享: Pay Invoices With Amazon

首頁外掛目錄 › Pay Invoices With Amazon
WordPress 外掛 Pay Invoices With Amazon 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
694 天前
最後更新
問題解決
WordPress 5.6+ PHP 5.6.20+ v1.3.1 上架:2024-04-09

內容簡介

總結:
PIWA 外掛由 Zeek 開發,是將 Amazon Pay 整合到您的網站上的簡單有效的方式。外掛包括透過 WordPress 區塊編輯器進行無縫整合、利用 Amazon 的成熟付款處理基礎設施增強安全性、以及提供一鍵結帳選項,讓客戶能快速簡單地進行付款體驗。

問題與答案:
- 如何新增可調整價格或固定價格區塊以創建發票?
- 前往想要新增付款區塊的頁面或文章。
- 按一下 + 按鈕或輸入 / 來新增新區塊。
- 在區塊庫中搜尋可調整價格或固定價格。
- 點擊區塊將其新增到您的頁面或文章中。

- 如何接收付款並連接外掛到您的 Amazon Pay 帳戶?
- 透過 WP Admin > Pay Invoices With Amazon > Settings 中的一種方式將外掛連接到您的 Amazon Pay 帳戶。
- 自動連線:這是最簡單且最安全的方式。
- 發送公鑰:複製並粘貼外掛生成的公鑰到 Amazon Integration Central 中,然後複製並粘貼返回的公鑰 ID。
- 收到私鑰:在 Amazon Integration Central 中生成私鑰,然後將下載的文件拖放到設置字段中,並複製並粘貼公鑰 ID。

- 如何使用簡碼進行支付?
- 如果使用 WordPress 區塊編輯器,區塊提供了一個視覺預覽,而簡碼也可在區塊編輯器、經典編輯器或各種佈局插件中使用。
- 支付表單:[piwa]
- 支付按鈕:[piwa 100.50]
- 支付按鈕:[piwa 100.50 "商業諮詢"]
- 支付按鈕:[piwa input-invoice]
- 長表單:[piwa amount="100.50" title="商業諮詢"]

進一步詳細信息可在 Amazon Pay 幫助中心和 GitHub 存儲庫中找到。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Pay Invoices With Amazon」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The PIWA plugin by Zeek is a simple and effective way to incorporate Amazon Pay into your website.
The plugin includes:
– Seamless Integration with the WordPress block editor.
– Enhanced Security by leveraging Amazon’s proven payment processing infrastructure.
– One-Click Checkout for customers who want a fast and simple payment experience.
Please ensure that your WordPress installation meets the required PHP version (5.6 or higher) and WordPress version (5.6 or higher). Visit our GitHub repository for further details, documentation, and support.
Creating Invoices
To create invoices, add either the Adjustable Price or Fixed Price block to a page or post:

Navigate to the page or post where you want to add the payment block.
Click on the + button or type / to add a new block.
Search for Adjustable Price or Fixed Price in the block library.
Click on the block to add it to your page or post.

Once the block is added, you can either email a link to that page to a customer or include a link in an invoice sent from your accounting software of choice, such as QuickBooks, Xero, Zoho, FreshBooks, or Harvest.
The customer will need to have or create an Amazon account to make the payment. Once the payment is made, it will be processed by Amazon and the funds will be transferred to your linked bank account.
For more information on how to set up and manage your Amazon Pay account, please refer to the Amazon Pay Help Center.
Receiving Payments
To receive payments, connect the plugin to your Amazon Pay account using one of the methods the under WP Admin > Pay Invoices With Amazon > Settings:

Connect Automatically: This is the easiest and most secure. Click the Connect Amazon Pay Account button to log in with your Amazon account and have credentials configured automatically.
Send Public Key: Copy-and-paste a plugin-generated Public Key into Amazon Integration Central, then copy-and-paste the returned Public Key ID.
Receive Private Key: Generate a Private Key in Amazon Integration Central, then drag-and-drop the downloaded file onto the Settings field and copy-and-paste the Public Key ID.

Once payments are processed, individual payments will be authorized by Amazon within 24 hours. After that period, click the linked “Reference ID” for the payment to go to Seller Central. Clicking “Collect Payment” in Seller Central will transfer the authorized funds.
Further information can be found at Finding your Amazon Pay keys and IDs and in the GitHub repository.
Using as a Shortcode
While the blocks provide a visual preview if using the WordPress block editor, a shortcode is also available for use in the block editor, classic editor, or various layout plugins. The below examples can be copy-and-pasted for testing or custom configuration:
Payment form where customer sets the amount:
[piwa]

Payment button where the amount is $100.50:
[piwa 100.50]

Payment button where the amount is $100.50 and the title is Business Consulting:
[piwa 100.50 "Business Consulting"]

Payment button where the customer sets the amount and inputting an invoice reference number is required:
[piwa input-invoice]

Long-form to display a payment button set to $100.50 for Business Consulting:
[piwa amount="100.50" title="Business Consulting"]

Developer Notes
piwa() can be called with an array of arguments in plugins, mu-plugins, templates, or a theme’s functions.php.
The below example adds payment buttons of various types at the end of Post content if various Categories are assigned.
The existance of Plugin Name: makes it possible to place it in wp-content/plugins/ or a folder within wp-content/plugins to activate or deactivate within WP Admin > Plugins . If placing within a theme’s functions.php or another file that already opens with Thanks for reading!
If you feel inclined to contribute, please use the form below.

' . piwa();
}
// If the post is in category Pay it Forward, append a pay button for $7.00 labeled "Pay it Forward".
if ( has_category( 'Pay it Forward' ) ) {
$content .= '

Thanks for reading!
If you enjoyed this post, please pay it forward with a small donation:

' . piwa([
'amount' => 7.00,
'title' => 'Pay it Forward',
]);
}
// If the post is in category Invoice, append a pay button where the customer inputs an Invoice Number and amount.
if ( has_category( 'Invoice' ) ) {
$content .= '

Thank you for your business!
To make a payment, please input an amount and the associated invoice number:

' . piwa([
'show_customer_invoice_input' => true,
]);
}

return $content;
},
10 // Default priority is 10. The latest possible priority is PHP_INT_MAX. Attaching to a priority lower than 10 may cause other filters, such as wpautop, to add paragraph tags incorrectly.
);

Plugin Settings
Settings can be reset with:
wp option delete piwa

Settings can also be hard-coded with the follow script, preferably placed in wp-content/mu-plugins/:
1,
'merchant_id' => '',
'client_id_store_id' => '',
'public_key_id' => '',
] as $key => $value
) {
putenv( sprintf( 'piwa_%s=%s', $key, $value ) );
}

Third-Party Services
Pay Invoices with Amazon integrates with Amazon Payments to process invoice payments made through the plugin.
Third-Party Service Links and Policies

Amazon Payments Terms of Service: https://pay.amazon.com/help/201212430
Amazon Payments Privacy Policy: https://pay.amazon.com/help/201212490

By using the plugin, you acknowledge and consent to the use of Amazon Payments for payment processing. We ensure that all data transmissions are secure and in compliance with legal standards.

延伸相關外掛

文章
Filter
Mastodon