=== Coinbase Business for Contact Form 7 ===
Contributors: coderpress
Tags: contact form 7, coinbase business, gateway, crypto, donation, cf7 crypto, contact form donation, crypto donation, crypto pay
Requires at least: 4.9
Tested up to: 6.9
Stable tag: 1.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Accept cryptocurrency payments on Contact Form 7 using Coinbase Business Checkouts API (USDC on Base by default).

== Description ==
[Documentation](https://coderpress.co/docs/coinbase-commerce-for-contact-form-7/)

Coinbase Business for Contact Form 7 lets visitors submit a Contact Form 7 form and pay via a Coinbase Business hosted checkout. Payments are created with the [Coinbase Business Checkouts API](https://docs.cdp.coinbase.com/coinbase-business/checkout-apis/overview).

= Requirements =
* WordPress with Contact Form 7 active
* A [Coinbase Business](https://www.coinbase.com/business) account
* CDP Secret API keys from the [Coinbase Developer Platform](https://portal.cdp.coinbase.com/projects/api-keys) (ECDSA, with checkout permissions)
* A webhook subscription for `checkout.payment.success` pointing to the plugin webhook URL

= Setup =
1. Go to **Contact → Coinbase Business Settings** and save your CDP API key name and private key PEM.
2. Copy the **Webhook URL** into your Coinbase Business webhook configuration and subscribe to `checkout.payment.success`.
3. Paste the webhook **secret** from Coinbase into the plugin settings.
4. Edit a Contact Form 7 form, open the **Coinbase Business** tab, enable payments, set price and currency (default USDC).

[How to Setup?](https://coderpress.co/docs/coinbase-commerce-for-contact-form-7/)

= Our other plugins =
> [Coinbase Commerce for WooCommerce](https://wordpress.org/plugins/commerce-coinbase-for-woocommerce/)
> [Posts and Products Views for WooCommerce](https://wordpress.org/plugins/posts-and-products-views/)
> [Emails Blacklist for Everest Forms](https://wordpress.org/plugins/emails-blacklist-everest-forms/)

== Changelog ==

= 1.2.0 May 15, 2026 =
* **Breaking:** Migrated from deprecated Coinbase Commerce API to Coinbase Business Checkouts API (`business.coinbase.com/api/v1/checkouts`).
* **Breaking:** Settings now require CDP API key name + ECDSA private key PEM (JWT Bearer auth) instead of a Commerce API key.
* Added checkout network setting (default: base).
* Webhooks: support `checkout.payment.success` and CDP `X-Hook0-Signature` verification.
* Rebranded plugin UI and copy from Coinbase Commerce to Coinbase Business.

= 1.1.3 May 14, 2026 =
* Security: Require manage_options capability and a valid nonce when saving plugin settings (fixes CVE-2026-6709).
* Security: Restrict settings screen to administrators; AJAX nonce; optional webhook signature verification; TLS verification for outbound requests.

= 1.1.2 July 20, 2023 =
* Updated SDK to latest version

= 1.1.0 Apr 07, 2022 =
NEW - Added currency code support

= 1.0.1 Mar 26, 2022 =
FIX - Plugin activation error

= 1.0 Mar 23, 2022 =
Initial release
