Class: HostedPaymentController

Inherits:
ApplicationController show all
Defined in:
lib/forge/app/controllers/hosted_payment_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#app_init

Instance Method Details

#billingObject



7
8
9
10
# File 'lib/forge/app/controllers/hosted_payment_controller.rb', line 7

def billing
  @user = current_user
  @page_title = "Pay Securely Online With PayPal"
end

#notifyObject



12
13
14
15
# File 'lib/forge/app/controllers/hosted_payment_controller.rb', line 12

def notify
  order = Order.capture_payment(request.raw_post)
  render :nothing => true
end