need help with ecommerce design issue

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default need help with ecommerce design issue

    Hi everyone:

    I have started an ecommerce application that involves allowing participants
    being allowed to register and pay for games that they play online. I have
    proceeded on to the point where a cart can be created that allows for the
    addition and removal of games that they select to play. I use a database to
    keep track of state during the application as well as for the cart itself.
    I have come to the point now where I have to handle checking out. My design
    calls for a url (used to hit the credit card handling institution) that
    identifies the participant as well as the cost of the games being registered
    for. What I am not sure how to handle is coming up with a unique identifier
    for the particular registration (could be for more than 1 game)
    Presently, I have a table, gameRegistrations, that has a primary key called
    gameRegId (an autonumber), a field called playerId (used to uniquely
    identify the registrant), and a field called gameId (used to uniquey
    identify the game being registered for). I am wondering how I could
    identify the whole batch of games that a player might be registering for. I
    don't think that the url that I create should have a number representing
    each game being registered for but rather one number or value that
    represents that particular batch registration.
    I have thought of using a timestamp to represent the particular batch
    registration.

    I would really appreciate it if anyone could suggest to me the best way to
    handle the situation. Perhaps, my idea is a good one. If that is case
    please let me know.

    P.S I am not using Session variables or a Global.asa file.

    Thanks in advance

    Terry


    Terry Murray Guest

  2. Similar Questions and Discussions

    1. Web design issue- please help
      Hi All, I am an intermediate level of web designer. I would like you to give me some advice on web design issues; i.e. if someone needs to...
    2. Help with design issue
      Hi once again, I have been asked to add a feature that allows a person to add content to a site via a control panel. This control panel is...
    3. Design Issue
      Hi again everyone: I would like to have a form field exist on two forms at the same time, - if it is possible. Basically, I am trying to...
    4. Is this a NET issue or just bad web design
      Because in my .NET implementations I do not run into this. Yes granted I don't use the various technologies that Microsoft does but in my book using...
    5. Caching Design Issue
      I am creating a portal that uses UserControls as each "portlet". Each of these UserControls is autonomous in the sense that whether or not they are...
  3. #2

    Default need help with ecommerce design issue

    Try splitting the transaction detail to another table
    which will serve as a collector for all games purchased
    at one time.

    Instead of :
    ///////////////////
    players
    *********
    playerId

    games
    *********
    gameId
    gameRegistrations
    *****************
    gameRegId
    playerId
    gameId
    ////////////////////

    How about something more like this?
    players
    *********
    playerId

    games
    *********
    gameId

    transactions
    ************
    transactionId

    gameRegistrations
    *****************
    gameRegId
    playerId
    gameId
    transactionId
    ////////////////////

    Of course, you still have the problem of coming up with
    the transactionId. You could use a function to create a
    guid, but that may be too much for your credit card
    processor to handle. I would suggest finding out the
    constraints on the field imposed by your credit card
    processor and write a function to generate a random
    number that is as big as possible while still within
    limits.

    Sincerely,
    Invotion Engineering Team
    Advanced Microsoft Hosting Solutions
    [url]http://www.Invotion.com[/url]
    >-----Original Message-----
    >Hi everyone:
    >
    >I have started an ecommerce application that involves
    allowing participants
    >being allowed to register and pay for games that they
    play online. I have
    >proceeded on to the point where a cart can be created
    that allows for the
    >addition and removal of games that they select to play.
    I use a database to
    >keep track of state during the application as well as
    for the cart itself.
    >I have come to the point now where I have to handle
    checking out. My design
    >calls for a url (used to hit the credit card handling
    institution) that
    >identifies the participant as well as the cost of the
    games being registered
    >for. What I am not sure how to handle is coming up with
    a unique identifier
    >for the particular registration (could be for more than
    1 game)
    >Presently, I have a table, gameRegistrations, that has a
    primary key called
    >gameRegId (an autonumber), a field called playerId
    (used to uniquely
    >identify the registrant), and a field called gameId
    (used to uniquey
    >identify the game being registered for). I am
    wondering how I could
    >identify the whole batch of games that a player might be
    registering for. I
    >don't think that the url that I create should have a
    number representing
    >each game being registered for but rather one number or
    value that
    >represents that particular batch registration.
    >I have thought of using a timestamp to represent the
    particular batch
    >registration.
    >
    >I would really appreciate it if anyone could suggest to
    me the best way to
    >handle the situation. Perhaps, my idea is a good one.
    If that is case
    >please let me know.
    >
    >P.S I am not using Session variables or a Global.asa
    file.
    >
    >Thanks in advance
    >
    >Terry
    >
    >
    >.
    >
    Invotion Guest

  4. #3

    Default Re: need help with ecommerce design issue

    Thanks for getting back to me anonymous (at Inovtion). I am not sure what
    is gained by splitting the transaction detail to another table. If you
    could enlighten me I would appreciate it. Also, would my idea of creating a
    time stamp function as transactionId since it would be guaranteed to be
    unique. I thought that I might also add that the database being used for
    the project is MS Access.

    Thanks,

    Terry

    "Invotion" <anonymous@discussions.microsoft.com> wrote in message
    news:4a9a01c3e44b$53f26320$a401280a@phx.gbl...
    > Try splitting the transaction detail to another table
    > which will serve as a collector for all games purchased
    > at one time.
    >
    > Instead of :
    > ///////////////////
    > players
    > *********
    > playerId
    >
    > games
    > *********
    > gameId
    > gameRegistrations
    > *****************
    > gameRegId
    > playerId
    > gameId
    > ////////////////////
    >
    > How about something more like this?
    > players
    > *********
    > playerId
    >
    > games
    > *********
    > gameId
    >
    > transactions
    > ************
    > transactionId
    >
    > gameRegistrations
    > *****************
    > gameRegId
    > playerId
    > gameId
    > transactionId
    > ////////////////////
    >
    > Of course, you still have the problem of coming up with
    > the transactionId. You could use a function to create a
    > guid, but that may be too much for your credit card
    > processor to handle. I would suggest finding out the
    > constraints on the field imposed by your credit card
    > processor and write a function to generate a random
    > number that is as big as possible while still within
    > limits.
    >
    > Sincerely,
    > Invotion Engineering Team
    > Advanced Microsoft Hosting Solutions
    > [url]http://www.Invotion.com[/url]
    >
    > >-----Original Message-----
    > >Hi everyone:
    > >
    > >I have started an ecommerce application that involves
    > allowing participants
    > >being allowed to register and pay for games that they
    > play online. I have
    > >proceeded on to the point where a cart can be created
    > that allows for the
    > >addition and removal of games that they select to play.
    > I use a database to
    > >keep track of state during the application as well as
    > for the cart itself.
    > >I have come to the point now where I have to handle
    > checking out. My design
    > >calls for a url (used to hit the credit card handling
    > institution) that
    > >identifies the participant as well as the cost of the
    > games being registered
    > >for. What I am not sure how to handle is coming up with
    > a unique identifier
    > >for the particular registration (could be for more than
    > 1 game)
    > >Presently, I have a table, gameRegistrations, that has a
    > primary key called
    > >gameRegId (an autonumber), a field called playerId
    > (used to uniquely
    > >identify the registrant), and a field called gameId
    > (used to uniquey
    > >identify the game being registered for). I am
    > wondering how I could
    > >identify the whole batch of games that a player might be
    > registering for. I
    > >don't think that the url that I create should have a
    > number representing
    > >each game being registered for but rather one number or
    > value that
    > >represents that particular batch registration.
    > >I have thought of using a timestamp to represent the
    > particular batch
    > >registration.
    > >
    > >I would really appreciate it if anyone could suggest to
    > me the best way to
    > >handle the situation. Perhaps, my idea is a good one.
    > If that is case
    > >please let me know.
    > >
    > >P.S I am not using Session variables or a Global.asa
    > file.
    > >
    > >Thanks in advance
    > >
    > >Terry
    > >
    > >
    > >.
    > >

    Terry Murray Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139