paypal 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +8 -0
- data/Rakefile +1 -1
- data/lib/notification.rb +5 -3
- metadata +2 -2
data/README
CHANGED
@@ -11,6 +11,7 @@ business account and tell paypal where to send the IPN ( Instant payment notific
|
|
11
11
|
|
12
12
|
== Requirements
|
13
13
|
|
14
|
+
* Ruby 1.8.2 (may work with previous versions) With Open SSL support compiled in.
|
14
15
|
* Valid paypal business account.
|
15
16
|
* The money library from http://dist.leetsoft.com/api/money
|
16
17
|
|
@@ -67,8 +68,15 @@ sandbox account to use while the application is running in development mode.
|
|
67
68
|
|
68
69
|
<% end_form_tag %>
|
69
70
|
|
71
|
+
== Troubleshooting
|
72
|
+
|
73
|
+
uninitalized constant Paypal - Make sure your ruby has openssl support
|
74
|
+
|
70
75
|
== Changelog
|
71
76
|
|
77
|
+
2005-09-16 -- 0.9.6
|
78
|
+
* Added readme note about the openssl requirement
|
79
|
+
|
72
80
|
2005-07-26 -- 0.9.5
|
73
81
|
* Added tax to the helper parameters
|
74
82
|
* fixed bug when money class was used to pass in amount. Cents were always 00 (doh!)
|
data/Rakefile
CHANGED
data/lib/notification.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
module Paypal
|
2
2
|
# Parser and handler for incoming Instant payment notifications from paypal.
|
3
|
-
# The Example shows a typical handler in a rails application.
|
4
|
-
#
|
3
|
+
# The Example shows a typical handler in a rails application. Note that this
|
4
|
+
# is an example, please read the Paypal API documentation for all the details
|
5
|
+
# on creating a safe payment controller.
|
6
|
+
#
|
5
7
|
# Example
|
6
8
|
#
|
7
9
|
# class BackendController < ApplicationController
|
8
10
|
#
|
9
11
|
# def paypal_ipn
|
10
|
-
# notify =
|
12
|
+
# notify = Paypal::Notification.new(request.raw_post)
|
11
13
|
#
|
12
14
|
# order = Order.find(notify.item_id)
|
13
15
|
#
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: paypal
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2005-
|
6
|
+
version: 1.0.1
|
7
|
+
date: 2005-09-17
|
8
8
|
summary: Paypal IPN integration library for rails and other web applications
|
9
9
|
require_paths:
|
10
10
|
- lib
|