VeliraPay for WooCommerce
Take Bitcoin, Ethereum, USDC and other coins at checkout.
Install in
VeliraPay is a crypto payment processor. This plugin adds it as a payment method to WooCommerce, on the classic and the block checkout.
When a customer picks it, the order becomes a VeliraPay invoice for the order total, in the store currency, and the customer is sent to the invoice’s hosted page. There they choose a coin, the exchange rate is locked for 30 minutes, and they send the payment. Once it confirms on-chain, VeliraPay tells the store through a signed webhook and the order is marked paid, exactly as it would be after a card payment.
- Every coin VeliraPay takes, chosen by the customer at the moment of payment.
- Orders priced in USD, EUR, GBP, CAD, AUD, CHF or TRY, the store’s own currency.
- Webhooks checked against the endpoint’s signing secret, each event applied once, with the store’s test and live modes kept apart.
- A fallback that polls VeliraPay on the order-received page, from an order action, and every hour, so a missed webhook never leaves a paid order pending.
- Order notes for everything VeliraPay reports: payments seen on chain, underpayments, expired quotes, late payments and refunds.
- High-Performance Order Storage and block checkout support.
Refunds are not automated. Crypto cannot be pulled back: send the coins from your own wallet and record the refund in the VeliraPay dashboard, which notes it on the order.
External services
This plugin connects to VeliraPay’s API, https://api.velirapay.com, the crypto payment processor it adds to the store, to take payments:
- When a customer pays an order, it creates a VeliraPay invoice for it, sending the available billing name and billing or account email, the order total and currency, a memo with the order number and the store’s name, and the addresses of the order’s order-received and payment pages, for the hosted page to send the customer back to.
- On the store’s pages and the block checkout, while a customer has something in the cart or pays for an existing order, it reads which coins the store’s VeliraPay account takes in the store currency, at most once every ten minutes, sending nothing about the customer or the cart.
- It reads the order’s invoice when the customer opens the order-received page, when you choose “Check VeliraPay status”, every hour for orders waiting for payment, and before WooCommerce’s “Hold stock” timer cancels an order.
- It voids the order’s invoice when the order is cancelled, trashed or deleted.
- When you save an API key, it reads the account and its invoices to check the key.
The customer then pays on VeliraPay’s hosted invoice page, and VeliraPay sends the store signed webhooks about the invoice. VeliraPay’s terms of service: https://velirapay.com/terms. Its privacy policy: https://velirapay.com/privacy.
The plugin calls no other service.
Written by Joobi from the project's own listing. See the source page
0.4.9
- A void notice delivered after an invoice was paid no longer cancels the order held for you.
- A payment notice that does not say whether you accepted a short payment is checked against VeliraPay before the order is completed, and waits to be sent again while VeliraPay cannot be reached or no API key is saved.
- An order never gets a second invoice when the answer to its first was lost: the plugin finds the first one again.
- News of an old invoice no longer completes or cancels an order that moved to another payment method.
0.4.8
- A webhook is only believed about the mode whose secret signed it, so a test secret cannot mark a live order paid. Keep each webhook secret in its own mode’s field.
- An order whose invoice was paid by accepting a short or late payment is held whatever order its webhooks arrive in, and a short payment topped up completes the order.
0.4.7
- Orders with a billing name can pay even when the store has no email address for the customer.
0.4.6
- Requests to VeliraPay are encoded with wp_json_encode(), and the webhook URL field on the settings page no longer carries an inline script.
0.4.5
- What VeliraPay sends, webhook deliveries and API answers alike, is sanitized as soon as it is decoded, before it reaches an order note, the order’s meta or a redirect. A webhook’s raw body is still checked against its signature as it came.
0.4.4
- A detected payment is noted the same way in every coin: the Lightning-specific order note and the “BTC (Lightning)” label are gone, since VeliraPay no longer offers Bitcoin over Lightning.
0.4.3
- The plugin’s admin notices show only on the Plugins screen and WooCommerce’s settings and order lists, instead of on every admin page.
0.4.2
- The note on a late payment says first when VeliraPay quoted its charge again in the coin the customer sent, USDT on Tron instead of TRX or the other way round, and what is now due.
0.4.1
- The invoice’s page sends the customer back to the store: a button to the order-received page once they have paid, and a link back to the order’s payment page until then.
0.4.0
- A late payment puts an order still waiting for payment on hold, so the “Hold stock” timer no longer cancels it and voids its invoice meanwhile.
- An invoice paid by accepting a late payment, or a short one no top-up followed, holds the order instead of marking it paid. A short payment topped up in time still completes it.
- A detected or short payment only adds a note to a cancelled order. Its invoice being paid still brings it back, on hold when you accepted a short or late payment.
- The “Hold stock” timer no longer cancels an order whose invoice is being paid.
- The method is only offered for totals VeliraPay takes: the currency’s lowest price, and a coin the account takes for that amount.
- Replacing an outdated invoice can no longer cancel the order, even when the new invoice cannot be created.
- An order held for a payment that never confirmed goes back to pending payment.
- The checkout shows why VeliraPay refused the customer’s email or the amount, and an order without an email uses the customer’s account email.
- Voiding a cancelled order’s invoice is retried when VeliraPay cannot be reached, and a trashed or deleted unpaid order’s invoice is voided too.
- API requests never follow redirects, the webhook URL is always shown with https://, and a new API key is checked with VeliraPay when saved.
- Order notes name the coin’s network, and a Lightning payment is noted as final.
- The plugin’s folder and text domain are now velirapay-for-woocommerce, its slug on WordPress.org, where new versions come from once it is listed there.
- Exception messages are escaped, and request input and saved keys are sanitized.
- The privacy policy guide suggests text about VeliraPay.
- Tested up to WooCommerce 11.3.
0.3.1
- Retrying an order after changing modes or accounts no longer replaces its existing invoice.
- Delayed events leave refunded orders and orders with a recorded payment date alone.
- Pending-order polling continues beyond fifty orders, in batches at least a minute apart.
- The settings explain that an endpoint receives nothing until it is verified.
0.3.0
- A payout.sent or payout.confirmed webhook adds a note saying your share of the charge went out or reached your wallet, on an endpoint subscribed to them.
0.2.0
- The webhook receiver answers the verification challenge an endpoint has to pass before it receives anything.
- A paid invoice only completes an order it still covers; one for a different amount or currency puts the order on hold with a note.
- Paying again for an order whose invoice was voided or outdated no longer reaches that invoice, and an outdated invoice with a payment on its way is kept rather than replaced.
- A payment that reaches an invoice the order replaced is noted, and puts the order on hold.
0.1.0
- First release: the payment method, the webhook receiver, the status sync and the settings page.
0.4.8
- A webhook is only believed about the mode whose secret signed it, so a test secret cannot mark a live order paid. Keep each webhook secret in its own mode’s field.
- An order whose invoice was paid by accepting a short or late payment is held whatever order its webhooks arrive in, and a short payment topped up completes the order.
0.4.7
- Orders with a billing name can pay even when the store has no email address for the customer.
0.4.6
- Requests to VeliraPay are encoded with wp_json_encode(), and the webhook URL field on the settings page no longer carries an inline script.
0.4.5
- What VeliraPay sends, webhook deliveries and API answers alike, is sanitized as soon as it is decoded, before it reaches an order note, the order’s meta or a redirect. A webhook’s raw body is still checked against its signature as it came.
0.4.4
- A detected payment is noted the same way in every coin: the Lightning-specific order note and the “BTC (Lightning)” label are gone, since VeliraPay no longer offers Bitcoin over Lightning.
0.4.3
- The plugin’s admin notices show only on the Plugins screen and WooCommerce’s settings and order lists, instead of on every admin page.
0.4.2
- The note on a late payment says first when VeliraPay quoted its charge again in the coin the customer sent, USDT on Tron instead of TRX or the other way round, and what is now due.
0.4.1
- The invoice’s page sends the customer back to the store: a button to the order-received page once they have paid, and a link back to the order’s payment page until then.
0.4.0
- A late payment puts an order still waiting for payment on hold, so the “Hold stock” timer no longer cancels it and voids its invoice meanwhile.
- An invoice paid by accepting a late payment, or a short one no top-up followed, holds the order instead of marking it paid. A short payment topped up in time still completes it.
- A detected or short payment only adds a note to a cancelled order. Its invoice being paid still brings it back, on hold when you accepted a short or late payment.
- The “Hold stock” timer no longer cancels an order whose invoice is being paid.
- The method is only offered for totals VeliraPay takes: the currency’s lowest price, and a coin the account takes for that amount.
- Replacing an outdated invoice can no longer cancel the order, even when the new invoice cannot be created.
- An order held for a payment that never confirmed goes back to pending payment.
- The checkout shows why VeliraPay refused the customer’s email or the amount, and an order without an email uses the customer’s account email.
- Voiding a cancelled order’s invoice is retried when VeliraPay cannot be reached, and a trashed or deleted unpaid order’s invoice is voided too.
- API requests never follow redirects, the webhook URL is always shown with https://, and a new API key is checked with VeliraPay when saved.
- Order notes name the coin’s network, and a Lightning payment is noted as final.
- The plugin’s folder and text domain are now velirapay-for-woocommerce, its slug on WordPress.org, where new versions come from once it is listed there.
- Exception messages are escaped, and request input and saved keys are sanitized.
- The privacy policy guide suggests text about VeliraPay.
- Tested up to WooCommerce 11.3.
0.3.1
- Retrying an order after changing modes or accounts no longer replaces its existing invoice.
- Delayed events leave refunded orders and orders with a recorded payment date alone.
- Pending-order polling continues beyond fifty orders, in batches at least a minute apart.
- The settings explain that an endpoint receives nothing until it is verified.
0.3.0
- A payout.sent or payout.confirmed webhook adds a note saying your share of the charge went out or reached your wallet, on an endpoint subscribed to them.
0.2.0
- The webhook receiver answers the verification challenge an endpoint has to pass before it receives anything.
- A paid invoice only completes an order it still covers; one for a different amount or currency puts the order on hold with a note.
- Paying again for an order whose invoice was voided or outdated no longer reaches that invoice, and an outdated invoice with a payment on its way is kept rather than replaced.
- A payment that reaches an invoice the order replaced is noted, and puts the order on hold.
0.1.0
- First release: the payment method, the webhook receiver, the status sync and the settings page.
Follow this listing's changes (Atom feed)