sending to success if no need for payment on paypal express
Jason remember that line of code I had on my "paypal standards" confirm page that checked for a customer using a gift voucher and if the order was zero or less then it would go directly to the success page. well im trying to think of the logic in putting it on the new pages i have created using paypal express.
the problem is that its the confirm page that has all the order summary displayed. but that confirm page is only reached after the user goes to paypal express. but on the paypal page i added something so that no order informaiton is displayed on the paypal page (a message on paypal states that the order info will be on the website page - i think this shows like this either because i put in a invoice reference or a description in one of the paypal server behaviours) - but I beleive to understand that no payment will go through on paypal express until a customer clicks on the submit order button back on the confirm page (so the paypal page is just acting more of a logging in page if im correct). anyway back to my point. so with this information said im attaching the confirm and checkout pages - just wanted the best course of action to place code so that if detects if an order is either zero or less then (due to a order costing £35 and a customer uses a gift voucher code for £45). once that has been detected then it would go to the relevant page to create the order (ie send email, add to orders summary - this code is on the success page)
Chris