we created coupon code, so that that coupon should not work if customer select "Cash on delivery" payment method.
customer will apply coupon in cart page & go to checkout and select Prepaid payment method and no issue here, he can see Discount as below image. [ -139]
Again customer will go back to "Payment information" step & he selects Cash on delivery and go to "Order review" step, he dont see any discount, thats fine.....
But customer become mad and again he go back to "Payment information" & select Prepaid payment method and come to "Order review" step, now he see the Devil that he dont see any discount....
This issue is happening only for new customers in site, for old customers there is no issue....
log errors in app/code/core/Mage/Checkout/Model/Type/Onepage.php
Notice: Array to string conversion in
$send .= $param . '=' . $value . "\r\n";}
Notice: Undefined variable: datasend in
$datasend .= substr($send, 5, -1);
Edit 2
dummy
560043
to seecash on delivery
as payment method....560043
under zip code , coupon code name isdummy