Plugin Directory

Changeset 3813522


Ignore:
Timestamp:
11/20/2026 11:08:10 AM (35 hours ago)
Author:
vouchercartltd
Message:

Update trunk to 1.1.1 (40cc0f56f3067e88f3ec730842726c8d60052878)

Location:
vouchercart/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • vouchercart/trunk/app/Controllers/CouponsController.php

    r3704980 r3813522  
    9999     * ponytail: two orders inside the same sync window can still overspend the balance
    100100     * 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.
    101104     */
    102105    public function updateAmount(WP_REST_Request $request)
    … …  
    105108
    106109        if ($coupon instanceof WP_Error) {
    107             return $coupon;
     110            return rest_ensure_response([]);
    108111        }
    109112
  • vouchercart/trunk/package.json

    r3808695 r3813522  
    11{
    22  "name": "vouchercart-wordpress-plugin",
    3   "version": "1.1.0",
     3  "version": "1.1.1",
    44  "author": "Dominik Nowak <dominik.nowak@vouchercart.com>",
    55  "main": "index.js",
  • vouchercart/trunk/readme.txt

    r3808695 r3813522  
    44Requires at least: 6.5
    55Tested up to: 7.1
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77Requires PHP: 8.1
    88License: GPLv2 or later
    … …  
    9292== Changelog ==
    9393
     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
    9498= 1.1.0 =
    9599
    … …  
    152156== Upgrade Notice ==
    153157
     158= 1.1.1 =
     159Stops balance updates for vouchers without a coupon from failing in VoucherCart. Recommended for all sites.
     160
    154161= 1.1.0 =
    155162Vouchers 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  
    44 * Plugin Name:       VoucherCart
    55 * Description:       Integration plugin for VoucherCart
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Requires at least: 6.5
    88 * Requires PHP:      8.1
Note: See TracChangeset for help on using the changeset viewer.