=== Transferencia Chile for WooCommerce ===
Contributors: craftart
Tags: woocommerce, payment gateway, bank transfer, chile, payment
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.13
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a Chile-focused bank transfer payment gateway for WooCommerce.

== Description ==

Transferencia Chile for WooCommerce adds a payment method called Transferencia Bancaria Chile for WooCommerce stores that need to show Chilean bank transfer details during checkout and after purchase.

Configurable fields include:

* Bank name
* Account type
* Account number
* Account holder name or business name
* Chilean RUT
* Receipt email address
* Receipt WhatsApp number
* Customer instructions and extra notes
* Receipt buttons for WhatsApp and email with a prefilled message

The payment details can be displayed in:

* Classic checkout
* Checkout Blocks
* Order received page
* Customer order details page
* WooCommerce emails

This gateway does not process online payments automatically. Orders are created with the configured status so store owners can manually validate the bank transfer.

== Installation ==

1. Upload the ZIP file from Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Go to WooCommerce > Settings > Payments.
4. Enable Transferencia Bancaria Chile.
5. Open the gateway settings and enter your bank transfer details.

== Frequently Asked Questions ==

= Does this plugin confirm transfers automatically? =

No. The plugin only displays bank details and receipt contact buttons. The store owner must validate the transfer manually.

= Does it support Chilean bank account fields? =

Yes. It includes Chile-focused fields such as bank name, account type, account number, account holder, RUT, receipt email, and WhatsApp.

== Changelog ==

= 1.1.13 =
* Adds CraftArt Suite integration with a clean Suite page and matching fallback screen.

= 1.1.11 =
* Removes the optional Author URI header to avoid review URL timeout false positives and keeps the WooCommerce dependency header.

= 1.1.9 =
* Renames the plugin package, main file, readme title, and text domain to Transferencia Chile for WooCommerce.
* Keeps the internal payment method ID unchanged to preserve existing gateway settings.

= 1.1.7 =
* Adds the languages directory referenced by the Domain Path plugin header to satisfy WordPress Plugin Check.

= 1.1.6 =
* Updates the Tested up to readme header to WordPress 6.9.
* Bumps the plugin version for a clean release package.

= 1.1.5 =
* Adds the GPL-compatible License header to the main plugin file.
* Adds the Tested up to readme header.
* Updates the readme short description and description to standard English for WordPress.org checks.
* Adds a translators comment for the order number placeholder.
* Escapes generated payment block output with a dedicated wp_kses() allowlist.

= 1.1.4 =
* Fixes PHP 8.2+ and PHP 8.4 deprecation notices caused by dynamic properties.
* Improves asset loading compatibility on checkout, order received, and customer order pages.
* Normalizes internal option values to avoid null-related notices in empty configurations.

= 1.1.3 =
* Fixes a fatal error on My Account > View order by adding the view_order_page callback.
* Avoids duplicating the transfer details block on the order received page.

= 1.1.2 =
* Forces white button text inside email receipt buttons using inline styles compatible with major email clients.

= 1.1.1 =
* Fixes the prefilled receipt message to display a clean total without HTML entities.
* Keeps real line breaks in WhatsApp and email messages.

= 1.1.0 =
* Adds buttons to send the transfer receipt by WhatsApp and email.
* Adds a prefilled message with the order number, total, and customer name.
* Adds a new setting to enable or disable receipt buttons.

= 1.0.0 =
* Initial release.
