=== Card2Crypto Card Payments for Easy Digital Downloads ===
Contributors: card2crypto
Tags: easy digital downloads, edd, payment gateway, credit card, apple pay
Requires at least: 6.2
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Accept card, Apple Pay and Google Pay payments through Card2Crypto hosted checkout, with payouts to your crypto wallet.

== Description ==

Card2Crypto adds a card payment gateway to Easy Digital Downloads. Leave the optional provider field empty for Smart Card2Crypto Hosted, or enter an actual provider identifier to route directly to that provider.

* Default API: https://api.card2crypto.org
* Default checkout: https://pay.card2crypto.org
* Automatic completion after a callback passes the order-token and payment checks and meets the configured threshold.
* Order-specific callback tokens; no service signature headers are required or checked.
* Payout-wallet checks, duplicate-payment protection and order locks.
* Underpaid and unexpected payments recorded for review.
* Optional merchant checkout domain, colour and hosted logo URL.
* Bundled Card2Crypto logo in settings and the local checkout note.

Service information, support and current pricing: https://card2crypto.org/
Terms: https://card2crypto.org/terms-of-use/
Privacy: https://card2crypto.org/privacy-policy/

== Installation ==

1. Upload the ZIP in Plugins > Add New Plugin > Upload Plugin and activate it.
2. Go to Downloads > Settings > Payments > General and enable Card2Crypto Card Payments.
3. Open Card2Crypto Card and paste your own payout wallet address.
4. Leave Provider empty for Smart Card2Crypto Hosted; save the settings.
5. Complete a staging payment and check the completed order before production use.

Requirements: Easy Digital Downloads 3.7+, WordPress 6.2+, PHP 7.4+, a public HTTPS site and a self-custodial payout wallet.

== Frequently Asked Questions ==

= Does this package import settings from another gateway? =

No. This is a separately named plugin. Complete or reconcile outstanding payments before switching, then re-enter your settings and enable this gateway. Previously registered callback URLs are not migrated. See README.md for the switch procedure.

= How do I use Smart Card2Crypto Hosted? =

Leave Provider empty. The display name is not a provider API identifier. A specific provider ID uses direct checkout instead.

= How do I update Card2Crypto 1.0.1? =

Upload this ZIP and choose Replace current with uploaded. The plugin folder, gateway ID, settings and callback tokens stay compatible. Existing service signature headers are ignored.

= The customer paid but the order is still pending? =

Review the order notes and debug log. Ensure index.php?edd-listener=card2crypto_card is reachable and the callback preserves the order number and pg_token. Callback URLs contain an order-specific token and should be kept private. No RSA key or service signature is required.

= Has a real payment been tested? =

No funded transaction or full WordPress/EDD installation was available. PHP syntax, local regression checks and public API endpoint responses were checked. Perform a staging payment before production use.

== Changelog ==

= 1.0.2 =
* Removed service callback signature verification, signature-header processing and the bundled public key.
* Retained order-specific callback tokens and all existing payment checks.
* Kept settings and pending callbacks compatible with Card2Crypto 1.0.1.

= 1.0.1 =
* Card2Crypto branding, URLs, gateway identifiers and bundled logo.
* Smart Card2Crypto Hosted label for the existing default hosted flow.
* Updated installation, switch and callback documentation.
