E-commerce Demo Site
Explore our live demo site to see Kody's payment integration in action and test with your own store credentials.
🌐 Demo Site: https://ecom-php-demo.kody.com/
Overview
Our demo site is a fully functional e-commerce application that showcases real-world integration with Kody's payment APIs. It's designed as a practical tool for developers to understand and follow during their own integration process.
Features
Online Payments
- Online Payment Demo: Experience the complete online payment process
- Live Testing: Test payments with your actual store ID and API key
Terminal Payments
- Terminal Management: View all terminals assigned to your store
- Terminal Integration: Test terminal payment flows
Token Management
- Token Payment: Process payments using saved payment tokens
- Card Tokens: View and manage all saved card tokens in your store
History & Logs
- All Transactions: View complete transaction history for your store
- View Logs: Access detailed logs for debugging and monitoring
Settings
- Environment Configuration: Switch between staging and production
- Credential Management: Override default store ID and API key for testing
Getting Started
-
Access the Demo Site
- Navigate to https://ecom-php-demo.kody.com/
- Default Store ID:
c4cebf51-b006-4bb9-acd5-bb4bcdbd6e09
(staging environment)
-
Configure Your Credentials (Optional)
- Store ID: Enter your own Kody store identifier to test with your store
- API Key: Enter your test or production API key
- Leave empty to use the default demo credentials
-
Explore Features
- Test online payment flows
- View and manage terminals
- Process token payments
- Review transaction history and logs
What You Can Learn
Online Payment Integration
- How to initialize online payment sessions
- Handling payment callbacks and webhooks
- Managing payment states and confirmations
Terminal Payment Integration
- Terminal discovery and management
- Initiating terminal transactions
- Handling terminal payment responses
Token Payment Implementation
- Saving and managing payment tokens
- Processing payments with saved tokens
- Token lifecycle management
Transaction Management
- Querying transaction history
- Understanding transaction states
- Implementing proper logging and debugging
Code Snippets
The demo site provides code examples in multiple languages:
- PHP
- Python
- Java
- C#
Using for Development
Follow Along Integration
- Use the demo site as a reference while building
- Copy code snippets directly from the examples
- Test your implementation against the same endpoints
- Compare your results with the demo behavior
Testing Scenarios
- Online payment flows (successful and failed)
- Terminal payment transactions
- Token payment processing
- Transaction history queries
- Webhook handling and callbacks
Support
If you encounter issues or have questions about the demo site:
- Check the code snippets on each page
- Refer to the main API documentation
- Contact Kody support with your store ID
Next Steps
After exploring the demo site:
- Review the Getting Started guide
- Set up your development environment
- Implement the payment flow in your application
- Test with sandbox credentials before going live