I would have called his raise on preflop, but I would have raised him after the flop rather than calling. Especially with the flush draw out there, I would have made it more expensive for him to draw for it. It just turns out that you boated up instead of him getting the flush, but I would have felt very uncomfortable to be in that position.
Lets say you didn't hit trips on the flop, I think with a flop that low, you could have reraised him as well, telling him that the flop didn't help him and you know that. Then again, I'm kinda a newbie

so take all that with a grain of salt.