Method: WepayRails::Helpers::ControllerHelpers#init_charge_and_return_success
- Defined in:
- lib/helpers/controller_helpers.rb
#init_charge_and_return_success(params, access_token = nil) ⇒ Object
131 132 133 134 |
# File 'lib/helpers/controller_helpers.rb', line 131 def init_charge_and_return_success(params, access_token=nil) record = init_charge(params, access_token) redirect_to charge_success_url and return record end |