Class ActiveMerchant::Billing::Integrations::EPaymentPlans::Notification
In: lib/active_merchant/billing/integrations/e_payment_plans/notification.rb
Parent: ActiveMerchant::Billing::Integrations::Notification

Methods

Included Modules

ActiveMerchant::PostsData

Public Instance methods

Acknowledge the transaction to EPaymentPlans. This method has to be called after a new apc arrives. EPaymentPlans will verify that all the information we received are correct and will return ok or a fail.

Example:

  def ipn
    notify = EPaymentPlans.notification(request.raw_post)

    if notify.acknowledge
      ... process order ... if notify.complete?
    else
      ... log possible hacking attempt ...
    end

When was this payment received by the client.

Was this a test transaction?

[Validate]