Ubercart 1.6; Drupal 5.14
When a credit card refund comes through (PayPal Website Payment Pro) I'd like to enter a comment for the user that indicates the payment was refunded. I set up an order status of "payment_refunded" (title: "Payment refunded", status: "completed"). I think if I can determine that the payment amount is negative in workflow_ng, then I can add a status record using something like:
<?php
($order->order_id, 0, 'Order status updated).', 'order', 'Payment refunded');
?>But, how can I tell if the payment amount is negative?
Maybe there's a more simple way to set a comment for a refund - I'm all ears for that!
