=== CryptoPay Button === Contributors: cryptobanking Tags: ethereum, crypto, payment button, erc-20, qr code Requires at least: 5.8 Tested up to: 6.7 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html An open-source, Ethereum-only payment button. A visitor scans or clicks, pays ETH, and receives the token directly — no middleman, no exchange, no account. This WordPress plugin package costs $0.70 CAD via PayPal on https://cryptobanking.pro/innovation.html — after payment you receive the download by email/message. The button code itself is free open source. == Description == CryptoPay Button adds a payment button to any WordPress post or page. A visitor chooses how many tokens they want, sees the price in ETH and a QR code, scans it with their wallet, and pays ETH **directly to the seller's wallet**. The seller then sends the tokens to the visitor's wallet. **No middleman. No exchange. No account. No server.** The button is plain JavaScript that runs in the visitor's browser. It never asks for a private key or a seed phrase, and it never sends anything to a server. The rules, enforced in code: 1. **Ethereum Mainnet only (chainId 1).** The button refuses every other chain. 2. **No intermediary.** The payment goes straight to the seller's address. 3. **Simple enough for non-technical people.** Scan → pay ETH → receive the token. 4. **Any ERC-20 token**, by its contract address. Use the shortcode `[cryptopay_button]` in any post or page, or add the **CryptoPay Button** block. Defaults are set under **Settings > CryptoPay Button**. The button is translated in 10 languages (English, French, Spanish, German, Portuguese, Italian, Dutch, Arabic, Chinese, Hindi). The other 81 languages from cryptobanking.pro fall back to English until translated. Note: this 1.0.0 release was written against the WordPress 5.8–6.7 APIs and the bundled JavaScript was verified to parse, but it has not yet been run in a live WordPress install. **Not financial advice.** This plugin never promises profit. Prices go up and down. Never pay money you cannot afford to lose. == Installation == 1. Upload the `cryptopay-button` folder to `/wp-content/plugins/` (or install the zip from **Plugins > Add New > Upload Plugin**). 2. Activate **CryptoPay Button** from the **Plugins** menu. 3. Go to **Settings > CryptoPay Button** and set your token contract address, price, amount, and the wallet address that receives the ETH. Then add `[cryptopay_button]` to any post or page. No account, no API key, no paid service, and nothing to connect. == Frequently Asked Questions == = Which chain does it use? = Ethereum Mainnet only (chainId 1). The button refuses every other chain, in code. There is no setting to change this. = Does the plugin hold my money? = No. The plugin never holds money, and neither does anyone else in the middle. The buyer pays ETH straight to the recipient wallet address you set. The seller then sends the tokens to the buyer's wallet. = What tokens can I sell? = Any ERC-20 token, by its contract address. Examples: CANADA (`0x579fa40bef2afb93115f12c1deb5baf88cfddde0`) and Stable money (SM) (`0x92d2cd89f35031d543fe4da931add4e9cb5309ef`). = Is it free? = The CryptoPay Button code is free and open source. The PHP is GPLv2 or later; the bundled JavaScript and CSS are MIT licensed (Copyright (c) 2026 Hans Mondé — Cryptobanking). This WordPress plugin package costs $0.70 CAD via PayPal — buy it at https://cryptobanking.pro/innovation.html; after payment you receive the download by email/message. = How do I change the token, price, or wallet for one button only? = Use shortcode attributes, for example: `[cryptopay_button token="0x579fa40bef2afb93115f12c1deb5baf88cfddde0" symbol="CANADA" price="0.001" amount="10" recipient="0x264FA871D82443E92f7cc99E1759395441Be6E20" label="Pay with CryptoPay" lang="fr"]` Any attribute you leave out falls back to the Settings page default. = Does it slow down my site? = No. The JavaScript and CSS load only on pages where the shortcode or block is used, never site-wide. = Does it promise profit? = No. It never promises profit or investment returns. Prices go up and down. Never pay money you cannot afford to lose. == Screenshots == 1. The button on a page: the visitor picks an amount, sees the ETH price and a QR code, and pays directly to the seller. 2. Settings > CryptoPay Button: token address, price, amount, recipient wallet, label, and language. == Changelog == = 1.0.0 = * Initial release. * Shortcode `[cryptopay_button]` with token, symbol, price, amount, recipient, label, and lang attributes. * Settings page under Settings > CryptoPay Button with validation (valid 0x Ethereum addresses, amounts greater than 0). * Gutenberg block (server-side rendered, same as the shortcode). * Assets load only on pages where the button is used. * Ethereum Mainnet (chainId 1) only; no other chain is accepted anywhere. == Upgrade Notice == = 1.0.0 = Initial release. No upgrade steps.