[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Pay-cert redeemed even when credit card fails


When an order is purchased using both a credit card and the redemption of a payment certificate, and the credit card number fails with the gateway, the pay-cert gets redeemed anyways. When the error is shown to the customer on the checkout page, there is no longer a box to check for redemption of their pay-cert, as it has already been marked as redeemed.

This behavior is caused by the pay-cert redemption code in etc/ log_transaction running without checking for a gateway error. I am not sure how to fix... any ideas?

--Snip from log:
Total order: $99.95
Payment processing...payment_method=credit_card
Redeeming payment certs: 61672507
Amount remaining: 90.95
Credit card will be charged 90.95
Charging with payment mode=authorizenet
Real-time charge FAILED. Reason: Authorizenet error:

Josh
--
Kingdom Design  (210) 200-8489
http://www.kingdomdesign.com/


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.