=== Stitch Express ===
Contributors: @stitchexpress
Tags: woocommerce, card, payments, south africa, apple pay, google pay, stitch, express, stitch express
Tested up to: 6.9
Stable tag: 1.7.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Stitch Express is the simplest way for your business to get paid securely online with superior customer support at every step.

== What is Stitch Express? ==
Stitch Express is a payment gateway that makes online payments better. Use Stitch Express to accept payments on your WooCommerce store reliably and securely with a full suite of High-converting payment methods:

* Apple Pay
* Google Pay
* Stitch Pay Later
* Capitec Pay
* Payments with any Mastercard or Visa card

Stitch Express is powered by Stitch, who processes payments for South Africa’s biggest enterprises like Bash and the iStore.
Stitch Express leverages this enterprise-grade technology and makes it easier to use for Woocommerce stores.

= Why Stitch Express? =
* Human support: You’ll always talk to a person and receive personalized support
* Competitive pricing: Keeping your costs simple and low
* Secure, reliable payments: Powered by Stitch and PCI Level 1 Compliant
* Get started quickly: Super fast and completely digital onboarding

= Pricing =
Pricing is straightforward with Stitch Express.

We charge:

* 2.95% on local, SA card transactions
* 3.4% on International card transactions
* 5.7% on Stitch Pay Later transactions
* 2% on Capitec Pay transactions*

For customers who transact more than R100K per month, we offer custom pricing. Please contact express-support@stitch.money to discuss this.

*All pricing is VAT exclusive

= Sign Up =
To use the Stitch Express plugin you’ll need an active Stitch Express account. It is super simple and completely FREE to set it up. Follow the easy steps below:

