search for: handle_payment

Displaying 1 result from an estimated 1 matches for "handle_payment".

2007 Jan 27
0
Interchanging ActiveRecord and ActionWebService... Help with my problem and suggestions for Best Practices.
...{:card_verification_code => :string}, {:card_expiration_date => :date} ], :returns => [:string] def make_payment(contract_payment) puts contract_payment.inspect end end class TestController < ApplicationController def handle_payment if (@contract_payment.valid?) # ActiveRecord - Works! # @contract_payment.save # WebService # webservice_payment_api = WebservicePaymentApi.new WebservicePaymentApi.make_payment(@contract_payment) end end # handle_payment --~--~---------~--~----~--------...