Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gateway = ActiveTiger::Gateway.new(
- :username => "johndoe",
- :password => "password"
- )
- response = gateway.authorize(
- :ccnumber => "4111111111111111",
- :ccexp => "1010",
- :amount => "1.00"
- )
- if response.approved?
- puts "oh hai $$$"
- end
Add Comment
Please, Sign In to add comment