=== Zebix Pay Drawer for Stripe ===
Contributors: zebix
Tags: stripe, payments, checkout, buy button, ecommerce
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a customizable Pay Now button anywhere on your site. Opens a slide-in checkout drawer powered by Stripe.

== Description ==

Zebix Pay Drawer for Stripe lets you accept one-time payments on your WordPress site without a full store plugin.

This plugin is not affiliated with, endorsed by, or sponsored by Stripe, Inc. "Stripe" is a trademark of Stripe, Inc.

= Features =

* Connect your own Stripe account (Test and Live mode)
* Create payment buttons with custom price, currency, and styling
* Customize the slide-in checkout drawer (position, colors, messages)
* Shortcode `[zebixpd_button id="123"]` for posts, pages, widgets, or templates
* Secure checkout with Stripe Payment Element (cards, wallets where supported)
* Optional name and email collection
* Transaction log in your WordPress admin

= Third-party service: Stripe =

This plugin sends payment data to Stripe to process charges. You need a Stripe account. Stripe may charge processing fees according to their pricing. See Stripe's [Terms of Service](https://stripe.com/legal) and [Privacy Policy](https://stripe.com/privacy). API keys and payment details are sent only to Stripe when a customer checks out; this plugin does not phone home to the plugin author's servers.

= Free vs Pro =

This free plugin is fully functional for unlimited one-time payments in both Test and Live mode.

A separate Pro add-on (sold and distributed from our website, not from WordPress.org) can add features such as:

* Subscription / recurring payments
* Coupons and discount codes
* Advanced customization options

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/zebix-pay-drawer-for-stripe`, or install through the WordPress Plugins screen.
2. Activate the plugin.
3. Go to Zebix Pay Drawer > Settings and add your Stripe Publishable and Secret keys.
4. Go to Zebix Pay Drawer > Buttons > Add New to create your first button.
5. Copy the shortcode shown in the sidebar and paste it into any page, post, or widget.
6. In your Stripe Dashboard, add a webhook endpoint pointing to the URL shown on the Settings page, listening for the `payment_intent.succeeded` event, and paste the signing secret back into Settings.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

No. It works completely standalone.

= Can I have more than one button with different prices? =

Yes. Create as many buttons as you like, each with its own price, currency, and styling.

= Does the free version support Live (real) payments? =

Yes. Use Test mode while developing, then switch to Live mode with your live Stripe keys when you are ready.

= Does it support subscriptions? =

Recurring / subscription payments are available in the separate Pro add-on.

= Where do I get Pro? =

See the Get Pro link on the plugin Settings page when a product URL is configured, or visit the product page linked from the plugin author's site.

== Changelog ==

= 1.2.0 =
* Renamed to Zebix Pay Drawer for Stripe with distinctive slug and zebixpd_ prefixes.
* Sanitized nonce verification input per WordPress coding standards.
* Secured customer-details REST update with a per-payment update token.
* Trademark disclaimer for Stripe.

= 1.1.0 =
* WordPress.org-compliant free release without payment quotas.
* Settings-only Pro upsell (separate add-on).
* Stripe third-party service disclosure.
* Transaction list customer fields and name/email save on pay.

= 1.0.0 =
* Initial release.
