Permalink
Browse files

Fix example to reflect the code.

  • Loading branch information...
1 parent b46ff33 commit 07f671b3d491d1c46c4077ff99c07a7d4ff883b6 @carldr carldr committed Sep 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -42,7 +42,7 @@ Create redirect HTML form:
# these parameters are handled as follows:
# in lib/helpers.rb
- # Worldpay::Rails::Helpers
+ # Worldpay::InstanceMethods
def worldpay_form_tag(installation_id, order_ref, amount, options = {})
@@ -67,7 +67,7 @@ Create redirect HTML form:
def worldpay_callback
# parse response parameters into new Worldpay::Rails::Response object
- notification = Worldpay::Rails::Response.new(params, request.raw_post)
+ notification = Worldpay::Response.new(params, request.raw_post)
# find the relevant order from the db
order = Order.find_by_reference(notification.order_ref)

0 comments on commit 07f671b

Please sign in to comment.