Class: Vpago::Payway::Checkout
- Defined in:
- lib/vpago/payway/checkout.rb
Instance Method Summary collapse
Methods inherited from Base
#action_url, #amount, #api_key, #app_checkout, #app_checkout?, #continue_success_url, #email, #endpoint, #first_name, #hash_hmac, #host, #initialize, #last_name, #merchant_id, #payment_option, #phone, #phone_country_code, #return_params, #return_url, #transaction_fee, #transaction_fee_fix, #transaction_fee_percentage, #transaction_id
Constructor Details
This class inherits a constructor from Vpago::Payway::Base
Instance Method Details
#gateway_params ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vpago/payway/checkout.rb', line 4 def gateway_params result = { tran_id: transaction_id, amount: amount, hash: hash_hmac, firstname: first_name, lastname: last_name, email: email, payment_option: payment_option, return_url: return_url, continue_success_url: continue_success_url, return_params: return_params } result[:phone_country_code] = phone_country_code result[:phone] = phone result end |