Skip to content

Commit

Permalink
Replace http://www.paypal.com/cgi-bin/webscr in comments and README by
Browse files Browse the repository at this point in the history
…https://www.paypal.com/cgi-bin/webscr because former version doesn't work anymore on Paypal servers (thanks to barmstrong for noticing)
  • Loading branch information
JosephHalter committed Aug 12, 2009
1 parent 2efb0fb commit ec167c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README
Expand Up @@ -99,6 +99,10 @@ and note the "Cert ID" that Paypal shows for the certificate.

Paypal::Notification.paypal_cert = File::read("paypal_cert.pem")

7) Finally, add the following line to your environment.rb or inside an initializer:

Paypal::Notification.ipn_url = "https://www.paypal.com/cgi-bin/webscr"

== Troubleshooting

uninitalized constant Paypal - Make sure your ruby has openssl support
Expand Down
2 changes: 1 addition & 1 deletion lib/notification.rb
Expand Up @@ -47,7 +47,7 @@ class Notification
# this https address does not in fact work.
#
# Example:
# Paypal::Notification.ipn_url = http://www.paypal.com/cgi-bin/webscr
# Paypal::Notification.ipn_url = https://www.paypal.com/cgi-bin/webscr
#
cattr_accessor :ipn_url
@@ipn_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'
Expand Down

1 comment on commit ec167c2

@openhood
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're welcome ; actually, this plugin would need some more love and specs, you should probably also have a look at rha7dotcom fork to see if it fits your needs

Please sign in to comment.