=== Purchase Redirect for WooCommerce ===

Contributors: healomax
Donate link: https://healomax.gumroad.com/l/gsmeyo/
Tags: woocommerce, redirect, thank you page, upsell, checkout
Requires at least: 5.1
Tested up to: 7.0
Stable tag: 1.1.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Requires Plugins: woocommerce
WC requires at least: 4.0
WC tested up to: 9.0
Requires PHP: 7.4

Transform your WooCommerce 'Thank You' page into a powerful marketing tool with custom redirects, WhatsApp integration, and secure temporary links.

== Description ==

**Stop losing customers at the finish line.**

The **Purchase Redirect for WooCommerce** plugin is a lightweight yet powerful tool designed to help store owners take control of the post-purchase journey. Instead of showing a generic receipt, send your customers where they need to go: a custom thank you page, a hidden upsell, a video tutorial, or even a direct WhatsApp chat.

This plugin also features a unique **Temporary Link Generator**, allowing you to create secure, time-sensitive redirection URLs — perfect for protecting sensitive content or managing internal workflows.

### Key Benefits:
* **Increase Revenue:** Redirect buyers to exclusive "One-Time Offers" or related products.
* **Improve Support:** Send customers directly to a WhatsApp chat with a pre-filled message.
* **Boost Engagement:** Guide users to your community, newsletter signup, or onboarding videos.
* **Secure Access:** Use temporary links to ensure your redirection paths aren't shared indefinitely.

== Free Version Features ==
* **Single Product Redirect:** Configure 1 specific product redirect for your store.
* **Custom Destinations:** Redirect to any URL (internal or external).
* **WhatsApp Ready:** Send buyers to a wa.me link for instant customer service.
* **One-Time Links:** Generate secure temporary links for internal use.
* **Mobile Optimized:** Fully responsive settings and redirection flow.
* **HPOS Compatible:** Supports WooCommerce High-Performance Order Storage.

== Pro Version Features ==
* **Unlimited Product Redirects:** Set unique destinations for every product in your catalog.
* **Advanced Link Management:** Full control over unlimited temporary and permanent links.
* **Bulk Configuration:** Manage complex store setups from a streamlined dashboard.
* **Priority Private Support:** Get direct assistance and faster updates.

== Installation ==

1. Go to **Plugins > Add New** in your WordPress dashboard.
2. Search for "Purchase Redirect for WooCommerce".
3. Click **Install Now** and then **Activate**.
4. Navigate to the new "Redirect for WooCommerce" menu in your sidebar to begin.

== Frequently Asked Questions ==

= How do I change the redirect link? =
Navigate to the **Redirect for WooCommerce** settings page in your WordPress admin panel and update the "Redirect Link" field.

= What are temporary links? =
Temporary links are unique tokens appended to the redirect URL for a specific purchase. They expire after 2 days, preventing buyers from bookmarking or sharing a redirect path you want to keep private.

= Will caching break my redirects? =
Regular redirects work fine with standard caching. If you use temporary links, exclude that specific path from your cache settings (e.g., WP Rocket or W3 Total Cache).

= What happens if a payment fails? =
The redirect only triggers upon successful payment completion. If a payment is pending or failed, the user remains on the standard WooCommerce checkout page.

= What PHP version is required? =
PHP 7.4 or higher is required. PHP 8.x is fully supported and recommended.

== Support ==

For community support, please visit our [Support Forum](https://wordpress.org/support/plugin/purchase-redirect-for-woocommerce/). For Pro users, please use the private support channel provided in your purchase confirmation.

== Changelog ==

= 1.1.0 =
* Update: Minimum PHP requirement lowered to 7.4 (was 8.0) for broader server compatibility.
* Update: Minimum WordPress requirement updated to 5.1.
* Update: Confirmed compatibility with WooCommerce 9.0.

= 1.0.9 =
* Fix: Minor UI alignment issues in the admin dashboard.
* Update: Confirmed compatibility with WordPress 6.9.

= 1.0.8 =
* Fix: Addressed a minor conflict with certain AJAX checkout themes.
* Fix: Resolved a PHP warning appearing in specific server environments.

= 1.0.7 =
* Feature: Added WhatsApp Redirection Link support.
* Feature: Allow pre-filled custom messages for WhatsApp redirects.

= 1.0.6 =
* Fix: Improved logic for temporary link expiration.

= 1.0.5 =
* Update: Optimised code for PHP 8.0+ compatibility.
* Update: Performance improvements for high-traffic stores.

= 1.0.4 =
* Fix: Bug fix for redirect loops in specific edge cases.

= 1.0.3 =
* Fix: Improved compatibility with WooCommerce 7.x series.

= 1.0.2 =
* Update: Enhanced security for temporary link generation.

= 1.0.1 =
* Fix: Resolved installation bug for fresh WooCommerce setups.

= 1.0.0 =
* Initial release of the Purchase Redirect for WooCommerce Plugin.
* Feature: Global and product-specific redirects.
* Feature: Temporary link generation.

== Upgrade Notice ==

= 1.1.0 =
Security and compatibility update. Recommended for all users. PHP requirement is now 7.4+.

== Credits ==

- Author: HealoMax
- Website: https://healomax.com/redirect-pro-for-woocommerce-manage-unlimited-redirects-on-wordpress/

Thank you for using the Purchase Redirect for WooCommerce Plugin!
