Accept Tezos with Payzos Wordpress plugin
Accept Tezos with Payzos, WooCommerce & Wordpress!
You will need Woocommerce plugin as well. Activate this plugin then set your XTZ address in Payments > Payzos > Manage.
I used Claude Code to revive the Payzos plugin and hopefully address the security issues that saw it unlisted from Wordpress plugins.
This plugin is provided as-is. No responsibility taken for any bugs or financial loss. I credit Johan Peterson as the original author of the code.
π Support with Tezos Tips
Appreciate this content? Send a tip to support more content like this!
tz1MdSsDBG8k8q1pxZrdpSC2Aw49ukFs8ACy
Sign in to send tips directly from your Tezos wallet!
New Features Added:
- Payment deadline countdown with visual urgency indicators
- Admin meta box for deadline extension
- Cumulative payment tracking across multiple transactions
- Configurable payment windows
- Auto-check timeout system
- TzKT explorer integration
Auto-Check Toggle with Timeout
- Added toggleable auto-checking for payment status (defaults to enabled)
- Auto-disables after 2 minutes if no payment received
- Prevents excessive API calls when users leave page open
- Location: Payment instructions page
Overpayment Handling
- Accepts payments over 5% of expected amount
- Shows detailed overpayment notifications with next steps
- Displays overpayment amount in both XTZ and fiat currency
- Provides customer support guidance for refunds/store credit
Cumulative Payment System
- Tracks partial payments by sender address
- Accumulates multiple transactions toward total payment
- Shows detailed payment progress with "X XTZ of Y XTZ required"
- Prevents duplicate transaction usage across orders
- Displays multiple transaction hashes with TzKT explorer links
Payment Deadline Management
- Configurable payment window (1-168 hours) in WooCommerce settings
- Real-time countdown timer showing remaining time
- Color-coded urgency (green β orange β red as deadline approaches)
- Auto-hides payment form when deadline expires
- Shows customer support guidance for expired payments
Admin Deadline Extension Tools
- Meta box in WooCommerce admin for Payzos orders
- Extend payment deadlines beyond original window
- Extension history tracking with user attribution
- Order notes for all deadline changes
- AJAX interface for real-time extension
TzKT Explorer Integration
- Clickable links to view transactions on TzKT explorer
- Shows transaction hashes for all detected payments
- Helps with payment verification and customer support
Enhanced Payment Tracking
- Transaction deduplication prevents double-spending
- Payment window filtering prevents confusion with old transactions
- Better error handling and user feedback
- Detailed logging for debugging
User Experience Improvements
- Copy-to-clipboard for wallet addresses
- QR code display for mobile payments
- Clear payment instructions and timing expectations
- Responsive design for mobile devices
- Progress indicators and status messages
Security & Compatibility
- HPOS (High Performance Order Storage) compatibility
- Enhanced input validation and sanitization
- Rate limiting for API calls
- Proper nonce verification for admin actions
- Updated to use WooCommerce's modern order methods
Technical Improvements
- Migrated from legacy post meta to HPOS-compatible order meta
- Better error handling and logging
- Optimized API usage with caching
- Improved code organization and documentation