* Create your Stitch Express account by clicking this [link](https://express.stitch.money/signup)
* Tell us a bit about your business
* Verify your account by uploading some documents, which you can see [here](https://help.wigwag.me/en/articles/8170651-what-documents-do-i-need-to-get-started)
* You’re all set - checkout the installation guide to get set up on WooCommerce

== Installation ==
= Instructions =
Before you get going make sure you’ve [signed up](https://express.stitch.money/signup) for a Stitch Express account and get it verified.
Setting Stitch Express up on your website is very simple, follow the steps below and you’ll be getting paid in no time.

* Log in to your WordPress site
* Using the Menu navigate to Plugins > Add New Plugin
* Use the Search Bar to search for “Stitch Express”
* Click through to Stitch Express and hit the “Install and activate” button
* Once the Plugin has completed installing, click “Manage Plugin” to go to your Installed Plugins page
* Scroll down the list to Stitch Express and click through the Stitch Express Plugin settings page
* Go to your Stitch Express Dashboard and copy your Client ID and Secret
* While here also add the below redirect URL
* [YourSiteURL]/index.php
* Paste your Client ID and Secret in the appropriate fields in Stitch Express Plugin settings page
* Ensure you Save the setting and test it on your site. You’re all set!

= Support =
For any Support Queries please email us at jayde@wigwag.me and we’ll help you every step of the way.

== Frequently Asked Questions ==
= What do I need to use this plugin? =
You need these things to start accepting card payments via Stitch Express on your Wordpress site:

1. Have a verified Stitch Express account
2. Your Client Secret and Client Token: these can be found on your account page on the Stitch Express website
3. Add a redirect URL for your site: On the account page add a redirect URL containing the full URL of your website and `/index.php` . E.g. `https://www.mystore.com/index.php`

== Screenshots ==
1. Payment method (with blocks support)
2. Payment method
3. The hosted payment flow

== Changelog ==
= 1.7.2 =
* Rename Stitch BNPL to Stitch Pay Later

= 1.7.1 =
* Fix guest checkout redirect on cancelled/failed payments sending users to a login-gated page.
* Fix duplicate order confirmation emails caused by callback/webhook race condition.

= 1.7.0 =
* Allow merchants to customise the payment option title and subtext shown on the checkout page.

= 1.6.0 =
* Send the order currency to Stitch Express when creating a payment link so the platform can validate it server-side.

= 1.5.0 =
* Add redirect URL automatically to Stitch Express when client credentials are updated.

= 1.4.2 =
* Update BNPL widget copy to align with marketing

= 1.4.1 =
* Add notification banner to settings page

= 1.4.0 =
* Updates to plugin admin page

= 1.3.9 =
* Stitch BNPL Widget fixes

= 1.3.8 =
* Improve user redirect experience

= 1.3.7 =
* Minor fixes and improvements

= 1.3.6 =
* Add BNPL Product Widget with customizable settings
* Support for automatic display and shortcode placement
* Update BNPL pricing to 5.7%

= 1.3.5 =
* Further webhook improvements

= 1.3.4 =
* Webhook improvements

= 1.3.3 =
* Replace Happy Pay with Stitch BNPL

= 1.3.2 =
* Minor improvements

= 1.3.1 =
* Minor improvements

= 1.3.0 =
* Add refunds

= 1.2.1 =
* Add CapitecPay, Apple Pay & Google Pay

= 1.2.0 =
* Add Happy Pay

= 1.1.17 =
* Include missing image

= 1.1.16 =
* New blocks builds

= 1.1.15 =
* Improve gateway logo

= 1.1.14 =
* Change payment gateway background to transparent

= 1.1.13 =
* New payment method icon

= 1.1.12 =
* Improve payment method copy for non-blocks sites

= 1.1.11 =
* Improve payment method copy

= 1.1.10 =
* Improve checkout UI

= 1.1.9 =
* Improve documentation

= 1.1.8 =
* Fix minimum required PHP version

= 1.1.7 =
* Internal improvements

= 1.1.6 =
* Explain how to set your redirect URL on the settings page

= 1.1.5 =
* Fix typo in documentation

= 1.1.4 =
* Declare WooCommerce HPOS compatibility

= 1.1.3 =
* Add "skip checkout" option

= 1.1.2 =
* Declare WooCommerce blocks compatibility

= 1.1.1 =
* Improved naming to avoid conflicts
* Switched to using WP HTTP API instead of curl
* Fix missing assets

= 1.1.0 =
* Added blocks support

= 1.0.0 =
* Initial release

== Upgrade Notice ==
= 1.7.2 = 
* Rename Stitch BNPL to Stitch Pay Later

= 1.7.1 =
* Fixes guest checkout redirect on payment failure and duplicate order emails.

= 1.7.0 =
* Customise the payment option title and subtext on the checkout page from the plugin settings.

= 1.6.0 =
* Order currency is now sent to Stitch Express for server-side validation.

= 1.5.0 =
* Automated Redirect URL save to Stitch Express

= 1.4.2 =
* Update BNPL widget copy to align with marketing

= 1.4.1 =
* Add notification banner to settings page

= 1.4.0 =
* Updates to plugin admin page

= 1.3.9 =
* Stitch BNPL Widget fixes

= 1.3.8 =
* Improve user redirect experience

= 1.3.7 =
* Minor fixes and improvements

= 1.3.6 =
* New BNPL Product Widget feature - Show "Buy Now Pay Later" messaging on product pages

= 1.3.5 =
* Webhook improvements

= 1.3.4 =
* Improved webhook performance and reliability

= 1.3.3 =
* Replace Happy Pay with Stitch BNPL

= 1.3.2 =
* Minor improvements

= 1.3.1 =
* Minor improvements

= 1.3.0 =
* Add refunds

= 1.2.1 =
* Add CapitecPay, Apple Pay & Google Pay

= 1.2.0 =
* Add Happy Pay

= 1.1.17 =
* Include missing image

= 1.1.16 =
* New blocks builds

= 1.1.15 =
* Improve gateway logo

= 1.1.14 =
* Change payment gateway background to transparent

= 1.1.13 =
* New payment method icon

= 1.1.12 =
* Improve payment method copy for non-blocks sites

= 1.1.11 =
* Improve payment method copy

= 1.1.10 =
* Improve checkout UI

= 1.1.9 =
* Improve documentation

= 1.1.8 =
* Fix minimum required PHP version

= 1.1.7 =
* Internal improvements

= 1.1.6 =
* Explain how to set your redirect URL on the settings page

= 1.1.5 =
* Fix typo in documentation

= 1.1.4 =
* Declare WooCommerce HPOS compatibility

= 1.1.3 =
* Add "skip checkout" option

= 1.1.2 =
* Declare WooCommerce blocks compatibility

= 1.1.1 =
* Improved naming to avoid conflicts
* Switched to using WP HTTP API instead of curl
* Fix missing assets

= 1.1.0 =
* Added blocks support

= 1.0.0 =
* Initial release
