Page 1 of 1

Set Payment Gateway based on amount

Posted: Mon May 03, 2010 10:34 pm
by rewardchain
I am looking to have two payment gateways each having Visa, Mastercard, etc. What I would like is a condition where if the dollar amount was below a certain amount, like $12.00, then use Gateway 1. Else, anything above use Gateway 2. I have been looking at editing OnePageCheckout, but I am not sure this is the correct place to start.

Re: Set Payment Gateway based on amount

Posted: Tue May 04, 2010 6:28 am
by mazhar
Have a look at this thread, it may provide some help
viewtopic.php?f=42&t=10712

Re: Set Payment Gateway based on amount

Posted: Tue May 04, 2010 9:17 am
by rewardchain
Thanks, I will play around with it to see if I can get the conditions to work. What if I need to use two of the same gateway types? Able doesn't do this from the interface. Can I just insert this into the database and then use the gateway id accordingly?

Re: Set Payment Gateway based on amount

Posted: Tue May 04, 2010 9:27 am
by mazhar
What would be the gateway for which you want to use two instances?

Re: Set Payment Gateway based on amount

Posted: Tue May 04, 2010 3:40 pm
by rewardchain
Paypal. One for regular transactions and one for their Micropayments service (under $12.00). For some reason they make you have two accounts so that is why I need to determine the order total and utilize one gateway or the other.

Re: Set Payment Gateway based on amount

Posted: Wed May 05, 2010 6:50 am
by mazhar
Well I believe running two instances of same payment gateway would require that gateway dlls and code classes in the dll should have some different name. This will require a change in back end code to produce a custom DLL. Otherwise I don't think so there is any other way to configure two instances on same store.

Re: Set Payment Gateway based on amount

Posted: Wed May 05, 2010 7:04 am
by rewardchain
Can I get a quote for that?