=== PazarCloud for WooCommerce ===
Contributors: pazarcloud
Tags: woocommerce, erp, accounting, inventory, e-invoice
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connects a WooCommerce shop to PazarCloud: shop orders become PazarCloud sales orders and sales.

== Description ==

DEVELOPMENT VERSION — not released, not published anywhere.

The merchant works in PazarCloud; shoppers use the WooCommerce shop. The plugin talks only to the PazarCloud
address configured by the merchant (the PazarCloud service, documented at the merchant's PazarCloud account), with
the API key of a WooCommerce connection created in PazarCloud. It sends no data anywhere else and loads nothing from
other servers.

* A placed order becomes a reserving sales order in PazarCloud; a paid order becomes the sale with its payment;
  an abandoned order cancels the sales order.
* The merchant's actions in PazarCloud (cancelling, invoicing, recording a cash-on-delivery payment, recording the
  shipment) update the shop order.

== Installation ==

1. Create the WooCommerce connection in PazarCloud and copy its API key.
2. `wp pazarcloud connect --base-url=<PazarCloud API address>` and paste the key on standard input.

== Changelog ==

= 0.1.1 =
* e-Arşiv internet sale: the GİB payment type now comes from the payment method each gateway is linked to in PazarCloud (with the intermediary's name, or the description for "other"); the plugin no longer guesses it from the gateway, and the `pcwc_internet_sale_payment_method` filter is removed.

= 0.1.0 =
* Development: connection, signed webhooks, order flow.
* Cash on delivery: an order is now completed only when its sale is both paid and shipped. Upgrade note: a cash-on-delivery order that an earlier build completed (on payment alone, or on shipment alone) may return to "Processing" until both are true. Only orders this plugin completed itself are affected; an order you completed by hand is never touched.
* A shipment re-read (a late or repeated event) no longer completes a prepaid order again; a new shipment still does.
