Tag Cloud for this topic:
|
Only one generated code for multiple quantities
|
electropunk
member
Posts: 4
|
I set up a product with the following options:
1. Send generated codes
2. Let buyers edit quantity in cart
If the buyer sets quantity to 3 e.g. only one code is generated.
Quantity = 3
Generated Codes sent = 1
However, if I re-configure the product:
1. Send stored codes
2. Let buyers edit quantity in cart
then the number of codes sent to the buyer equal the quantity:
Quantity = 3
Stored Codes sent = 3
It's not a big deal since I could easily create stored codes, but for one particular product I have, generated codes would be easier.
Is this by design or a bug :) ?
Cheers, EP
# POSTED ON: November 21, 2009 @ 20:22 GMT -7 MODIFIED ON: November 21, 2009 @ 20:23 GMT -7
|
E-junkieGuru
E-Junkie Crew
Posts: 1847
|
Send Generated Codes only hits your keygen URL once for each purchase, regardless of the quantity ordered. Whatever output your keygen URL returns is what we pass back to the buyer. It would be up to you to program your keygen script to output multiple codes for multiple quantities by parsing the fields we POST to your keygen URL.
# POSTED ON: November 22, 2009 @ 19:52 GMT -7
|
electropunk
member
Posts: 4
|
I am using the keygen URL provided by ejunkie/armadillo.
Seems like this is set up to work like you described.
Or can I pass a special parameter to that keygen URL to get x codes for x quantities ?
Thanks,EP
# POSTED ON: November 25, 2009 @ 11:40 GMT -7
|
E-junkieGuru
E-Junkie Crew
Posts: 1847
|
Hm, we merely installed the SoftwarePassport/Armadillo keygen script provided by Silicon Realms (after a once-over to make sure it wouldn't introduce any security/stability issues), so it is what it is and does what it does. If it only outputs one key regardless of quantity, then that's all it can do, so you'd probably want to just disable the "Let buyer edit quantity" setting for that product.
# POSTED ON: November 25, 2009 @ 19:48 GMT -7
|
|