=== Wallet for WooCommerce ===
Contributors: standalonetech, subratamal, moumitaadak
Tags: terawallet, woocommerce wallet, digital wallet, cashback, partial payment
Requires PHP: 7.4
Requires at least: 6.4
Tested up to: 6.7
Stable tag: 1.5.10
Donate link: https://donate.stripe.com/fZeaFydax6NNfjWeVc
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

A extendable WooCommerce wallet system which support payment, partial payment, cashback reward program as well as refund for your WooCommerce store.

== Description ==

= Maximize Convenience and Savings: Wallet for WooCommerce Facilitates Quick Funds, Cashback, Refunds, and Partial Payments! =

TeraWallet is an advanced digital wallet and credit system specially designed for WooCommerce. It empowers you to offer your customers a seamless payment experience by allowing them to deposit funds into their accounts, transfer money to other users, and make purchases using their wallet balance.

Beyond its core wallet functionality, TeraWallet introduces an enticing cashback rewards system that enables you to provide discounts and rewards to your customers based on their purchases. You have the flexibility to set cashback rates for specific products or categories, and even offer bonus cashback during promotions or special events.

TeraWallet puts you in control with extensive customization options. By implementing TeraWallet, you can effortlessly enhance customer loyalty and drive repeat purchases through the attractive cashback rewards. Discover the power of TeraWallet today and optimize your WooCommerce payment system for maximum efficiency!

