=== Priconix Sync ===
Contributors: wpsharif
Tags: stripe, payments, checkout, ecommerce, button
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Priconix Sync - Stripe Payment Gateway by wpsharif lets you accept Stripe payments anywhere on your WordPress site with a simple shortcode and easy settings.

== Description ==
Priconix Sync is a lightweight plugin that allows you to add a Stripe payment button anywhere on your WordPress site using a shortcode. Easily configure your Stripe API keys and redirect URLs from the WordPress settings.

**Features:**
- Accept Stripe payments anywhere via shortcode
- Customizable payment button (color, text, amount, etc.)
- Easy setup in WordPress settings
- Redirects for success and cancel URLs

== External Services ==

This plugin integrates with Stripe's payment processing service to handle secure payment transactions.

= Stripe Payment Processing =

* Service Purpose: Stripe provides secure payment processing functionality for accepting credit card and other payment methods.
* Data Transmission: 
  - Payment information (amount, currency)
  - Customer details (when provided during checkout)
  - Transaction details
  - All data is transmitted securely via HTTPS to Stripe's servers
* Data is sent when:
  - A customer initiates a payment
  - During payment verification
  - When viewing transaction history (for authorized administrators)

= Service Documentation =
* Stripe Terms of Service: https://stripe.com/legal/ssa
* Stripe Privacy Policy: https://stripe.com/privacy
* Stripe Security Documentation: https://stripe.com/docs/security

Note: A Stripe account is required to use this plugin. All payment data is handled directly by Stripe's secure infrastructure and complies with PCI DSS requirements.

== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/priconix-sync` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **Settings > General** to configure your Stripe API keys and URLs.

== Usage ==
Add the payment button anywhere using the following shortcode:

`[priconix-sync amount="10.00" currency="USD" description="Payment" button_text="Pay with Stripe" button_color="#007bff" button_text_color="#ffffff" extra_classes="" product_name="Product"]`

**Shortcode Attributes:**

| Attribute           | Default     | Description                                      |
|---------------------|-------------|--------------------------------------------------|
| amount              | 10.00       | Payment amount                                   |
| currency            | USD         | Currency code (e.g., USD, EUR)                   |
| description         | Payment     | Payment description                              |
| button_text         | Pay with Stripe | Button label                                 |
| button_color        | #007bff     | Button background color                          |
| button_text_color   | #ffffff     | Button text color                                |
| extra_classes       | (empty)     | Extra CSS classes for the button                 |
| product_name        | Product     | Name of the product/service                     |

== Screenshots ==
1. Plugin settings page
	![Settings Page](assets/img/docs.png)

== Frequently Asked Questions ==

= Where do I find the settings? =
Go to **Settings > General** in your WordPress admin to configure Stripe keys and URLs.

= What Stripe keys do I need? =
You need your Stripe Publishable Key and Secret Key. Get them from your Stripe dashboard.

= Can I customize the payment button? =
Yes! Use the shortcode attributes to change the button text, color, amount, and more.

== Changelog ==
= 1.0.1 20-11-2025 = 
* Added: Github automation for update.

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
First public release.
