Ruby payment framework