| 开发者 |
wcbeginner
subratamal moumitaadak standalonetech |
|---|---|
| 更新时间 | 2026年5月5日 08:58 |
| 捐献地址: | 去捐款 |
| PHP版本: | 6.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
Wallet payment acts as a native WooCommerce gateway. Customers with sufficient balance can select "Wallet" at checkout to pay for their order instantly.
Yes! If enabled in settings, customers can use their wallet balance to pay for a portion of the order and cover the remainder with another gateway like Stripe or PayPal.
Cashback is triggered by order status changes. You can configure which status (e.g., 'Completed' or 'Processing') triggers the reward in the plugin settings.
Ensure the Wallet gateway is enabled in WooCommerce > Settings > Payments. Also, check if "Hide if empty" is enabled in TeraWallet settings if the user has a zero balance.
You can ask for help in the WordPress Plugin Forum or email us at support@standalonetech.com.
You can find the documentation for our Wallet REST API here.
useSettings for managing settings state, loading, and saving.
– New:- Added a field types registry to manage different input types dynamically.
– New:- Introduced CSS styles for the new settings interface, ensuring compatibility with light and dark themes.
– New:- Integrated REST API calls for fetching and saving settings data.
– New:- Multi-currency provider abstraction with first-class adapters for WOOCS/FOX, WPML/WCML, CURCY, Aelia, and YayCurrency, plus a generic fallback for any other plugin that filters woocommerce_currency.
– New:- Per-row currency audit columns (original_amount, original_currency, original_rate, mode) and a (user_id, currency, deleted) index on the wallet transactions table for accurate historical reporting.
– New:- Additive REST surface: /terawallet/v1/me/balance now returns base_currency, base_amount, mode, and a balances[] array; /me/transfer and /me/topup accept an optional currency argument; /wc/v3/wallet exposes the new audit fields and a currency query filter.
– New:- Admin endpoint GET /wc/v3/wallet/multicurrency and a Currency Mode panel in the React settings app that surfaces the active provider, base/active currencies, and the effective ledger mode.
– Security:- Hardened the debit balance gate in recode_transaction() to read the raw ledger SUM directly instead of the filtered get_wallet_balance() value. Closes an overdraft window where any third-party hook on woo_wallet_current_balance (credit-expiry, redeemed-totals plugins) could inflate the perceived balance and let a user debit into negative territory.
– Security:- Wrapped wallet_credit_purchase() in a per-order GET_LOCK with re-fetch inside the lock so duplicate gateway IPN deliveries (PayPal/Stripe webhook retries) can no longer both pass the _wc_wallet_purchase_credited meta guard and double-credit the wallet.
– Fix:- Partial-payment debit now records the order currency, matching the cancellation refund — no more debit/refund pairs landing in different currencies.
– Fix:- Cashback debit on order cancellation now passes the order currency, eliminating a second source of mixed-currency rows.
– Fix:- Mode-aware balance reads — single-base sites continue to sum normalized rows; per-currency sites filter by the active currency, so a user with EUR and USD activity no longer sees an undefined-currency total.
– Tweak:- Top-up orders honour the requested currency end-to-end: WooWallet_Topup_Service::create_order() calls $order->set_currency() before totals are calculated, so the gateway charges in the requested currency.
– Tweak:- woo_wallet_wc_price_args() is now mode-aware; in per-currency mode it defaults to the active provider's currency while explicit per-row currency overrides still win.
– Tweak:- Database migration 1.6.0 is idempotent — fresh installs and upgrades both land on the new schema; pre-1.6 rows keep working with original_* NULL and mode=0.
v1.5.18 (April 23, 2026)
– New:- Added Go Pro admin page showcasing Pro features with a Free vs Pro comparison and license activation UI, replacing the legacy Extensions page.
– Security:- Implement idempotency key for wallet transfers to prevent duplicate submissions and TOCTOU race condition vulnerabilities.
– Tweak:- Enhanced partial payment tooltip to provide a clearer breakdown of amounts debited from the wallet and paid via other gateways.
– Tweak:- Enhance database schema and optimize wallet transaction queries for improved performance.
– Tweak:- Improved CSV exporter for wallet transactions with better query handling.
– Tweak:- Update Pro upgrade URLs with UTM parameters for better tracking.
v1.5.17 (March 12, 2026)
– Fix:- Remove space in limit parameter for wallet transactions query.
– Fix:- Simplify wallet transactions query preparation by removing redundant parameter checks.
v1.5.16 (February 12, 2026)
– Tweak:- Enhance SQL query construction for wallet transactions with improved safety and readability.
– Tweak:- Remove return type declarations for compatibility and enhance permission checks in content handling.
– Tweak:- Update version retrieval for script and style assets.
– Tweak:- Enhance partial payment validation in frontend.
– Tweak:- Add checks for zero currency rates in multi-currency conversion methods
– Tweak:- Database Lock to serialize requests for the same user.
– Tweak:- Adjust wallet transfer logic to debit before crediting, ensuring proper transaction flow.
v1.5.15 (December 10, 2025)
– New:- User wallet dashboard design.
– Tweak:- Replace thickbox with wc backbone modal.
– Fix:- Removed moment js and used WordPress core momentjs Library.
– Added:- WordPress 6.9 support.
v1.5.14 (October 08, 2025)
– Fix:- RTL CSS issue.
v1.5.13 (August 21, 2025)
– Fix:- PHP warning.
v1.5.12 (August 21, 2025)
– New:- Date range filter in wallet transaction page.
– New:- Settings panel design.
– New:- Now site admin can enable/disable wallet topup.
– Fix:- Partial payment issue.
– Fix:- Cashback display issue on cart and checkout page.
v1.5.11 ( May 08, 2025)
– Fix:- Text Domain loading issue.
v1.5.10 ( December 12, 2024)
– Fix:- Refund issue.