shoppe-paypal 1.2.0 → 1.2.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.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/shoppe/paypal/engine.rb +4 -2
- data/lib/shoppe/paypal/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a33cb06a9ad3857a382b1684c9b1be0ae24a278e
|
|
4
|
+
data.tar.gz: 2e99557c36798258d7f197ff3d19475b45ee0f34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c699cd83f4db247bc6d50e2c1be5a428510aae36fbcac25f04ba9d6737b06576620acbc22dc89ee1ff707c92c7c0c177d48f83e6a430e15de0bd228e8d632d9
|
|
7
|
+
data.tar.gz: bc063e585c6fb72862088ff578546ff9783e1f95a80c0a6a2f9b70560be21aae5d6c2238cc8ad88faaa1faaca0fc3945f45a5a70f9f933a9d12fee65a53d7d04
|
data/README.md
CHANGED
|
@@ -21,8 +21,9 @@ For the latest up to date documentation, please see the [Shoppe tutorial page](h
|
|
|
21
21
|
+ Redirected to success URL and payment details are stored with the order
|
|
22
22
|
+ Complete order
|
|
23
23
|
+ When the order is accepted in the Shoppe admin, the payment will be executed/captured
|
|
24
|
+
+ When the order is rejected, the payment is refunded
|
|
25
|
+
+ Refund payments from the Shoppe admin
|
|
24
26
|
|
|
25
27
|
## To Do
|
|
26
28
|
|
|
27
29
|
+ Tests!
|
|
28
|
-
+ When rejecting an order, payment is not refunded
|
data/lib/shoppe/paypal/engine.rb
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
module Shoppe
|
|
2
2
|
module Paypal
|
|
3
3
|
class Engine < Rails::Engine
|
|
4
|
-
|
|
4
|
+
config.before_initialize do
|
|
5
|
+
config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
|
|
6
|
+
end
|
|
7
|
+
|
|
5
8
|
initializer "shoppe.paypal.initializer" do
|
|
6
9
|
Shoppe::Paypal.setup
|
|
7
10
|
end
|
|
@@ -10,7 +13,6 @@ module Shoppe
|
|
|
10
13
|
Shoppe::Order.send :include, Shoppe::Paypal::OrderExtensions
|
|
11
14
|
Shoppe::Payment.send :include, Shoppe::Paypal::PaymentExtensions
|
|
12
15
|
end
|
|
13
|
-
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shoppe-paypal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dean Perry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: shoppe
|
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
version: '0'
|
|
79
79
|
requirements: []
|
|
80
80
|
rubyforge_project:
|
|
81
|
-
rubygems_version: 2.
|
|
81
|
+
rubygems_version: 2.4.5
|
|
82
82
|
signing_key:
|
|
83
83
|
specification_version: 4
|
|
84
84
|
summary: A PayPal payment module for Shoppe.
|