=== Cards - Flik Payments ===
Contributors: flik
Tags: woocommerce, payment gateway, pinch payments, credit card, subscriptions
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Take credit card payments in WooCommerce via Flik, with block checkout and WooCommerce Subscriptions support.

== Description ==

This plugin adds Pinch Payments (getpinch.com.au) as a WooCommerce payment gateway.

* Credit card payments via Pinch's realtime payments API (AUD).
* PCI-friendly: card details are tokenized in the browser with Pinch CaptureJS and never touch your server.
* Subscriptions vault the card with Pinch (payers + payment sources) automatically; customer-initiated card saving is disabled and can only be re-enabled programmatically via the `flik_pinch_saved_cards_enabled` filter.
* Works with both the classic (shortcode) checkout and the WooCommerce Blocks checkout.
* WooCommerce Subscriptions: renewal payments are charged automatically against the saved payment source, including payment-method changes and failed-payment recovery.
* Full and partial refunds from the WooCommerce order screen (Pinch processes refunds asynchronously).
* Test mode against the Pinch test environment, with debug logging to WooCommerce > Status > Logs.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` and activate it (WooCommerce must be active).
2. Go to WooCommerce > Settings > Payments > Cards - Flik Payments.
3. Enter your Application ID and Secret Key from the Flik portal under API Keys > Card Payments, plus your test and live publishable keys.
4. Enable test mode and place a test order using a Pinch test card number.
5. When ready, disable test mode.

== Frequently Asked Questions ==

= Which currencies are supported? =

AUD by default. The list can be adjusted with the `flik_pinch_supported_currencies` filter.

= Is card data stored on my site? =

No. Cards are tokenized in the browser by Pinch CaptureJS; the site only ever stores Pinch payer/source references (pyr_… / src_…).

== Changelog ==

= 1.0.0 =
* Initial release: realtime credit card payments, blocks checkout, subscriptions, refunds, automatic updates.
