Gift Codes are generated with both cases

Created on 11 November 2020, over 4 years ago
Updated 6 August 2024, 11 months ago

Problem/Motivation

When using the generator to create gift cards the codes are generated using mixed case. However gift cards are case insensitive so creating codes using both cases creates unneeded complexity for the end user of the gift card.

EDIT:
Upon examining the code it appears this is a bug since there is already code to convert the string to all lower case letters

Steps to reproduce

Generate a new gift card at admin/commerce/giftcards/generate

Proposed resolution

EDIT:
Fix the code so that the code string is properly converted to lowercase.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024