hello, I am facing the following problem. I would like to process credit cards in both canadian and us dollars. I have merchant accounts for each currency. As far as I understand, the payment info submission is handled by "before_process()" function for each credit card modules. Right before the function is called, I need to check what currency and credit card type (Visa, MC) are used to pass appropriate merchant credentials.

I would really appreciate if someone point me to the place where the function is called and how to write this If..Then block in PHP.

thank you in advance!