Jason, I have static coupon codes working properly now, but want to enable a unique, automatically generated code to be sent with any confirmation of a newsletter subscription (it would be something like a 20% off - to be used once). I can follow your instructions for creating the database driven structure, but am having issue with how to generate, transmit and delete the code I wish to send with each newsletter confirmation.
Can you help me with this logic?