Permalink
Browse files

Merge pull request #1 from carldr/master

Fix the Worldpay integration URLs to reflect their re-branding following the split from RBS.
  • Loading branch information...
2 parents 2df8dfd + 07f671b commit bc466ed62cb2a2148b0ca64fa1c807471cf29343 Paul Springett committed Sep 20, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +2 −2 lib/worldpay.rb
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)
View
@@ -9,9 +9,9 @@ module Worldpay
def self.uri
if Worldpay.test?
- "https://select-test.wp3.rbsworldpay.com/wcc/purchase"
+ "https://select-test.worldpay.com/wcc/purchase"
else
- "https://secure.wp3.rbsworldpay.com/wcc/purchase"
+ "https://secure.worldpay.com/wcc/purchase"
end
end

0 comments on commit bc466ed

Please sign in to comment.