Results 1 to 7 of 7

Thread: Gift Card Serial Number

  1. #1
    Join Date
    Feb 2007
    Posts
    53

    Default Gift Card Serial Number

    Is there anything sacred about the serial number generated with a gift card? Can I change it (shorten) without any repercussions? Thanks in advance!

  2. #2
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    There shouldn't be any problems with changing those.

  3. #3
    Join Date
    Apr 2006
    Posts
    1,568

    Default

    Just make sure the numbers are unique and not easily guessed... Eg. a sequential number would not be a good idea, since if I have card number 12345, I could probably guess 12346 and 12347 pretty easily, and use other peoples' gift cards.

  4. #4
    Join Date
    Dec 2008
    Posts
    12

    Default

    Is there a way to have the email gift card issue something other than a guid? I see where manually i can set it to what ever i want but when then cart generates it is a little long.

    Thanks,
    Tim

  5. #5
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    Well, you could create an email-type gift card on the Admin: Gift Card Management and change the serial number field to your desired series of character instead of using the auto-generated GUID...

  6. #6
    Join Date
    Dec 2008
    Posts
    12

    Default

    Is there a way to automate this or does this require the source to modify the routine?

    Tim

  7. #7
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    Well, yes, that would require a modification on the GiftCard class, instead of using GUID, you could use the built-in Random class...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •