I am having the following issues that we need fixed with our website:
1.) When a customer buys a deal through Paypal, the counter variable on that deal needs to be incremented based on the number of deals the customer bought. In our messed up version, the code that is doing the incrementing is located in the [url removed, login to view] file. The code increments the counter on the deal even if the customer hits cancel on the paypal site. The code also only increments the counter value by 1 even if the customer buys more than 1 deal. The counter is also used to check if a deal is "tipped." So, wherever we put the correct code to fix the counter, the code that is used to set the tip value of a deal also needs to follow.
2.) When a customer buys a deal, they are supposed to receive a confirmation E-mail from our website. The e-mail should look like the same format the coupon is viewed on the customer's "manage deals" page. Included in the zip file is a file called [url removed, login to view] that has the html code for the message.
I have included a zip file that has copies of the code and a screenshot.
This needs to be done asap.