From 4636e0d2e6aed235dce143caecb6640303fe55e8 Mon Sep 17 00:00:00 2001 From: Godwin Date: Thu, 24 Jul 2014 00:58:24 -0600 Subject: [PATCH] Paypal test 4 --- app/controllers/conferences_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index 43e5483..7fe528d 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -525,8 +525,8 @@ class ConferencesController < ApplicationController ) response = request.setup( payment_request, - host + (@conference.url + "/register/confirm-payment/#{@conference_registration.payment_confirmation_token}/").gsub(/\/\/+/, '/'), - host + (@conference.url + "/register/cancel-payment/#{@conference_registration.confirmation_token}/").gsub(/\/\/+/, '/') + host + @conference.url, + host + @conference.url ) redirect_to response.redirect_uri else