Skip to main content

WooCommerce Integration

The Peer Pay Gateway plugin adds Peer Pay to WooCommerce checkout. Customers pay with Venmo, Cash App, Zelle, PayPal and other payment apps, and you receive USDC.

Requirements​

  • WordPress 5.8+, WooCommerce 7.0+ (tested up to 9.0), PHP 7.4+
  • A Peer Pay merchant account at merchant.pay.peer.xyz

The current plugin version is 1.8.0.

Install​

  1. Download peer-pay-gateway.zip.
  2. In WordPress admin, go to Plugins, Add New, Upload Plugin, choose the file, then Install Now and Activate.

Configure​

Open WooCommerce, Settings, Payments, Peer Pay.

SettingDefaultDescription
Enable/DisableOffShows Peer Pay at checkout.
API KeyRequired. Your API key from Settings, Developer in the dashboard.
Webhook SecretRequired. The signing secret shown when you create the webhook below.
TitlePeer PayPayment method name at checkout.
DescriptionPay with Venmo, CashApp, X Money, Zelle, PayPal, Revolut, Wise, Chime, Monzo, or N26.Text under the title at checkout.
API Base URLhttps://api.pay.peer.xyzLeave the default. Your API key decides whether orders are live or sandbox.
Checkout Base URLhttps://pay.peer.xyzHosted checkout host. Leave the default.
Recipient Wallet AddressYour account's walletEVM address (0x...) that receives payments from this store, overriding your account default.
Destination Chain IDBase (8453)Chain you receive funds on: Base, Ethereum or Arbitrum.
Destination TokenUSDCToken you receive: an alias (USDC, USDT) or a contract address.
Checkout display modeCompactCompact shows one Peer Pay option; Split shows one option per payment method.
Tile sizeMediumSmall, Medium or Large tiles. Split mode only.
Allowed payment methodsUse merchant dashboard defaultUse merchant dashboard default (recommended) offers the payment apps enabled in your dashboard. Customize here offers the methods you tick; split mode requires it.

The payment method stays hidden at checkout until it is enabled and both the API key and the webhook secret are set. A chain or token other than USDC on Base also needs Get paid in another token or chain switched on in the dashboard; see payout routing.

In USD stores, orders are created in USDC at the order total. In other currencies, orders are priced in the store currency and Peer converts them to USDC at the live rate.

Crypto and Apple Pay​

Ticking Crypto under Customize here offers 12 crypto networks: Ethereum, Optimism, BNB Smart Chain, Polygon, World Chain, Hyperliquid, Arc, Base, Arbitrum, Bitcoin, Tron and Solana. In split mode they appear as a single Crypto tile; in compact mode the customer picks a network inside the hosted checkout. Zcash is not part of the plugin's crypto selection.

Peer enables Apple Pay per merchant, so contact support@pay.peer.xyz before offering it. Once it is on, either add Apple Pay to Payment apps under Settings, Payments in the dashboard, or tick Apple Pay under Customize here. If you tick it before Peer has enabled it, saving the settings shows a warning; customers who choose Apple Pay can't pay until it is enabled.

Apple Pay through Peer is US only and is limited to 2,500 USDC per order. Buyers can pay in the Peer window that checkout opens. On iPhone, they can also choose Open in the Peer app. When Apple Pay is the only method on an order, the plugin hides it on Android devices and on USD orders over 2,500. For other store currencies, the hosted checkout enforces the limit.

Set up the webhook​

The plugin updates WooCommerce orders from Peer Pay webhooks.

  1. In the dashboard, open Settings, Developer and create a webhook for https://yourstore.com/wc-api/WC_Gateway_Peer_Pay/, with your own domain. The plugin settings page shows the exact URL.
  2. Subscribe to ORDER_FULFILLED and ORDER_CANCELLED. Add ORDER_CREATED, PAYMENT_CREATED, PAYMENT_SETTLED and PAYMENT_BRIDGE_FAILED if you want order notes for them.
  3. Copy the signing secret shown after creation into the plugin's Webhook Secret.
EventWhat the plugin does
ORDER_FULFILLEDMarks the order paid: Processing, or Completed when every item is virtual and downloadable.
ORDER_CANCELLEDMarks the order Cancelled.
PAYMENT_SETTLEDAdds a note that a payment settled and fulfillment is pending.
ORDER_CREATED, PAYMENT_CREATEDAdds a note.
PAYMENT_BRIDGE_FAILEDAdds a note that delivering the payout to your chain or token failed.

How it works​

  1. The customer chooses Peer Pay at checkout. The order is created On hold.
  2. The customer pays on the hosted checkout with their chosen method.
  3. On ORDER_FULFILLED, the plugin marks the order paid.

The plugin adds the payment link to WooCommerce's on-hold order email, so the customer can finish paying later. That email comes from your store, not from Peer.

Classic (shortcode) and block checkouts both work without extra configuration.

Troubleshooting​

  • Peer Pay doesn't appear at checkout: check that it is enabled and that both the API key and the webhook secret are set.
  • Orders stay On hold: check the webhook URL in the dashboard and that the secret matches the plugin's. The dashboard shows each webhook's delivery log.
  • Plugin logs: WooCommerce, Status, Logs, then the peer-pay log.

See webhook events and payment platforms for details.