Changeset 3813522
- Timestamp:
- 11/20/2026 11:08:10 AM (35 hours ago)
- Location:
- vouchercart/trunk
- Files:
-
- 4 edited
-
app/Controllers/CouponsController.php (modified) (2 diffs)
-
package.json (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
vouchercart.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vouchercart/trunk/app/Controllers/CouponsController.php
r3704980 r3813522 99 99 * ponytail: two orders inside the same sync window can still overspend the balance 100 100 * once. Hold the usage at cart time if that shows up in practice. 101 * 102 * A voucher sold before the store was connected has no coupon to update, so a miss is 103 * answered like the other syncs: VoucherCart fails the whole redemption job on a 4xx. 101 104 */ 102 105 public function updateAmount(WP_REST_Request $request) … … 105 108 106 109 if ($coupon instanceof WP_Error) { 107 return $coupon;110 return rest_ensure_response([]); 108 111 } 109 112 -
vouchercart/trunk/package.json
r3808695 r3813522 1 1 { 2 2 "name": "vouchercart-wordpress-plugin", 3 "version": "1.1. 0",3 "version": "1.1.1", 4 4 "author": "Dominik Nowak <dominik.nowak@vouchercart.com>", 5 5 "main": "index.js", -
vouchercart/trunk/readme.txt
r3808695 r3813522 4 4 Requires at least: 6.5 5 5 Tested up to: 7.1 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 Requires PHP: 8.1 8 8 License: GPLv2 or later … … 92 92 == Changelog == 93 93 94 = 1.1.1 = 95 96 - Updating the balance of a voucher that has no coupon in the store, such as one sold before the store was connected, no longer fails the redemption or its cancellation in VoucherCart. 97 94 98 = 1.1.0 = 95 99 … … 152 156 == Upgrade Notice == 153 157 158 = 1.1.1 = 159 Stops balance updates for vouchers without a coupon from failing in VoucherCart. Recommended for all sites. 160 154 161 = 1.1.0 = 155 162 Vouchers are redeemed only once an order is paid, and given back when it fails or is refunded. Recommended for all sites. -
vouchercart/trunk/vouchercart.php
r3808695 r3813522 4 4 * Plugin Name: VoucherCart 5 5 * Description: Integration plugin for VoucherCart 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Requires at least: 6.5 8 8 * Requires PHP: 8.1
Note:
See TracChangeset
for help on using the changeset viewer.