workarea-paypal 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/app/views/workarea/storefront/checkouts/_paypal_payment.html.haml +1 -1
- data/config/locales/en.yml +1 -1
- data/config/routes.rb +5 -3
- data/lib/workarea/paypal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11b3db0ccfcaf33684bf21632d8a5ad2db9092f21993f68495b357b80962e1e3
|
4
|
+
data.tar.gz: 2fb729f7458c8d9925dfdf9f8728ccbd90eeccd0e8dada3384a76e5d47a697f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3fd4c2e52cf635eb6460b02041cef631026b31f9358a16c6b7ec55b00a92ff3f89c8eeec4ea4d14d48041c31e680d07ad26cd0c2e68383bc94ee287087d1d12
|
7
|
+
data.tar.gz: a35ed6dfce864733502fe2eab4a688776d1b35e6c189bd54f2a42d5ab75369cd03f588514c3bf97e9805d66b6d61d9ce31e520bd8169e3eec8246abf5cbc68f1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
Workarea Paypal 3.0.4 (2020-06-17)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Scope routes to include locale
|
5
|
+
|
6
|
+
|
7
|
+
Ben Crouse
|
8
|
+
|
9
|
+
* Corrected minor typo
|
10
|
+
|
11
|
+
|
12
|
+
JurgenHahn
|
13
|
+
|
14
|
+
|
15
|
+
|
1
16
|
Workarea Paypal 3.0.3 (2020-05-26)
|
2
17
|
--------------------------------------------------------------------------------
|
3
18
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
%span.button-property__text= t('workarea.storefront.paypal.paypal')
|
12
12
|
%p.checkout-payment__primary-method-description
|
13
13
|
- if step.paypal? && step.payment.errors.none?
|
14
|
-
%span= t('workarea.storefront.paypal.
|
14
|
+
%span= t('workarea.storefront.paypal.payment_received')
|
15
15
|
- elsif step.paypal? && step.payment.errors.present?
|
16
16
|
%span= t('workarea.storefront.paypal.payment_failed')
|
17
17
|
- else
|
data/config/locales/en.yml
CHANGED
@@ -23,7 +23,7 @@ en:
|
|
23
23
|
on_continue: Select a PayPal payment option.
|
24
24
|
paid_with_paypal: Paid with PayPal
|
25
25
|
payment_failed: Your submitted PayPal payment could not be completed. Select a new method and try again.
|
26
|
-
|
26
|
+
payment_received: Thank You! We have received your information back from PayPal.
|
27
27
|
Please confirm that the shipping address and shipping method are correct,
|
28
28
|
then click on 'Place Order'.
|
29
29
|
paypal: PayPal
|
data/config/routes.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
Workarea::Storefront::Engine.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
|
3
|
+
post 'paypal' => 'paypal#create'
|
4
|
+
put 'paypal/:id/approved' => 'paypal#update', as: :paypal_approved
|
5
|
+
post 'paypal/event' => 'paypal#event', as: :paypal_event
|
6
|
+
end
|
5
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-paypal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bcrouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|