=== Spoddano - Cardano For Woocommerce === Contributors: stixen84 Tags: Cryptocurrency, Cardano, Woocommerce Donate link: https://www.paypal.com/donate?business=JBLNTNZBHX9NN&no_recurring=1¤cy_code=AUD Requires at least: 5.8.0 Tested up to: 7.0 Stable tag: 1.3.0 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A simple Cardano (ADA) payment gateway for Woocommerce. == Description == **PLEASE NOTE: THIS PLUGIN ONLY WORKS WITH THE CLASSIC WOOCOMMERCE CHECKOUT** Spoddano - Cardano For Woocommerce enables sellers to accept Cardano (ADA) cryptocurrency as payment for their products on woocommerce stores. It uses real time exchange rates provided by coinmarketcap.com api. Sellers enter in their receiving address and a QR code image(optional) and then it's up to the buyer to process the transaction using their wallets. Once they have sent the ADA they enter in a transaction ID and place the order. They will get sent the processing order email as standard by Woocommerce. The seller will need to then confirm the transaction on their end and complete the order. == Installation == From your WordPress dashboard 1. Plugins > Add New 2. Search for "Spoddano" and Install 3. Activate Spoddano from your Plugins page 4. Get your free API key from: https://pro.coinmarketcap.com/signup/ 5. Go to Woocommerce > Settings > Payments and click on manage 6. Enable the plugin and add your API key. 7. Add the RECEIVING ADDRESS of your Cardano Wallet. 8. If your wallet provides a QR Code Image, upload this to your Wordpress media library and copy paste the URL to it in the field provided. 9. Add in any other details you want for the checkout page. 10. Click on 'Save Changes' and you're DONE! == Frequently Asked Questions == = Where do i get the API key from? = coinmarketcap.com offers a free basic API key to call the current exchange rate of the currency used in your store. Get yours here: https://pro.coinmarketcap.com/signup/ = Where does one enter the transaction ID to confirm the transaction? = After you get sent the transaction ID you can follow this up on the Cardano Blockchain Explorer by clicking on the link provided in the orders dashboard or admin email. If there are multiple transactions for the specified ID, do a search for your address within the list of "To" addresses. = Support = If you find an issue or bug, please email me at steven@spiraloutdesigns.com == Screenshots == 1. Payment Settings 2. The QR Code and Copy Address 3. The Transaction ID field and Disclaimer 4. Email invoice with details == Changelog == = 1.3.0 = * Security: hidden checkout fields ("Total ADA Sent" and rate) are no longer trusted; the values are recalculated server-side from the order total and the cached rate at order save time. * Compatibility: declare support for WooCommerce High-Performance Order Storage (HPOS); switch all order meta read/write to CRUD ($order->get_meta / update_meta_data). * Reliability: gracefully handle CoinMarketCap failures (timeout, non-200, malformed response, zero rate) instead of crashing the checkout with a division-by-zero error on PHP 8+. * Performance: exchange-rate cache key now includes the store currency, so changing currency no longer serves stale data; admin save still clears the cache. * Hardening: escape every dynamic value on the front-end (esc_html / esc_attr / esc_url); admin disclaimer rendered through wp_kses_post. * Hardening: stop misusing _e() to print HTML blocks with interpolated PHP variables. * Fix: correctly declare the Text Domain header (was lowercase "text-domain:" and ignored by WordPress); switch text domain to "spoddano" to match the plugin slug. * Fix: spod-ada-txt / spod-ccg-txt typo in the copy-amount script block. * Refactor: copy buttons are real