=== TorobPay for WooCommerce ===
Contributors: torobpay, macse2
Tags: woocommerce, payment gateway, installments, torobpay, ترب‌پی
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 4.7.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept TorobPay installment payments in your WooCommerce store.

== Description ==

[TorobPay](https://torobpay.com/) lets customers pay in installments at checkout.

You need WooCommerce and a TorobPay merchant account.

The plugin:

* Works with classic and block checkout
* Syncs order status and supports refunds
* Can show installment info on product pages
* Includes a built-in slider and visual banners to highlight to shoppers that installment payments are available in your store.

Customers are sent to TorobPay to complete payment, then returned to your store.

== Installation ==

1. Upload the plugin or install the ZIP via **Plugins → Add New**.
2. Activate **TorobPay for WooCommerce**.
3. Make sure WooCommerce is active.
4. Go to **WooCommerce → Settings → Payments**, enable TorobPay, and enter your merchant details.

== Frequently Asked Questions ==

= Do I need a TorobPay account? =

Yes. Register as a TorobPay merchant and get your account details before you can accept payments.

= Does this work with the WooCommerce block checkout? =

Yes.

= Does this work with High-Performance Order Storage (HPOS)? =

Yes.

= Where can I get support? =

Visit [torobpay.com](https://torobpay.com/) or use the support options in your TorobPay merchant panel.

= What happened to the Custom CSS editor? =

It was removed in 4.7.2. If you had custom CSS there, copy it into your theme or **Appearance → Customize → Additional CSS**. Those rules are not migrated automatically.

== Privacy Policy ==

This plugin sends order and customer details to TorobPay (`cpg.torobpay.com`) so payments can be processed. That can include order totals, items, phone number, postal code, and your merchant credentials.

If you opt in to the TorobPay campaign, TorobPay would be able to fetch necessary data automatically.

== Third-party libraries ==

* [jalaliDatePicker](https://github.com/majidh1/jalaliDatePicker) (MIT) — date picker used on the admin orders screen.

== Changelog ==

= 4.7.6 =
* Better handling when TorobPay is default payment method.
* Stops a conflicting discount plugin from adding extra fees on TorobPay.
* New campaign data sharing method, now merchants could just enable it and it works automatically.
* New UTM action profile for "utm_medium" which contain "TorobPay" term.
* Improved settings UI and bug fixes.
* Improved marquee and badge styles to support more themes out of the box.
* Combined Jalali date range filter in TorobPay orders table page. 

= 4.7.5 =
* Guest checkout now goes straight to TorobPay.
* Clearer checkout error messages.
* Checkout always redirects to TorobPay.

= 4.7.4 =
* WordPress.org review follow-up.

= 4.7.3 =
* WordPress.org review follow-up.
* Product-page installment amounts now follow the selected quantity.
* Safer handling when a paid order is not marked paid by WooCommerce.

= 4.7.2 =
* WordPress.org review fixes. Custom CSS editor removed — move any custom CSS to your theme or **Appearance → Customize → Additional CSS**.

= 4.7.1 =
* More reliable order updates, especially on shared hosting.

= 4.7.0 =
* First WordPress.org release. Updates now come through WordPress.org. Re-activate the plugin if the main file name changed.

== Upgrade Notice ==

= 4.7.6 =
New campaign method and UI. Upgrade recommended.

= 4.7.5 =
Guest checkout now goes straight to TorobPay. Recommended for all stores.

= 4.7.2 =
Custom CSS editor removed. Move any custom CSS to your theme or Appearance → Customize → Additional CSS.

= 4.7.0 =
Updates now come through WordPress.org. Re-activate the plugin if the main file name changed.
