Determining a transaction fee before an order is processed
Posted
by Kenji Crosland
on Stack Overflow
See other posts from Stack Overflow
or by Kenji Crosland
Published on 2010-05-13T14:22:08Z
Indexed on
2010/05/13
14:24 UTC
Read the original article
Hit count: 358
When users make credit card transactions on my web app, I'd like to include the transaction fee on the confirmation page before the user makes the order. The thing is, there are different transaction fees for different cards. Is there a way to determine a transaction fee from the card number?
I'm using Rails and ActiveMerchant, but I figure this question was applicable to other languages as well.
© Stack Overflow or respective owner