=== TicketPayGo Lite ===
Contributors: upkyk
Tags: events, tickets, ticketing, event management, elementor
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.4.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sell event tickets without per-ticket fees. Beautiful event cards, interactive calendar, PayPal payments, Elementor widgets, and attendee management.

== Description ==

**TicketPayGo Lite** is a feature-rich, free event ticketing plugin for WordPress. **Keep 100% of your ticket revenue** - no per-ticket fees or commissions. Create events, sell tickets with PayPal, and manage attendees - all from your WordPress dashboard.

🎨 **Now with Elementor Integration!** Drag-and-drop Event Card and Events Grid widgets directly in Elementor.

[**View Live Demo**](https://sjoew.com) | [**Get Full Version**](https://ticketpaygo.upkyk.com)

= Key Features =

* **Elementor Widgets** - Drag-and-drop Event Card and Events Grid widgets for Elementor page builder
* **Unlimited Events** - Create as many events as you need with title, description, location, and featured image
* **PayPal Integration** - Accept payments securely via PayPal (or run free events)
* **Responsive Design** - Beautiful event cards and booking forms that work on any device
* **Calendar View** - Display events in an interactive FullCalendar with month, week, and list views
* **Email Confirmations** - Send customizable order confirmation emails to attendees
* **WP-Admin Check-in** - Manually check in attendees from your WordPress dashboard by searching order numbers
* **Order Management** - View and manage ticket orders with status tracking
* **Customization** - Brand your event cards and emails with custom colors
* **Shortcodes** - Easily embed events and calendars anywhere on your site
* **OpenStreetMap** - Integrated maps for event locations

= Elementor Widgets =

TicketPayGo Lite automatically detects Elementor and adds custom widgets to your Elementor panel:

* **Event Card** - Display a single event with booking functionality
* **Events Grid** - Show multiple events in a customizable grid or list layout

Simply drag the widgets from the "TicketPayGo Lite" category in Elementor and configure them visually!

= Shortcodes =

* `[ticketpaygo_lite_event id="123"]` - Display a single event card and booking form
* `[ticketpaygo_lite_events limit="10" layout="grid"]` - Display a list of upcoming events
* `[ticketpaygo_lite_calendar]` - Display the interactive events calendar

= Need More Features? =

Upgrade to [TicketPayGo Full](https://ticketpaygo.upkyk.com) for professional features:

* **Multiple Ticket Types** - Create different ticket tiers (VIP, Early Bird, General Admission)
* **QR Code Tickets** - Automatically generate scannable QR codes for every ticket
* **Mobile QR Scanner App** - Fast check-in using your smartphone camera
* **Apple Wallet** - Let customers add tickets to their mobile wallet
* **Recurring Events** - Set up daily, weekly, or monthly repeating events
* **Advanced Analytics** - Detailed reports on sales, revenue, and attendance
* **More Payment Gateways** - Accept payments via Stripe and Mollie
* **Multi-Device Sync** - Real-time check-in synchronization across multiple devices
* **Offline Mode** - Check in attendees even without an internet connection

== Installation ==

1. Upload the `ticketpaygo-lite` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to TicketPayGo Lite > Events to create your first event
4. Use the shortcode `[ticketpaygo_lite_event id="X"]` to display your event on any page

= Minimum Requirements =

* WordPress 5.0 or greater
* PHP 7.4 or greater
* MySQL 5.6 or greater

== Frequently Asked Questions ==

= Is there a demo available? =

Yes! You can see the plugin in action on our [Live Demo site](https://sjoew.com).

= How do I create an event? =

Go to TicketPayGo Lite > Events in your WordPress admin and click "Add New Event". Fill in the event details including title, date, time, location, and ticket pricing.

= Can I accept payments with the free version? =

Yes, TicketPayGo Lite supports **PayPal** standard payments out of the box. You can also run free events. For Stripe and Mollie support, please check out the [Full Version](https://ticketpaygo.upkyk.com).

= How do I check in attendees? =

In the Lite version, you can check in attendees via the WordPress Dashboard:
1. Go to TicketPayGo Lite > Check-in
2. Select your event
3. Search for the attendee by name or order number
4. Click "Check In"

For QR code scanning support, consider upgrading to the full version.

= Can I customize the colors? =

Yes! Go to TicketPayGo Lite > Settings > Customization to change the colors of event cards, buttons, and calendar elements to match your brand.

= Does it support recurring events? =

The Lite version supports single events. For recurring events (daily, weekly, monthly), you will need the [Full Version](https://ticketpaygo.upkyk.com).

== Screenshots ==

1. Event creation form with all details
2. Events list in admin dashboard
3. Ticket check-in interface
4. Frontend event display
5. Calendar view of events
6. Order management screen

== Changelog ==

= 1.4.1 =
* Fixed nonce verification issues on cached checkout pages
* Added dynamic nonce refresh endpoint for better UX with caching plugins
* Added cache-control headers to prevent caching of checkout/event pages
* Improved reliability of ticket purchases on sites with aggressive caching

= 1.4.0 =
* **NEW: Elementor Integration** - Added native Elementor widgets for seamless page building
* Added Event Card widget for Elementor - display single events with drag-and-drop
* Added Events Grid widget for Elementor - show multiple events in grid or list layout
* Automatic Elementor detection with helpful admin notice
* Elementor widgets include styling controls for border radius, shadows, and button colors
* Added Dutch, French, and German translations for Elementor widgets

= 1.3.2 =
* Security enhancement: Improved data handling and validation
* Code optimization and performance improvements

= 1.3.0 =
* Added tabbed settings interface with General, Email Settings, and Customization tabs
* Added Email Settings tab with customizable email templates and live preview
* Added Customization tab with color settings for Event Cards, Modals, and Calendar
* Added Free Event Registration option (require registration or allow walk-ins)
* Added Terms & Conditions URL and Privacy Policy URL settings
* Added Calendar shortcode display in event creation and edit screens
* Enhanced booking modals to show Terms & Privacy links when configured
* Improved settings organization and user experience

= 1.2.3 =
* Updated FullCalendar library to v6.1.20
* Updated Chart.js library to v4.5.1
* Added External Services documentation for PayPal and OpenStreetMap integrations
* Improved security: Added nonce verification for admin check-in page GET parameters
* Improved security: Enhanced CSS color value sanitization and escaping
* Improved webhook handler documentation for payment processor callbacks

= 1.2.2 =
* Fixed WordPress.org compliance issues with script enqueuing and REST API permissions
* Updated libraries: FullCalendar to v6.1.15, Chart.js to latest v3.x

= 1.2.1 =
* Fixed uninstall process to properly clean up database tables
* Fixed WordPress editor (wp_editor) not displaying correctly on event edit page
* Fixed ticket type fields not populating when editing events
* Fixed WordPress.org repository coding standards warnings
* Improved database query compliance with WordPress best practices
* Added proper phpcs ignore comments for custom table queries

= 1.2.0 =
* Enhanced event creation with multiple ticket types support
* Added ticket name customization for single ticket events
* Improved event form validation and error handling
* Enhanced database schema with new columns for ticket customization
* Added image fit options for event featured images
* Improved show/hide title on event cards functionality

= 1.1.9 =
* Enhanced admin interface with better script enqueuing
* Improved Leaflet maps integration for event locations
* Added Chart.js for analytics visualization
* Enhanced admin JavaScript localization
* Improved currency symbol and position handling

= 1.1.8 =
* Fixed login redirect to use frontend login instead of admin
* Added WooCommerce account integration support
* Smart login handling - hides login option when user registration is disabled
* Added email customization options (subject, heading, greeting, footer)
* Improved checkout modal UX

= 1.1.7 =
* Improved thank you modal styling and consistency
* Fixed modal close button visibility
* Updated check-in terminology to use "Order Number"

= 1.1.6 =
* Added auto-select for ongoing events in check-in
* Enhanced recent check-ins with quantity and price info
* Fixed check-in database column references

= 1.1.5 =
* Improved payment confirmation modal display
* Added payment verification for Mollie and Stripe
* Fixed modal display after successful payment

= 1.1.4 =
* Enhanced stats boxes styling with better spacing
* Improved check-in form error handling
* Fixed event selection preservation in check-in

= 1.1.3 =
* Updated dashboard Quick Actions button styling
* Replaced Analytics button with Edit in Events list
* General UI improvements

= 1.1.2 =
* Added ticket customization options
* Improved event card styling
* Enhanced color customization for tickets

= 1.1.1 =
* Fixed PayPal payment processing
* Improved order status handling
* Enhanced email delivery reliability

= 1.1.0 =
* Added PayPal payment gateway support
* Improved checkout modal design
* Enhanced mobile responsiveness

= 1.0.2 =
* Fixed QR code generation issues
* Improved email template rendering
* Enhanced database query performance

= 1.0.1 =
* Bug fixes and stability improvements
* Enhanced error handling
* Updated translations

= 1.0.0 =
* Initial release
* Event creation and management
* Ticket generation with QR codes
* Email confirmations
* WP-Admin check-in system
* Shortcodes for event display
* Calendar view
* Order management

== External Services ==

This plugin connects to the following third-party services:

= PayPal =

When PayPal is configured as a payment gateway, this plugin connects to PayPal's API to process payments.

**What it's used for:** Processing ticket purchases and payment transactions.

**Data sent:** Order details including total amount, currency, and order reference. Customer billing information is collected by PayPal directly on their secure checkout page.

**When data is sent:** When a customer initiates a ticket purchase and selects PayPal as the payment method, and when verifying/capturing payment completion.

**Service URLs:**
- Production: https://api-m.paypal.com
- Sandbox (testing): https://api-m.sandbox.paypal.com

**Legal:**
- [PayPal Terms of Service](https://www.paypal.com/us/legalhub/useragreement-full)
- [PayPal Privacy Policy](https://www.paypal.com/us/legalhub/privacy-full)

= OpenStreetMap =

This plugin uses OpenStreetMap for displaying event location maps and for geocoding addresses.

**What it's used for:** Displaying interactive maps showing event locations on event pages, and converting addresses to geographic coordinates.

**Data sent:** 
- For map display: Geographic coordinates (latitude/longitude) of event locations are embedded in map URLs.
- For geocoding: Address text entered by administrators when creating events.

**When data is sent:** 
- Map embeds load when visitors view an event page with a location.
- Geocoding requests are made when administrators search for or verify event addresses in the admin panel.

**Service URLs:**
- Map tiles: https://www.openstreetmap.org
- Geocoding API: https://nominatim.openstreetmap.org

**Legal:**
- [OpenStreetMap Terms of Use](https://wiki.osmfoundation.org/wiki/Terms_of_Use)
- [OpenStreetMap Privacy Policy](https://wiki.osmfoundation.org/wiki/Privacy_Policy)
- [Nominatim Usage Policy](https://operations.osmfoundation.org/policies/nominatim/)

== Upgrade Notice ==

= 1.4.0 =
NEW: Elementor Integration! Drag-and-drop Event Card and Events Grid widgets directly in Elementor. No configuration needed - just install and start building!

= 1.0.0 =
Initial release of TicketPayGo Lite. Create events, sell tickets, and check in attendees for free!
