Permalink
Browse files

Fix another error

  • Loading branch information...
1 parent 740a36d commit 9b07c0c115d3d5c922e4f51ba6bce4ac173c51dc Chris Micacchi committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_merchant/billing/gateways/paypal.rb
@@ -17,7 +17,7 @@ def store(credit_card, options = {})
response = create_profile(nil, options)
if response.success?
- response_suspend = suspend_profile(response_create.params['ProfileID'])
+ response_suspend = suspend_profile(response.params['ProfileID'])
if !response_suspend.success?
raise Error, "exception happened when storing credit_card to paypal"

0 comments on commit 9b07c0c

Please sign in to comment.