=== Paybrain Payments for WooCommerce ===
Contributors: paybrain
Tags: payment gateway, stripe, credit card, woocommerce, payments
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Accept payments through Paybrain with Stripe integration. Features automatic tax calculation, QR codes, and seamless embedded checkout.

== Description ==

Paybrain Payments for WooCommerce enables you to accept credit card payments directly on your WooCommerce store using Paybrain's payment processing platform powered by Stripe.

### Features

* **Embedded Checkout** - Customers never leave your site
* **Stripe Elements** - Secure, PCI-compliant payment forms
* **Automatic Tax Calculation** - Leverage Stripe's tax calculation API
* **Apple Pay & Google Pay** - Support for digital wallets
* **Test Mode** - Test payments without processing real charges
* **Easy Setup** - Connect with a simple API key

### Why Paybrain?

Paybrain simplifies payment processing for small businesses by providing:
- Transparent pricing with no hidden fees
- Built-in QR code payments
- Advanced fraud protection
- Comprehensive dashboard for managing transactions
- Excellent customer support

### Requirements

1. A Paybrain account ([Sign up at paybrain.io](https://paybrain.io))
2. WooCommerce 5.0 or higher
3. PHP 7.4 or higher
4. SSL certificate (required for payment processing)

== Installation ==

### Automatic Installation

1. Log in to your WordPress admin panel
2. Navigate to Plugins → Add New
3. Search for "Paybrain Payments"
4. Click "Install Now" and then "Activate"

### Manual Installation

1. Download the plugin ZIP file
2. Log in to your WordPress admin panel
3. Navigate to Plugins → Add New → Upload Plugin
4. Choose the ZIP file and click "Install Now"
5. Click "Activate"

### Configuration

1. Navigate to WooCommerce → Settings → Payments
2. Click "Paybrain" to configure
3. Enable the payment method
4. Add your API keys:
   - Log in to your Paybrain account at [paybrain.io](https://paybrain.io)
   - Go to Settings → API Keys
   - Create a new API key for your WooCommerce store
   - Copy the API key (starts with `pbk_`)
   - Paste it into the appropriate field (Test or Live)
5. Save changes

== Frequently Asked Questions ==

= Do I need a Paybrain account? =

Yes, you need to create a free account at [paybrain.io](https://paybrain.io) and connect your Stripe account.

= What payment methods are supported? =

Paybrain supports all major credit cards (Visa, Mastercard, American Express, Discover), Apple Pay, and Google Pay.

= Is there a transaction fee? =

Paybrain uses transparent pricing. Visit [paybrain.io/pricing](https://paybrain.io/pricing) for current rates.

= Can I test payments before going live? =

Yes! Enable "Test Mode" in the plugin settings and use a test API key. No real charges will be processed.

= Is SSL required? =

Yes, an SSL certificate is required to process payments securely.

= Where can I get support? =

For plugin support, please visit our [support page](https://paybrain.io/support) or email support@paybrain.io.

== Screenshots ==

1. Plugin settings page
2. Checkout page with Paybrain payment form
3. API keys management in Paybrain dashboard

== Changelog ==

= 1.0.0 =
* Initial release
* Embedded Stripe Elements checkout
* Test and live mode support
* Automatic tax calculation
* Apple Pay and Google Pay support

== Upgrade Notice ==

= 1.0.0 =
Initial release of Paybrain Payments for WooCommerce.

== Privacy Policy ==

Paybrain Payments for WooCommerce integrates with the Paybrain payment platform. When customers make a purchase:

* Payment information is transmitted securely to Paybrain and Stripe
* Customer email and billing information is shared with Paybrain
* No sensitive payment data is stored on your WordPress server
* Paybrain's privacy policy: https://paybrain.io/privacy
* Stripe's privacy policy: https://stripe.com/privacy

== Additional Information ==

For more information about Paybrain:

* Website: https://paybrain.io
* Documentation: https://paybrain.io/docs
* Support: support@paybrain.io
* GitHub: https://github.com/paybrain-io
