=== YITH Stripe Connect for WooCommerce ===

Contributors: yithemes
Tags: Stripe, Stripe Connect, commissions, e-commerce, WooCommerce, payments, yit, yith, yithemes
Requires at least: 5.3
Tested up to: 5.6
Stable tag: 2.1.11
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html/

Automatized payments with Stripe Connect.

== Description ==

Automatized payments with Stripe Connect.


= Features: =

== Installation ==

**Important**: First of all, you have to download and activate [WooCommerce](https://wordpress.org/plugins/woocommerce) plugin, because without it YITH Event Ticket for WooCommerce cannot work.

1. Unzip the downloaded zip file.
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `YITH Stripe Connect for WooCommerce` from Plugins page.

= 2.1.11 – Released on 19 Ferbuary 2021 =

* New: support for WooCommerce 5.0
* Update: YITH Plugin Framework
* Update: Spanish translation
* Fix: issue when trying to pay order with 0 total
* Dev: added new yith_wcstripe_allow_save_different_cards filter

= 2.1.10 – Released on 13 January 2021 =

* New: support for WooCommerce 4.9
* Update: plugin framework
* Fix: possible fatal error happening in rare cases when processing payment

= 2.1.9 – Released on 18 December 2020 =

* Update: plugin framework
* Tweak: updated various backend descriptions, to match current Stripe Dashboard layout
* Tweak: security improvements for checkout process
* Fix: check intent type before proceeding with payment
* Fix: show currency symbol based on order currency

= 2.1.8 – Released on 01 December 2020 =

* Update: plugin framework
* Update: Stripe PHP library to version 7.67.0
* Fix: usage of test_live boolean property

= 2.1.7 – Released on 01 December 2020 =

* New: support for WooCommerce 4.8
* New: Greek translation
* Update: plugin framework
* Update: Stripe PHP library to version 7.66.0
* Tweak: fixed some typos and added missing text domains
* Tweak: minor code refactoring on multiple files
* Fix: prevent possible fatal error when initializing API Handler
* Fix: prevent possible deadlock when creating gateway instance

= 2.1.6 – Released on 13 November 2020 =

* New: support for WordPress 5.6
* New: support for WooCommerce 4.7
* New: possibility to update plugin via WP-CLI
* New: Direct Charges and Destination Charges can now be used even if order contains more than one commission for the same receiver
* Update: plugin framework
* Update: Stripe PHP library to version 7.62.0
* Tweak: Direct Charges option is now available even if you have YITH WooCommerce Subscription active; option will be ignored if subscription products are added to cart
* Tweak: added note when commission is processed through alternative payment flows
* Tweak: added link to payment on order page
* Fix: save_cards parameter is used as string (yes/no) over the entire plugin
* Fix: direct charges failing because of wrong customer id sent within create_intent API call
* Fix: issue with verify intent, when processing Direct Charge
* Dev: removed deprecated .ready method from scripts
* Dev: added new yith_wcsc_card_code filter
* Dev: added new yith_wcsc_placeholder_card_number filter
* Dev: fixed typo in yith_wcsc_process_cart_item_commissions filter name

= 2.1.5 – Released on 16 October 2020 =

* New: support for WooCommerce 4.6
* Update: plugin framework
* Fix: make sure that my-account url ends with trailing slash, before appending stripe connect endpoint
* Dev: added new filter yith_wcsc_oauth_link_args
* Dev: added new filter yith_wcstripe_connect_transfer_args
* Dev: added new filter yith_wcsc_get_receiver_panel_args

= 2.1.4 – Released on 18 September 2020 =

* New: support for WooCommerce 4.5
* Update: plugin framework
* Update: Stripe PHP library to version 7.52
* Update: API version to 2020-08-27
* Fix: possible issue happening when trying to generate more than one commission from the same order

= 2.1.3 – Released on 18 August 2020 =

* New: support for WordPress 5.5
* New: support for WooCommerce 4.4
* Update: plugin framework
* Tweak: updated ajax handling functions to improve compatibility
* Tweak: perform correct do_action after paying YITH WooCommerce Affiliates commissions, to trigger affiliate email
* Tweak: Improved Integration with YITH WooCommerce Subscription 2.0
* Tweak: reviewed customer creation process
* Tweak: improved ajax update when saving receivers on admin panel
* Tweak: use of uniform transfer groups; added transfer group where missing on transfer creation
* Fix: notice when loading commission panel template on frontend
* Fix: commission not being created for variations
* Fix: wrong usage of $wp global
* Fix: The receivers table is hidden when creating a new product
* Dev: added filter yith_wcsc_receivers_result
* Dev: added postal code field to the Stripe payment
* Dev: Show the WC Stripe notice only for admins

= 2.1.2 – Released on 22 June 2020 =

* Update: plugin framework
* Tweak: added back \YITH_Stripe_Connect_Frontend::stripe_connect_account_page  method as deprecated, to improve compatibility

= 2.1.1 – Released on 19 June 2020 =

* New: support for WooCommerce 4.3-beta
* Update: plugin framework
* Fix: plugin unable to retrieve default gateway since last update


= 2.1.0 – Released on 17 June 2020 =

* New: support for WooCommerce 4.2
* New: support Direct Charges and Destination Charges (only under specific conditions)
* New: added MultiBanco gateway
* Update: Stripe PHP library to version 7.37.1
* Update: plugin framework
* Tweak: unified db update process
* Tweak: avoid executing dbDelta when not required
* Fix: changed currency to uppercase to do correct check of currencies
* Fix: filter by user when exporting from admin side
* Dev: added yith_wcstripe_connect_transfer_metadata filter, specific to transfers metadata
* Dev: added yith_wcsc_meta_box_available_roles filter

= 2.0.4 – Released on 14 March 2020 =

* New: support for WordPress 5.4
* New: support for WooCommerce 4.0
* New: support for API 2020-03-02
* Update: Stripe PHP library to version 7.27.2
* Update: plugin framework
* Update: Dutch language
* Tweak: improved check over WooCommerce existance
* Tweak: idempotency key now is generated basing on order id
* Tweak: code refactor
* Dev: added new function to get charge object
* Dev: added new function to get balance transaction object

= 2.0.3 – Released on 24 December 2019 =

* New: support for WooCommerce 3.9
* Update: plugin framework
* Update: Italian language
* Update: Spanish language
* Update: API version to 2019-12-03
* Updated: Stripe library to 7.14.2
* Tweak: change export action name, to avoid problems when event ticket is installed
* Fix: subscription renew for guest users

= 2.0.2 – Released on 08 November 2019 =

* New: support for WordPress 5.3
* New: support for WooCommerce 3.8
* New: support for 2019-11-05 API
* Update: Plugin framework
* Update: StripePHP library
* Fix: notice when registering failed payment attempt
* Fix: deprecated function called on verify_intent error handling
* Dev: added new parameter to yith_wcsc_create_commission filter

= 2.0.1 – Released on 20 September 2019 =

* Tweak: minified checkout js
* Tweak: reviewed renew_needs_action subject to remove HTML string
* Tweak: moved methods to set card as default and delete card from gateway to main class
* Tweak: changed conditions that triggers renew_needs_action email sending, to be more specific
* Tweak: after registering failed renew attempt, get order again to account for any status change
* Update: Italian language
* Update: Dutch language
* Fix: fixed language files name
* Fix: payment intent missing customer for guest users

= 2.0.0 – Released on 13 September 2019 =

* New: support for SCA-ready payment methods
* New: extended card management, even without YITH WooCommerce Subscription enabled
* New: now you can set up the email sent to customers when the renewal requires authentication (only when used with YITH WooCommerce Subscription)
* New: support for 2019-09-09 API version
* Update: internal plugin framework
* Update: Stripe PHP to version 7.0.2
* Update: Italian language
* Fix: avoiding duplicated connection attempts
* Dev: added new action 'yith_wcsc_after_disconnect_with_stripe' after user disconnect from Stripe
* Dev: filter yith_wcsc_disconnect_from_stripe_button_text and filter yith_wcsc_connect_with_stripe_button_text

= 1.1.8 - Released on 12 August 2019 =

* New: WooCommerce 3.7 support
* Tweak: add maxlenght to expiry date
* Tweak: now permit decimals to commission rate
* Update: internal plugin framework
* Update: Italian language
* Update: minify js files
* Dev: added new param to yith_wcsc_create_commission filter
* Dev: added new hook after connect with stripe action
* Dev: new filter yith_wcsc_args_create_charge
* Dev: added new filter yith_wcsc_commission_value
* Dev: add parameters to the filter yith_wcsc_commission_value

= 1.1.7 - Released on 30 May 2019 =

* Tweak: add no cache headers
* Tweak: improve how to get the CSV file
* Tweak: added ignore_user_abort
* Update: internal plugin framework
* Update: Updated .pot
* Fix: preventing notice when user_id not found in the receiver array
* Fix: warning when creating export CSV
* Fix: Fixed users could get all commissions in csv and pdf files
* Fix: Prevent error of insufficient funds of a card
* Fix: Removed undefined method add_block that generated fatal error with subscription item
* Fix: Fixed subscription renew orders payment issue
* Dev: Added wc-credit-card-form among yith-stripe-connect-js script dependencies, to be sure that it is always loaded at checkout
* Dev: Added new filters 'yith_wcsc_prepare_columns_list' and 'yith_wcsc_prepare_rows_list'

= 1.1.6 - Released on 17 April 2019 =

* Fix: js error preventing card submission

= 1.1.5 - Released on 17 April 2019 =

* New: WooCommerce 3.6 support
* Tweak: removed unused fonts from MPDF library
* Update: internal plugin framework
* Fix: retrieve subscriptions from session when needed
* Fix: js error at checkout possibly causing payment failure
* Dev: added filters yith_wcsc_add_tax_to_commission and yith_wcsc_order_total_with_tax
* Dev: added filter yith_wcsc_account_menu_item

= 1.1.4 - Released on 19 February 2019 =

* Update: Updated plugin FW
* Update: Updated Stripe-PHP lib to revision 6.27
* Update: Updated Dutch translation
* Dev: new filter yith_wcstripe_connect_metadata

= 1.1.3 - Released on 31 December 2018 =

* New: Support WordPress 5.0.2
* Tweak: Allow payments with source when customer already registered one previously
* Update: Updated plugin FW
* Update: Updated Dutch language
* Update: Updated .pot
* Fix: fixed issue with subscriptions
* Fix: Fixed subscription processing with new card
* Fix: Fixed issue with new sources, when purchasing non subscribed products

= 1.1.2 - Released on 25 October 2018 =

* New: WooCommerce 3.5 support
* Tweak: updated plugin framework

= 1.1.1 - Released on 15 October 2018 =

* New: WooCommerce 3.5-rc support
* New: WordPress 4.9.8 support
* Tweak: updated plugin framework
* Update: Italian language
* Update: Dutch language
* Fix: some warning and notice if $order doesn't exist
* Fix: name of american express logo file
* Fix: gateway now works on page "pay order"
* Fix: minified js files
* Dev: added filter yith_wc_stripe_connect_credit_cards_logos_width

= 1.1.0 Released on 30 July 2018 =
* New: Integration with YITH WooCommerce Subscription Premium from v 1.4.6
* Update: Language files
* Update: plugin framework to latest revision

= 1.0.6 Released on 12 June 2018 =

* Dev: yith_wcsc_process_product_commissions to check if process the current product or not
* Dev: yith_wcsc_process_order_commissions to check if process the current order or not

= 1.0.5 Released on 11 June 2018 =

* New French translation (thanks to Josselyn Jayant)
* Fix: Commissions with notes above 320 characters are not saved
* Fix: Prevent fatal error on unserialize function

= 1.0.4 Released on 04 June 2018 =

* Update: Spanish language

* New: YITH WooCommerce Multi Vendor (3.0.0 +) support (admin can now pay vendors' commissions using Stripe Connect)
* Dev: added yith_wcsc_payment_complete action to add charge_id in stripe transfers

= 1.0.3 Released on 28 May 2018 =

New: WooCommerce 3.4 compatibility
New: WordPress 4.9.6 compatibility
New: GDPR compliance
New: Spanish language
New: Italian language
New: Dutch language
New: added option to show Name on Card field at checkout
Tweak: now gateway works on pay page too
Tweak: added transfer group to charges
Update: plugin framework to latest revision
Dev: added filter 'yith_wcsc_schedule_timestamp_change_format'
Dev: added filter 'yith_wc_stripe_connect_credit_cards_logos'
Dev: added filter 'yith_wcsc_connect_account_template_args' to let third party code filter the connect template args
Dev: added filter 'yith_wcsc_account_page_script_data' to let third party code filter data in localize scripts for disconnection
Dev: added filter 'yith_wcsc_order_button_text'

= 1.0.2 Released on 31 January 2018 =

New: Support to YITH Plugin Framework 3.0.11
Fix: Redirect URI messages.
Fix: Backbone modal window, now can display for all templates.

= 1.0.1 Released on 30 January 2018 =

Fix: Issue with Endpoint.
New: Support to WooCommerce 3.3.0 RC2

= 1.0.0 Released on 29 January 2018 =

* Initial release

