Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STENCIL-3533 Remove gift certificate format validation #1026

Merged
merged 1 commit into from
Jun 20, 2017
Merged

STENCIL-3533 Remove gift certificate format validation #1026

merged 1 commit into from
Jun 20, 2017

Conversation

bookernath
Copy link
Contributor

@bookernath bookernath commented Jun 19, 2017

What?

Before we had a Gift Certificates API for the creation or import of gift certificates from another system, gift certificates in BC were all of a single format, alphanumeric with hyphens like this:

AAA-AAA-AAA-AAA

However, now we have the API and 3rd parties are welcome to import certificates of an arbitrary format.

However, Cornerstone still validates the old format, which will cause these imported certificates to fail. Making this change to fix that and allow any format.

Tickets / Documentation

Screenshots (if appropriate)

screen shot 2017-06-19 at 10 24 56 am
screen shot 2017-06-19 at 10 25 09 am

Before we had a Gift Certificates API for the creation or import of gift certificates from another system, gift certificates in BC were all of a single format, alphanumeric with hyphens like this:

AAA-AAA-AAA-AAA

However, now we have the API and 3rd parties are welcome to import certificates of an arbitrary format.

However, Cornerstone still validates the old format, which will cause these imported certificates to fail.Making this change to fix that and allow any format.
@junedkazi junedkazi merged commit ad12b84 into bigcommerce:master Jun 20, 2017
@bookernath bookernath deleted the STENCIL-3533 branch June 20, 2017 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants