Beskrivning
This plugin adds Card to Card payment functionality to Easy Digital Downloads. Customers can transfer money to a specified card number after purchase and submit their transaction details. Orders will be confirmed by the site administrator after review.
Features:
– Add Card to Card payment gateway to Easy Digital Downloads
– Allow customers to submit tracking and reference numbers
– Send order notifications to Telegram (optional)
– Cloudflare Worker proxy support for Telegram on restricted servers
– Display Card to Card information in order management
– Custom bank icon upload option for unlisted banks
– Display bank name in checkout form
External Services
This plugin uses the Telegram Bot API to send store/admin notifications during order events in Easy Digital Downloads.
Data sent includes:
– Order total
– Order status
– Customer email (if available)
This data is sent when a new payment is completed or fails.
Service: Telegram Bot API
Terms of Service: https://telegram.org/tos
Privacy Policy: https://telegram.org/privacy
Optionally, this plugin can route Telegram API requests through a user-deployed Cloudflare Worker when direct access to Telegram is restricted. The Worker code is provided as a reference and must be deployed by the user on their own Cloudflare account.
Service: Cloudflare Workers
Terms of Service: https://www.cloudflare.com/terms/
Privacy Policy: https://www.cloudflare.com/privacypolicy/
Skärmdumpar



Installation
- Download and extract the plugin.
- Upload the
card-to-card-gateway-for-eddfolder to thewp-content/plugins/directory. - Activate the plugin through the WordPress dashboard.
- Go to Downloads > Settings > Payment Gateways and configure the Card to Card settings.
Vanliga frågor
-
Does this plugin automatically confirm payments?
-
No, payments must be reviewed and confirmed by the site administrator after being submitted by the customer.
-
Can I send notifications to Telegram?
-
Yes, you can enter your Telegram bot token and Chat ID in the plugin settings to send order notifications.
Recensioner
Bidragsgivare och utvecklare
”Card To Card Gateway For EDD” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”Card To Card Gateway For EDD” har översatts till 1 språk. Tack till översättarna för deras bidrag.
Översätt ”Card To Card Gateway For EDD” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.4.3
- Fixed an issue where purchase messages with inline keyboards failed when using Cloudflare Worker proxy (Double-encoding of reply_markup).
- Switched Telegram API requests to application/json format for both direct and proxy connections for better compatibility and consistency.
1.4.2
- Added Cloudflare Worker proxy support for Telegram notifications
- Servers that cannot connect to Telegram directly (e.g., Iranian servers) can now use a Cloudflare Worker as a proxy
- Added ”Test Telegram Connection” button in settings to verify connection status (works with or without Worker proxy)
- Replaced custom HTML notice blocks with native EDD tooltips for a cleaner settings interface
- Added setup guide link to GitHub Gist for easy Worker deployment
- Smart field toggling: Worker settings and test button only appear when Telegram notifications are enabled
1.4.1
- Added a secure ”Confirm Order” link next to ”View Order” in Telegram messages for one-click payment confirmation from Telegram.
1.4.0
- Added customizable instructions/notice field for the checkout form
- Implemented rich editor (WYSIWYG) support for the notice field
- Improved formatting: Preserves line breaks and HTML styling in the custom notice text
- Added fallback mechanism to show the default message if the field is left empty
1.3.7
- Added bank selection dropdown with 34 pre-loaded Iranian banks
- Added custom bank icon upload option for banks not in the list
- Added bank name display in checkout form
- Enhanced Telegram settings with better visual warning message
- Improved JavaScript for dynamic field toggling
- Better user experience with smart form field management
- Fixed Telegram fields toggle functionality
- Improved warning message styling with alert box design
1.3.6
- Improved mobile responsive design: Tracking code and reference number fields now stack vertically on mobile devices instead of appearing side by side
- CSS optimization: Removed all inline styles from PHP code and moved them to external CSS file for better performance
- Enhanced maintainability: Separated HTML structure from styling by creating dedicated CSS classes
- Improved code organization: Added structured CSS classes for all form elements (container, bank section, icons, buttons, inputs, labels)
- Better performance: Eliminated inline styles to reduce HTML size and improve page load times
- Enhanced mobile compatibility: Optimized responsive design with proper CSS media queries
- Cleaner codebase: Achieved complete separation of concerns between HTML and CSS
1.3.3
- Security improvements: Fixed potential XSS vulnerabilities with comprehensive output escaping
- Improved nonce verification order to prevent early access to $_GET
- Enhanced input validation and sanitization throughout the plugin
- All user inputs and outputs are now properly escaped using WordPress security functions
- Improved permission checks and error handling
1.3.2
- Comprehensive security improvements (input sanitization, validation, output escaping, Nonce security)
- Fixed inline script and style issues for improved performance and security
1.2
- Card number formatting with dashes
1.1
- Optimized settings in EDD
1.0
- Initial plugin release