Skip to content

Releases: verbb/gift-voucher

2.5.5

25 Nov 20:51
Compare
Choose a tag to compare

Fixed

  • Ensure critical errors are logged during the order complete event.
  • Fix critical errors preventing orders from completing correctly.

2.5.4

06 Nov 22:45
Compare
Choose a tag to compare

Fixed

  • Fix potential error with isVoucher and line item purchasables.

2.5.3

06 Nov 04:16
Compare
Choose a tag to compare

Added

  • Add support to apply gift voucher from the control panel, when editing an incomplete order.
  • Add ability to attach gift voucher PDFs to Commerce emails.

Fixed

  • Fix an error when no code is found when applying voucher codes.

2.5.2

08 Oct 03:51
Compare
Choose a tag to compare

Changed

  • Custom fields are no longer serialized in the snapshot of a voucher. Please use EVENT_AFTER_CAPTURE_VOUCHER_SNAPSHOT and EVENT_BEFORE_CAPTURE_VOUCHER_SNAPSHOT events to opt-in any custom fields you want serialized in the snapshot. This follows Commerce's behaviour.

Fixed

  • Fix incorrectly serializing Super Table queries when taking a snapshot of Gift Vouchers when adding to the cart.
  • Fix EVENT_AFTER_CAPTURE_VOUCHER_SNAPSHOT event not actually doing much.
  • Prevent code field layout ID from being creating multiple times when saving plugin settings.

2.4.6

23 Sep 11:42
Compare
Choose a tag to compare

Fixed

  • Fix error when checking out, due to to project config containing potentially incorrect fieldLayoutId values for codes.

2.4.5

23 Sep 11:17
Compare
Choose a tag to compare

Fixed

  • Prevent code field layout ID from being creating multiple times when saving plugin settings.

2.5.1

17 Sep 15:06
Compare
Choose a tag to compare

Fixed

  • Fix a potential security vulnerability where the last-created voucher could be redeemed by any user.
  • Replace hard coded currency with order currency. (thanks @yingban).

2.4.4

17 Sep 15:15
Compare
Choose a tag to compare

Fixed

  • Fix a potential security vulnerability where the last-created voucher could be redeemed by any user.

2.1.3

17 Sep 15:15
Compare
Choose a tag to compare

Fixed

  • Fix a potential security vulnerability where the last-created voucher could be redeemed by any user.

2.5.0

31 Aug 12:24
Compare
Choose a tag to compare

Added

  • Add support for Craft 3.5 field designer for code elements.
  • Add support for Craft 3.5 field designer for voucher elements.

Changed

  • Now requires Craft 3.5+.
  • Now requires Craft Commerce 3.2+.