Viaweb was not originally a payment gateway, just a catalog and shopping cart system. Merchants had to make their own credit card processing arrangements. I used Bank of America. This was so new to them I had to put down a $20,000 deposit. Getting all the parts of the credit card processing chain working properly was a big headache. But in the end, it all worked quite well.