with my continued problem that I faced in my previous message (I havent tried just yet) but Im thinking because PayPal sees my cart is empty (only if I use a shipping cost in cart) then surely to correct this issue would be to do a calculation to make sure the page([GrandTotal] - [Shipping])
in this line of code:
<?php if(isset($_SESSION['PromoAmount']) && $_SESSION['PromoAmount'] != "" && $DinkyCart->GrandTotal() < 0.01) { ?>
I need to keep doigng further testing but at the moment it all works if I dont provide a shipping cost in the order. So I do understand why it only works that way because even though shipping is added to GrandTotal - paypal still thinks the cart is empty because there are no "product items" with any money value.
am I on the right track with this solution? or do i have it completely wrong and the problem is somehwere else in my code?