Permalink
Browse files

Fixed the paypal flow example.

  • Loading branch information...
1 parent 7d1af1f commit deb405db09d71b9c81e331fc8eadff12ee021f13 @elanperach elanperach committed Jul 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -55,7 +55,7 @@ Make the payment request:
pay_response = pay_request.pay(data)
if pay_response.success?
- redirect_to pay_response.approve_paypal_payment_url
+ redirect_to pay_response.preapproval_paypal_payment_url
else
puts pay_response.errors.first['message']
redirect_to failed_payment_url

0 comments on commit deb405d

Please sign in to comment.