Forum Moderators: phranque
This will be done via PayPal.
Anyone know a good way to track these purchases and how to possible allow them to print the certificate to bring into the store?
I just don't want everyone to buy one certificate and then copy it and bring it into the store once a week.
Thanks for any info.
I set up a MySQL database to track the paypal purchase and to record the invoice number (unique to that customer).
If the paypal purchase is "Completed" you can then generate an on-screen certificate with the invoice number on it and let them print it off. The store that accepts the gift certificate needs to have a way to check the invoice number against the MySQL database to check that it is valid and has not been used before. This could be a simple website form that runs a query against the database.
Once the gift certificate is accepted they need to update the database to mark that certificate as "used" to prevent fraud.
Hope this helps...