mccoy81 Posted February 29, 2012 Share Posted February 29, 2012 Hello, Everything is going great. I am customizing the files for my own website. There is one question that I am having concerning the ipn.php file. How do I modify the && ($_POST['mc_gross'] == 10.00) to include two possible options? Can place an OR inside it and add another price option or is there another way that I am suppose to accomplish this? I was thinking maybe: && ($_POST['mc_gross'] == 10.00 OR 20.00) Any information you can give me would be very helpful. Thanks in advance. Link to comment Share on other sites More sharing options...
Larry Posted February 29, 2012 Share Posted February 29, 2012 Absolutely you can do that. It just needs to be syntactically correct, which your OR example is not. Link to comment Share on other sites More sharing options...
mccoy81 Posted March 1, 2012 Author Share Posted March 1, 2012 Hi thanks for the reply, I also have created code for an automatic email with a download link to the files. Would that go in the IPN.php file after the order has been verified that it was completed? Link to comment Share on other sites More sharing options...
Larry Posted March 4, 2012 Share Posted March 4, 2012 Yes, that could go in the ipn.php file after the order has been verified. Link to comment Share on other sites More sharing options...
Recommended Posts