Skip to content
Browse files

Work on preapproval redirect

  • Loading branch information...
1 parent 25c0816 commit 6132d4e9b243ff638e6cf56df755912a3a8504e1 @lvxn0va lvxn0va committed Sep 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/api/preapproval_methods.rb
View
3 lib/api/preapproval_methods.rb
@@ -84,7 +84,8 @@ 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"
+ #{}"#{@wepay_config[:root_callback_uri]}/wepay/preapproval/success"
+ redirect_to preapproval_success_url
end
apply_security_token(uri, security_token)
end

0 comments on commit 6132d4e

Please sign in to comment.
Something went wrong with that request. Please try again.