Displaying 2 results from an estimated 2 matches for "paymenterror".
2006 May 06
0
`connect'': undefined method `verify_mode'' for nil:NilClass
...9;4007000000027'',
:expiration => ''0310'',
:first_name => ''John'',
:last_name => ''Doe''
)
begin
transaction.submit
puts "Card processed successfully: #{transaction.authorization}"
rescue Payment::PaymentError
puts "Card was rejected: #{transaction.error_message}"
end
Any ideas as to what might be wrong?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 22
1
Newbie .. authorize.net
...one has used this gem in a real life application to do the above?
The other problem was that on this page:
http://rubyforge.org/docman/view.php/516/134/files/lib/payment/authorize_net_rb.html
at the very bottom they have the links to:
Class Payment::AuthorizeNet
Class Payment::Base
Class Payment::PaymentError
QUESTION 2.
Clicking them takes you back to the same page. I am wondering as to how
does one go about seeing the ruby documentation for those classes?
QUESTION 3.
The example they show on that page does not do a check on the customer''s
credit card address. I am wondering if the payme...