=== Planet Pay payments ===
Tags: Payments, Planet Pay, BLIK, Google Pay, Apple Pay
Requires at least: 5.0
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 5.2.18
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Planet Pay - add a new payment method to your WooCommerce store.

== Description ==
Planet Pay is a plugin that integrates with WooCommerce, providing additional payment methods such as credit card payments, BLIK, PayByLink, Google Pay, and Apple Pay. Customers are redirected to the Planet Pay gateway to complete their payments securely.

== Features ==
- Multiple payment methods: credit cards, BLIK, Google Pay, and more.
- Easy installation and setup.
- Supports test mode for sandbox environments.

== Installation ==
1. Download the plugin file `WooCommerce_planetpaypayment.zip`.
2. In your WordPress dashboard, navigate to `Plugins → Add New → Upload Plugin`.
3. Upload the ZIP file and click "Install Now."
4. Activate the plugin in `Plugins → Installed Plugins`.

== Configuration ==
1. Navigate to `WooCommerce → Settings → Payments`.
2. Locate "Planet Pay" and click "Manage."
3. Fill in the required fields such as Merchant ID (MID), Secret, and API details.
4. Enable test mode if needed and provide sandbox-specific credentials.

== Frequently Asked Questions ==
= What WooCommerce version is supported? =
The plugin is compatible with WooCommerce 6.5 or higher.

= What PHP version is required? =
PHP 7.4 or higher is required, with extensions: `ext-curl` and `ext-json`.

= Is this plugin free? =
Yes, this plugin is distributed under the GPLv2 license, allowing free use and modification.

== Screenshots ==
1. Planet Pay payments method selection.
2. Plugin configuration panel.
3. Example of test mode settings.

== License ==
This plugin is distributed under the GPLv2 (or later) license. For more details, see [License URI](https://www.gnu.org/licenses/gpl-2.0.html).

== External Services ==

This plugin integrates with the **PlanetPay API** to process online payments, including BLIK, card transactions, and other payment methods.

**Service Name:** PlanetPay API  
**Purpose:** Handles payment processing and transaction verification.  
**Data Sent:**
- Order ID
- Transaction amount
- Customer details (only if required for processing)
- Merchant credentials (for authentication)

**When Data is Sent:**
- When a payment request is initiated.
- When verifying the payment status.

**Where Data is Sent:**
- Sandbox: [https://api.sandbox.planetpay.pl/v1/ecommerce](https://api.sandbox.planetpay.pl/v1/ecommerce)
- Production: [https://api.planetpay.pl/v1/ecommerce](https://api.planetpay.pl/v1/ecommerce)

**Terms of Service:** [PlanetPay Terms](https://planetpay.pl/storage/app/uploads/public/646/f72/100/646f721008fb6967147831.pdf)  

**You can report security bugs through the Patchstack Vulnerability Disclosure Program.**
The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.]( https://patchstack.com/database/vdp/ffe38ea1-8bbd-46da-b008-5412592495d2 )
