Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the paypal flow example.

  • Loading branch information...
commit deb405db09d71b9c81e331fc8eadff12ee021f13 1 parent 7d1af1f
@elanperach elanperach authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.markdown
View
2  README.markdown
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.