Permalink
Browse files

Work on preapproval redirect

  • Loading branch information...
lvxn0va committed Sep 23, 2012
1 parent 6132d4e commit ed25209d664e8d471e1d816c3cd2e014925f5338
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/api/preapproval_methods.rb
@@ -84,8 +84,7 @@ def preapproval_redirect_uri(security_token)
uri = if @wepay_config[:ipn_callback_uri].present?
@wepay_config[:preapproval_redirect_uri]
else
- #{}"#{@wepay_config[:root_callback_uri]}/wepay/preapproval/success"
- redirect_to preapproval_success_url
+ "#{@wepay_config[:root_callback_uri]}/preapproval/success"
end
apply_security_token(uri, security_token)
end

0 comments on commit ed25209

Please sign in to comment.