Method: WepayRails::Helpers::ControllerHelpers#init_checkout_and_send_user_to_wepay
- Defined in:
- lib/helpers/controller_helpers.rb
#init_checkout_and_send_user_to_wepay(params, access_token = nil) ⇒ Object
60 61 62 63 |
# File 'lib/helpers/controller_helpers.rb', line 60 def init_checkout_and_send_user_to_wepay(params, access_token=nil) record = init_checkout(params, access_token) redirect_to record.checkout_uri and return record end |