Class: Easypay::PaymentsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Easypay::PaymentsController
- Defined in:
- app/controllers/easypay/payments_controller.rb
Instance Method Summary collapse
Instance Method Details
#complete ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/controllers/easypay/payments_controller.rb', line 3 def complete # After payment success @key = params[:ep_key] @status = params[:status] respond_to do |format| format.html end end |
#notify ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'app/controllers/easypay/payments_controller.rb', line 12 def notify # After payment success @payment_reference = PaymentReference.find_by_payable_id(params[:payable_id]) respond_to do |format| format.html end end |