[youtube https://www.youtube.com/watch?v=Fnpp8qxAWBw]

= Use case of TeraWallet =
With this plugin, your customers no longer need to repeatedly enter payment details. They can conveniently log in and use their wallet funds to make purchases. Additionally, customers can earn cashback by utilizing their wallet balance. The admin also has the ability to process refunds directly to the customer's wallet.

= Features of TeraWallet =
- Wallet system works just like any other payment method.
- Set wallet system payment method title for the front-end.
- The customers can use various payment methods to add money.
- The admin can process refund using the wallet money.
- Customers will earn cashback according to cart price, product or product category wise.
- Customers can made partial payment.
- Set cashback amount calculation using fixed or percent method.
- Admin can export users wallet transactions.
- Admin can setup low wallet balance notification email.
- Admin can lock / unlock any user wallet.
- From the backend, the admin can view the transaction history.
- Customers receive notification emails for every wallet transaction.
- The admin can adjust the wallet amount of any customer from the backend.
- Users can transfer wallet amount to other user.
- Shortcode `woo-wallet` which will display user wallet page.
- Built with a REST API
- Convert WooCommerce coupon into cashback.
- Support WordPress Multisite Network
- Support multiple languages translations.
- Support [CURCY – Multi Currency for WooCommerce](https://wordpress.org/plugins/woo-multi-currency/)
- Support [FOX – Currency Switcher Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-currency-switcher/)
- Support [WooCommerce Multilingual & Multicurrency with WPML](https://wpml.org/)
- Support WooCommerce block checkout.
- Support WooCommerce Subscriptions.
- Support WooCommerce Multivendor Marketplace by WC Lovers.
- Support WC Marketplace.
- Support Dokan Multivendor Marketplace.

> Experience the future of payments by trying our [demo](https://demo.standalonetech.com/).

= Workflow of TeraWallet =
After the plugin installation, the admin needs to do the payment method configuration. Set the title and select allowed payments for adding money.
Now for enable cashback rules, navigate to TeraWallet > Settings >  Credit. Now setup cashback rule according to your requirement. If cashback rule set to product wise then admin will have an option to add cashback rule for each product.
On the front-end, the customers can log in to the store and go to wallet page from My Account. Enter the amount to add and then complete the checkout process just like any other product purchase.

= Premium extensions =

- [Wallet Coupons](https://standalonetech.com/product/wallet-coupons/)
- [Wallet Withdrawal](https://standalonetech.com/product/wallet-withdrawal/)
- [Wallet Importer](https://standalonetech.com/product/wallet-importer/)
- [Wallet AffiliateWP](https://standalonetech.com/product/wallet-affiliatewp/)

= Translator Contributors =
- [#fa_IR](https://translate.wordpress.org/locale/fa/default/wp-plugins/woo-wallet) - [@rahimvaziri](https://wordpress.org/support/users/rahimvaziri/)
- [#es_ES](https://translate.wordpress.org/locale/es/default/wp-plugins/woo-wallet) - [@chipweb](https://wordpress.org/support/users/chipweb/)

== Installation ==

= Minimum Requirements =

* PHP 7.4 or greater is required (PHP 8.0 or greater is recommended)
* MySQL 5.6 or greater, OR MariaDB version 10.1 or greater, is required
* WordPress 6.0 or greater is required
* WooCommerce 7.2 or greater is required

= Automatic installation =

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of WooCommerce Wallet Payment, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Wallet Payment” and click Search Plugins. Once you’ve found our WooCommerce Wallet Payment plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

= Manual installation =

The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

= Updating =

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

If on the off-chance you do encounter issues with the wallet endpoints pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal.

== Frequently Asked Questions ==

= Does this plugin work with newest WP version and also older versions? =

Yes, this plugin works fine with WordPress 6.5, It is also compatible for older WordPress versions upto 6.0.

= Up to which version of WooCommerce this plugin compatible with? =

This plugin is compatible with the latest version of WooCommerce.

= Will WooCommerce Wallet work with WordPress multisite network? =

Yes, WooCommerce Wallet plugin is fully compatible with Wordpress multisite.

= Where can I get support or talk to other users? =

If you get stuck, you can ask for help in the [WordPress Plugin Forum](https://wordpress.org/support/plugin/woo-wallet) or just email us at support@standalonetech.com.

= Where can I report bugs or contribute to the project? =

Bugs can be reported either in our support forum or preferably on the [GitHub repository](https://github.com/malsubrata/woo-wallet/issues).

= Where can I find the REST API documentation? =

You can find the documentation of our [Wallet REST API Docs](https://github.com/malsubrata/woo-wallet/wiki/API-V3).

= This plugin is awesome! Can I contribute? =

Yes you can! Join in on our [GitHub repository](https://github.com/malsubrata/woo-wallet) :)

== Screenshots ==

1. User wallet page.
2. Transfer wallet balance.
3. View transaction details.
4. All user balance details.
5. Admin view transaction details.
6. Admin adjust wallet balance.
7. WooCommerce wallet payment gateway.
8. WooCommerce refund.
9. Wallet actions.

== Changelog ==
=v1.5.10 ( December 12, 2024) =
- **Fix:-** Refund issue.

=v1.5.9 ( November 26, 2024) =
- **Fix:-** Plugin Localisation issue for WP 6.7.

=v1.5.8 ( November 26, 2024) =
- **New:-** User role wise cashback restriction.
- **Fix:-** WooCommerce analytics and dashboard reports.
- **Fix:-** Wallet amount display on cart and checkout block.

=v1.5.7 ( September 02, 2024) =
- **Fix:-** Broken wallet page link on user page.
- **Fix:-** Security issues.
- **Fix:-** Wallet top-up amount widget in admin panel.

=v1.5.6 ( July 20, 2024) =
- **Fix:-** Permalinks issues.
- **Fix:-** Partial payment issues.

= v1.5.5 ( July 11, 2024 ) =
- **Fix:-** Security issues.
- **Fix:-** Permalinks issues.

= v1.5.4 ( May 10, 2024 ) =
- **Fix:-** Multiple refund of partial payment amount when order cancelled.
- **Fix:-** Rewrite rule issues for wallet endpoints.

= v1.5.3 ( May 02, 2024 ) =
- **Fix:-** Partial payment option not showing at old WooCommerce checkout page issue.

= v1.5.2 ( May 02, 2024 ) =
- **Added:-** Support for WooCommerce HPOS.
- **Added:-** Support for WooCommerce block cart & checkout.
- **Added:-** Partial payment option for WooCommerce block cart & checkout.
- **New:-** Now customer can enter amount they want to redeem at cart & checkout page.
- **Fix:-** Conflict with WooCommerce Square plugin.
- **Fix:-** Partial payment amount not debited issue for WooCommerce block checkout.
- **Fix:-** Coupon cashback issue for WooCommerce block checkout.

= 1.5.1 - 2024-03-20 =
* Added - Escaping functions for rendering html content.

= 1.5.0 - 2024-03-09 =
* Fix - Vulnerability: Cross Site Scripting (XSS)

= 1.4.11 - 2024-03-01 =
* Fix - Compatibility issues with PHP 8.1
* Fix - Missing Authorization to Authenticated (Subscriber+) User Email Export

= 1.4.10 - 2023-11-23 =
* New - Added WooCommerce Multilingual & Multicurrency with WPML plugin support.
* Fix - Compatibility issue with Dokan 3.8
* Fix - PHP issues

= 1.4.9 - 2023-08-17 =
* New - Added sell your content action ( Using this action you can sell your site content using wallet balance).
* New - Export user wallet balance ( Now site admin also export only user balance of the website in CSV file).
* Fix - Compatibility issue with digits plugin.
* Fix - Wallet transactions details table.
* Add - Support for WordPress 6.3 and WooCommerce 8.0

= 1.4.8 - 2023-06-22 =
* New - Redesign wallet admin panel.
* New - Added support for WooCommerce block checkout.
* New - Added support for FOX – Currency Switcher Professional for WooCommerce
* Fix - PHP 8.2 issues.

= 1.4.7 - 2023-04-05 =
* Fix - Refund issue.
* Fix - WooCommerce add to cart notice.
* Added - WP 6.2 support.

= 1.4.6 - 2023-01-19 =
* Fix - Duplicate order issue and negative wallet balance.
* Fix - Partial payment issue for draft orders.

= 1.4.5 - 2022-12-24 =
* Add - Hooks in referral action.
* Fix - Transaction exporter.

= 1.4.4 - 2022-11-14 =
* Fix - Security issue on the function lock_unlock_terawallet.

= 1.4.3 - 2022-11-11 =
* Fix - Datatable ajax issue.

= 1.4.2 - 2022-11-11 =
* Fix - Mini wallet nav menu location.

= 1.4.1 - 2022-11-11 =
* Fix - Fix Cannot uncheck checkbox issue in plugin settings page.

= 1.4.0 - 2022-11-4 =
* Fix - Plugin CSRF issue ( Thanks Muhammad Daffa ).
* Add - Compatibility with WP 6.1

[See changelog for all versions](https://raw.githubusercontent.com/malsubrata/woo-wallet/master/changelog.txt).

== Upgrade Notice ==

= 1.3 =