Linux 软件免费装

Payra for WooCommerce

开发者 payrasoftware
marcusramospayra
更新时间 2026年10月15日 05:42
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce payment gateway payments credit card ach

下载

1.3.0 1.0.1 1.0.0 1.1.0 1.2.0

详情介绍:

Payra for WooCommerce adds up to three Payra payment options to your checkout, on both the classic checkout and the Checkout block: card and US bank account (ACH debit) fields inside your checkout, and the Payra checkout page, where the customer pays on a Payra page and comes back. You need a Payra account with the API enabled. Keys are created in Payra under Settings → Integrations → API keys.

安装:

  1. Upload the plugin zip in Plugins → Add New → Upload Plugin, and activate it. WooCommerce 8.3 or newer must be active.
  2. In WooCommerce → Settings → Payments, enable Payra and open its settings. Choose the payment options you offer: cards in your checkout, bank accounts (ACH) in your checkout if your Payra workspace has an ACH processor, and the Payra checkout page. All of them share the same keys.
  3. Paste the publishable and secret keys from Payra (Settings → Integrations → API keys). Keep Test mode on while you try it with sandbox keys.
  4. In Payra (Settings → Integrations → Webhooks), add a webhook endpoint pointing at https://your-store.example/wp-json/payra/v1/webhook and paste the whsec_ secret in the plugin settings.

常见问题:

Do the card or bank account numbers pass through my server?

No. The fields are secure frames from Payra's vault; the browser sends the details straight to the vault and your site only ever receives a session id.

How does a bank account (ACH) payment work?

The customer enters a US routing and account number and accepts the ACH authorization shown in the secure fields. The order is placed on hold; when the debit settles (the processor sends it to the bank in its next batch), Payra's webhook moves it to processing. Settled is not final: a debit the bank returns later fails the order with a note. Refunds are available once the debit has settled.

Can customers save a card?

Yes, customers with an account. At checkout they tick the option to save the card to their account; they can also add a card under My account → Payment methods, which checks the card with the processor without an order. The next checkout offers the saved cards. Guests pay with a card they enter each time. Your Payra workspace must allow creating customers through the API; one whose customers come from an ERP integration does not, and customers then pay without saving.

Which currencies are supported?

Cards: USD and CAD. Bank accounts (ACH): USD only. Each method hides itself on other currencies; on the Payra checkout page, a CAD order is offered cards only.

Does it work with the Checkout block?

Yes, and with the classic [woocommerce_checkout] shortcode as well.

Where does the JavaScript source live?

The Checkout block script is built from src/blocks/index.js, included in the plugin, with @wordpress/scripts.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.1 1.0.0