workarea-paypal 2.0.8

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.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintignore +2 -0
  4. data/.eslintrc +24 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  6. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  8. data/.gitignore +19 -0
  9. data/.rspec +2 -0
  10. data/.scss-lint.yml +188 -0
  11. data/.yardopts +1 -0
  12. data/CHANGELOG.md +314 -0
  13. data/CODE_OF_CONDUCT.md +3 -0
  14. data/CONTRIBUTING.md +3 -0
  15. data/Gemfile +6 -0
  16. data/LICENSE +52 -0
  17. data/README.md +47 -0
  18. data/Rakefile +54 -0
  19. data/app/assets/images/workarea/admin/payment_icons/paypal.svg +1 -0
  20. data/app/assets/images/workarea/storefront/payment_icons/paypal.svg +1 -0
  21. data/app/assets/javascripts/workarea/storefront/paypal/modules/update_checkout_submit_text.js +60 -0
  22. data/app/controllers/workarea/storefront/checkout/place_order_controller.decorator +13 -0
  23. data/app/controllers/workarea/storefront/paypal_controller.rb +51 -0
  24. data/app/models/workarea/payment.decorator +27 -0
  25. data/app/models/workarea/payment/authorize/paypal.rb +31 -0
  26. data/app/models/workarea/payment/capture/paypal.rb +35 -0
  27. data/app/models/workarea/payment/purchase/paypal.rb +31 -0
  28. data/app/models/workarea/payment/refund/paypal.rb +26 -0
  29. data/app/models/workarea/payment/tender/paypal.rb +11 -0
  30. data/app/models/workarea/search/order_text.decorator +8 -0
  31. data/app/services/workarea/paypal/setup.rb +114 -0
  32. data/app/services/workarea/paypal/update.rb +69 -0
  33. data/app/view_models/workarea/admin/paypal_view_model.rb +6 -0
  34. data/app/view_models/workarea/store_front/checkout/payment_view_model.decorator +18 -0
  35. data/app/view_models/workarea/store_front/credit_card_view_model.decorator +7 -0
  36. data/app/view_models/workarea/store_front/paypal_view_model.rb +6 -0
  37. data/app/views/workarea/admin/orders/tenders/_paypal.html.haml +2 -0
  38. data/app/views/workarea/api/orders/tenders/_paypal.json.jbuilder +3 -0
  39. data/app/views/workarea/storefront/carts/_paypal_checkout.html.haml +1 -0
  40. data/app/views/workarea/storefront/checkouts/_paypal_error.html.haml +6 -0
  41. data/app/views/workarea/storefront/checkouts/_paypal_payment.html.haml +12 -0
  42. data/app/views/workarea/storefront/order_mailer/tenders/_paypal.html.haml +3 -0
  43. data/app/views/workarea/storefront/order_mailer/tenders/_paypal.text.haml +2 -0
  44. data/app/views/workarea/storefront/orders/tenders/_paypal.html.haml +2 -0
  45. data/bin/rails +17 -0
  46. data/config/initializers/append_points.rb +19 -0
  47. data/config/initializers/workarea.rb +7 -0
  48. data/config/locales/en.yml +19 -0
  49. data/config/routes.rb +4 -0
  50. data/lib/workarea/paypal.rb +34 -0
  51. data/lib/workarea/paypal/engine.rb +8 -0
  52. data/lib/workarea/paypal/version.rb +5 -0
  53. data/test/dummy/Rakefile +6 -0
  54. data/test/dummy/app/assets/config/manifest.js +4 -0
  55. data/test/dummy/app/assets/javascripts/application.js +13 -0
  56. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  57. data/test/dummy/app/controllers/application_controller.rb +3 -0
  58. data/test/dummy/app/helpers/application_helper.rb +2 -0
  59. data/test/dummy/app/jobs/application_job.rb +2 -0
  60. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  61. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  62. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  63. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  64. data/test/dummy/bin/bundle +3 -0
  65. data/test/dummy/bin/rails +4 -0
  66. data/test/dummy/bin/rake +4 -0
  67. data/test/dummy/bin/setup +34 -0
  68. data/test/dummy/bin/update +29 -0
  69. data/test/dummy/config.ru +5 -0
  70. data/test/dummy/config/application.rb +24 -0
  71. data/test/dummy/config/boot.rb +5 -0
  72. data/test/dummy/config/cable.yml +9 -0
  73. data/test/dummy/config/environment.rb +5 -0
  74. data/test/dummy/config/environments/development.rb +54 -0
  75. data/test/dummy/config/environments/production.rb +86 -0
  76. data/test/dummy/config/environments/test.rb +43 -0
  77. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  78. data/test/dummy/config/initializers/assets.rb +11 -0
  79. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  80. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  81. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  82. data/test/dummy/config/initializers/inflections.rb +16 -0
  83. data/test/dummy/config/initializers/mime_types.rb +4 -0
  84. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  85. data/test/dummy/config/initializers/session_store.rb +3 -0
  86. data/test/dummy/config/initializers/workarea.rb +5 -0
  87. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  88. data/test/dummy/config/locales/en.yml +23 -0
  89. data/test/dummy/config/puma.rb +47 -0
  90. data/test/dummy/config/routes.rb +5 -0
  91. data/test/dummy/config/secrets.yml +22 -0
  92. data/test/dummy/config/spring.rb +6 -0
  93. data/test/dummy/db/seeds.rb +2 -0
  94. data/test/dummy/log/.keep +0 -0
  95. data/test/dummy/public/404.html +67 -0
  96. data/test/dummy/public/422.html +67 -0
  97. data/test/dummy/public/500.html +66 -0
  98. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  99. data/test/dummy/public/apple-touch-icon.png +0 -0
  100. data/test/dummy/public/favicon.ico +0 -0
  101. data/test/integration/workarea/storefront/paypal_integration_test.rb +345 -0
  102. data/test/integration/workarea/storefront/place_order_integration_test.decorator +11 -0
  103. data/test/models/workarea/payment/authorize/paypal_test.rb +94 -0
  104. data/test/models/workarea/payment/capture/paypal_test.rb +69 -0
  105. data/test/models/workarea/payment/purchase/paypal_test.rb +94 -0
  106. data/test/models/workarea/payment/refund/paypal_test.rb +69 -0
  107. data/test/models/workarea/payment_test.decorator +34 -0
  108. data/test/models/workarea/search/admin/order_test.decorator +32 -0
  109. data/test/services/workarea/paypal/setup_test.rb +120 -0
  110. data/test/services/workarea/paypal/update_test.rb +221 -0
  111. data/test/system/workarea/storefront/cart_system_test.decorator +14 -0
  112. data/test/system/workarea/storefront/logged_in_checkout_system_test.decorator +9 -0
  113. data/test/test_helper.rb +10 -0
  114. data/workarea-paypal.gemspec +21 -0
  115. metadata +170 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c4248cb5d49919c3127e58d42467c9ed70ba88dd4c177819195a38aded7d10bb
4
+ data.tar.gz: 4604a3d5492402173b997b8d117803ac2de245ffdb9aff045c466147c8994e68
5
+ SHA512:
6
+ metadata.gz: 66f2654be6b58a5ff5b32bf02e1ffe9b1b76aa414e2239fd9767649fa96d682180bac60cc92c75051f7b9e61811dd8d81ea8cbfe53da3509ff0db36de8538ef9
7
+ data.tar.gz: efe996eab95e4de4fdb814cbe2aadaaaa79b318eb389e89df8eb969a8de0b9ce580e38c92672dd66c24a2aa2d2f5bc718669b48b23fd65b114df757d9abfd793
@@ -0,0 +1,20 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.rb,*.haml,*.decorator,*.yml,*.yaml,*.jbuilder}]
12
+ indent_size = 2
13
+ indent_style = space
14
+
15
+ [{*.js,*.jst,*.ejs,*.scss}]
16
+ indent_size = 4
17
+
18
+ [*.md]
19
+ indent_size = 4
20
+ trim_trailing_whitespace = false
@@ -0,0 +1,2 @@
1
+ **/test/**/*.js
2
+ testing/**/spec_helper.js
@@ -0,0 +1,24 @@
1
+ {
2
+ "extends": "eslint:recommended",
3
+ "rules": {
4
+ "semi": [1, "always"]
5
+ },
6
+ "globals": {
7
+ "window": true,
8
+ "document": true,
9
+ "WORKAREA": true,
10
+ "$": true,
11
+ "jQuery": true,
12
+ "_": true,
13
+ "feature": true,
14
+ "JST": true,
15
+ "Turbolinks": true,
16
+ "I18n": true,
17
+ "Chart": true,
18
+ "Dropzone": true,
19
+ "strftime": true,
20
+ "Waypoint": true,
21
+ "wysihtml": true,
22
+ "LocalTime": true,
23
+ }
24
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve Workarea
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ⚠️**Before you create**⚠️
11
+ Please verify the issue you're experiencing is not part of your Workarea project customizations. The best way to do this is with a [vanilla Workarea installation](https://developer.workarea.com/articles/create-a-new-host-application.html). This will help us spend time on fixes/improvements for the whole community. Thank you!
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '....'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Workarea Setup (please complete the following information):**
27
+ - Workarea Version: [e.g. v3.4.6]
28
+ - Plugins [e.g. workarea-blog, workarea-sitemaps]
29
+
30
+ **Attachments**
31
+ If applicable, add any attachments to help explain your problem, things like:
32
+ - screenshots
33
+ - Gemfile.lock
34
+ - test cases
35
+
36
+ **Additional context**
37
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Documentation request
3
+ about: Suggest documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your documentation related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm confused by [...]
12
+
13
+ **Describe the article you'd like**
14
+ A clear and concise description of what would be in the documentation article.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for Workarea
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,19 @@
1
+ .byebug_history
2
+ .bundle/
3
+ Gemfile.lock
4
+ .sass-cache/
5
+ log/*.log
6
+ pkg/
7
+ spec/dummy/public/system/dragonfly
8
+ spec/dummy/db/*.sqlite3
9
+ spec/dummy/log/*.log
10
+ spec/dummy/tmp/
11
+ spec/dummy/.sass-cache
12
+ test/dummy/public/system/
13
+ test/dummy/log/*.log
14
+ test/dummy/tmp/
15
+ .DS_Store
16
+ node_modules
17
+ test/reports
18
+ package.json
19
+ yarn.lock
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --failure-exit-code 0
@@ -0,0 +1,188 @@
1
+ # Extension of the default configuration:
2
+ # https://github.com/causes/scss-lint/blob/master/config/default.yml
3
+
4
+ linters:
5
+ Comment:
6
+ enabled: false
7
+
8
+ DeclarationOrder:
9
+ enabled: true
10
+
11
+ ElsePlacement:
12
+ enabled: true
13
+ style: new_line
14
+
15
+ EmptyRule:
16
+ enabled: false
17
+
18
+ HexLength:
19
+ enabled: true
20
+ style: long
21
+
22
+ Indentation:
23
+ enabled: true
24
+ allow_non_nested_indentation: true
25
+ character: space
26
+ width: 4
27
+
28
+ LeadingZero:
29
+ enabled: true
30
+ style: include_zero
31
+
32
+ MergeableSelector:
33
+ enabled: true
34
+ force_nesting: false
35
+
36
+ PropertySortOrder:
37
+ enabled: true
38
+ ignore_unspecified: false
39
+ separate_groups: false
40
+ order:
41
+ - display
42
+ -
43
+ - position
44
+ - top
45
+ - right
46
+ - bottom
47
+ - left
48
+ - z-index
49
+ -
50
+ - margin
51
+ - margin-top
52
+ - margin-right
53
+ - margin-bottom
54
+ - margin-left
55
+ -
56
+ - margin-collapse
57
+ - margin-top-collapse
58
+ - margin-right-collapse
59
+ - margin-bottom-collapse
60
+ - margin-left-collapse
61
+ -
62
+ - padding
63
+ - padding-top
64
+ - padding-right
65
+ - padding-bottom
66
+ - padding-left
67
+ -
68
+ - width
69
+ - height
70
+ - max-width
71
+ - max-height
72
+ - min-width
73
+ - min-height
74
+ -
75
+ - float
76
+ - clear
77
+ -
78
+ - color
79
+ -
80
+ - font
81
+ - font-size
82
+ - font-style
83
+ - font-family
84
+ - font-weight
85
+ - font-variant
86
+ - font-smoothing
87
+ -
88
+ - line-height
89
+ - letter-spacing
90
+ - word-spacing
91
+ -
92
+ - text-align
93
+ - text-indent
94
+ - text-shadow
95
+ - text-overflow
96
+ - text-rendering
97
+ - text-transform
98
+ - text-decoration
99
+ - text-size-adjust
100
+ -
101
+ - word-break
102
+ - word-wrap
103
+ -
104
+ - white-space
105
+ -
106
+ - background
107
+ - background-size
108
+ - background-color
109
+ - background-image
110
+ - background-repeat
111
+ - background-position
112
+ - background-attachment
113
+ -
114
+ - border
115
+ - border-top
116
+ - border-right
117
+ - border-bottom
118
+ - border-left
119
+ -
120
+ - border-image
121
+ - border-spacing
122
+ - border-collapse
123
+ -
124
+ - border-color
125
+ - border-top-color
126
+ - border-right-color
127
+ - border-bottom-color
128
+ - border-left-color
129
+ -
130
+ - border-style
131
+ - border-top-style
132
+ - border-right-style
133
+ - border-bottom-style
134
+ - border-left-style
135
+ -
136
+ - border-width
137
+ - border-top-width
138
+ - border-right-width
139
+ - border-bottom-width
140
+ - border-left-width
141
+ -
142
+ - border-radius
143
+ - border-top-right-radius
144
+ - border-bottom-right-radius
145
+ - border-bottom-left-radius
146
+ - border-top-left-radius
147
+ - border-radius-topright
148
+ - border-radius-bottomright
149
+ - border-radius-bottomleft
150
+ - border-radius-topleft
151
+ -
152
+ - box-shadow
153
+
154
+ SelectorFormat:
155
+ enabled: true
156
+ convention: hyphenated_BEM
157
+
158
+ SingleLinePerSelector:
159
+ enabled: false
160
+
161
+ SpaceAfterPropertyColon:
162
+ enabled: true
163
+ style: at_least_one_space
164
+
165
+ SpaceBeforeBrace:
166
+ enabled: true
167
+ style: space
168
+ allow_single_line_padding: true
169
+
170
+ VariableForProperty:
171
+ enabled: true
172
+ properties:
173
+ - color
174
+ - font-family
175
+ - background-color
176
+
177
+ # These default settings may be problematic to implementors. They are not
178
+ # ommitted so that they may be adjusted as needed during an implementation.
179
+ #
180
+ # For documentation:
181
+ # https://github.com/causes/scss-lint/blob/master/lib/scss_lint/linter/README.md
182
+
183
+ DuplicateProperty:
184
+ enabled: true
185
+
186
+ PropertySpelling:
187
+ enabled: true
188
+ extra_properties: [] # Add experimental CSS to this array, if needed
@@ -0,0 +1 @@
1
+ --files CHANGELOG.md
@@ -0,0 +1,314 @@
1
+ Workarea Paypal 2.0.8 (2019-08-21)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Open Source!
5
+
6
+
7
+
8
+ Workarea Paypal 2.0.7 (2019-06-11)
9
+ --------------------------------------------------------------------------------
10
+
11
+ * Improve Accuracy Of `Paypal::Setup` Tests
12
+
13
+ The test cases for `Paypal::Setup` mock out an `Order` without
14
+ necessarily going through the entire pricing system to do so. Reading
15
+ this code therefore doesn't make sense, because the price adjustments
16
+ added to the mocked order don't accurately reflect what would happen in
17
+ the real world. To remedy this, Workarea now creates an actual order in
18
+ the database and uses the `#add_item` and `#adjust_pricing` methods to
19
+ add items and price adjustments, respectively, so that not only will
20
+ this test fail if any breaking changes in our orders system would cause
21
+ a production-level problem in PayPal, but also reading the test code is
22
+ a bit more straightforward, leading to better developer
23
+ understandability.
24
+
25
+ PAYPAL-78
26
+ Tom Scott
27
+
28
+
29
+
30
+ Workarea Paypal 2.0.6 (2019-05-14)
31
+ --------------------------------------------------------------------------------
32
+
33
+ * Update README to Include Relevant Documentation
34
+
35
+ The README for this gem has been rewritten to include relevant
36
+ information on how to set the plugin up. All non-essential information
37
+ has been removed, assuming that if you're reading this page, you already
38
+ have https://gems.weblinc.com set up with Bundler, and you already know to
39
+ contact sales@workarea.com if you want to use the platform. Information
40
+ on how to get the plugin up and running has been added in addition to
41
+ the existing configuration example.
42
+
43
+ PAYPAL-79
44
+ Tom Scott
45
+
46
+ * Update for workarea v3.4 compatibility
47
+
48
+ PAYPAL-77
49
+ Matt Duffy
50
+
51
+
52
+
53
+ Workarea Paypal 2.0.5 (2018-05-01)
54
+ --------------------------------------------------------------------------------
55
+
56
+ * Release version 2.0.5
57
+
58
+ Curt Howard
59
+
60
+ * Specify currency during PayPal payment operations
61
+
62
+ When using PayPal as a payment tender in checkout, specify the currency
63
+ as a 3-character uppercase String. If this is not done, all amounts are
64
+ defaulted to USD. Supports sites that allow checkout from multiple
65
+ different currencies.
66
+
67
+ PAYPAL-75
68
+ Tom Scott
69
+
70
+ * Factor in shipping when pricing order for PayPal
71
+
72
+ Shipping was being excluded from the order subtotal, resulting in an
73
+ erroneous redirect back to the addresses step of checkout. We're now
74
+ factoring in the shipping records for an order when pricing the order in
75
+ `Paypal::Update` to remedy this.
76
+
77
+ PAYPAL-48
78
+ Tom Scott
79
+
80
+ * Leverage Workarea Changelog task
81
+
82
+ ECOMMERCE-5355
83
+ Curt Howard
84
+
85
+
86
+
87
+ WebLinc PayPal 2.0.4 (2018-02-20)
88
+ --------------------------------------------------------------------------------
89
+
90
+ * Fix test class name
91
+
92
+ The `Workarea::Payment::Capture::PaypalTest` was named incorrectly, and
93
+ thus impossible to decorate in case tests failed.
94
+
95
+ PAYPAL-74
96
+ Tom Scott
97
+
98
+
99
+ WebLinc PayPal 2.0.3 (2017-10-17)
100
+ --------------------------------------------------------------------------------
101
+
102
+ * Fix duplicate IDs
103
+
104
+ PAYPAL-72
105
+ Curt Howard
106
+
107
+ WebLinc PayPal 2.0.2 (2017-07-07)
108
+ --------------------------------------------------------------------------------
109
+
110
+ * Add proxy to gateway autoconfiguration
111
+
112
+ PAYPAL-69
113
+ Ben Crouse
114
+
115
+ * Remove jshint and replace with eslint
116
+
117
+ PAYPAL-68
118
+ Dave Barnow
119
+
120
+
121
+ WebLinc PayPal 2.0.1 (2017-05-26)
122
+ --------------------------------------------------------------------------------
123
+
124
+ * Update README
125
+
126
+ WebLinc PayPal 2.0.0 (2017-05-17)
127
+ --------------------------------------------------------------------------------
128
+
129
+ * Autoconfigure Paypal gateway based on secrets
130
+
131
+ PAYPAL-60
132
+ Eric Pigeon
133
+
134
+ * Prevent saved credit cards being selected when returning from paypal
135
+
136
+ PAYPAL-62
137
+ Beresford, Jake
138
+
139
+ * Removed paypal from credit_card_issuers configuration, render icon using inline_svg instead
140
+
141
+ PAYPAL-59
142
+ Beresford, Jake
143
+
144
+ * Adds PayPal payment type to credit card issuers config and adds icon to be rendered.
145
+
146
+ * Moved append points into initializer
147
+
148
+ PAYPAL-59
149
+ Beresford, Jake
150
+
151
+ * Upgrade paypal for Workarea 3
152
+
153
+ PAYPAL-56
154
+ Eric Pigeon
155
+
156
+
157
+ WebLinc PayPal 1.1.0 (2017-03-28)
158
+ --------------------------------------------------------------------------------
159
+
160
+ * PAYPAL-57: Only use the PayPal e-mail address if the order does not already have an e-mail address
161
+ Stephanie Staub
162
+
163
+ * Change payment method messaging when paypal auth is complete.
164
+
165
+ PAYPAL-50
166
+ Beresford, Jake
167
+
168
+ * Update checkout payment submit button when user selects paypal as payment method.
169
+
170
+ PAYPAL-50
171
+ Beresford, Jake
172
+
173
+
174
+ WebLinc PayPal 1.0.3 (2016-06-13)
175
+ --------------------------------------------------------------------------------
176
+
177
+ * Refactor store front spec
178
+
179
+ Start with valid payment details and replace with
180
+ invalid data as needed
181
+
182
+ PAYPAL-39
183
+ Kristen Ward
184
+
185
+ * Fix paypal checkout after failed credit card
186
+
187
+ After a user enters an invalid credit card, paypal
188
+ checkout does not complete. instead users are brought
189
+ through an infinite loop of going through the paypal gateway
190
+ and returning to workarea checkout to try again.
191
+
192
+ When setting the payment method to paypal, also clear any credit
193
+ cards that might still exist.
194
+
195
+ Add unit and request test
196
+
197
+ PAYPAL-39
198
+ Kristen Ward
199
+
200
+ * Ensure correct order total on paypal completion
201
+
202
+ Upon return from paypal gateway, users are given an error
203
+ message due to the current checkout failing `purchasable?`
204
+ at the payment step.
205
+
206
+ Order.total_price is not matching the payment tendered amount
207
+ due to shipping and tax being ignored.
208
+
209
+ Run Pricing.perform at this step to include the shipping total
210
+ and tax in order.total_price
211
+
212
+ PAYPAL-39
213
+ Kristen Ward
214
+
215
+
216
+ WebLinc PayPal 1.0.2 (2016-05-09)
217
+ --------------------------------------------------------------------------------
218
+
219
+ * Handle invalid address from paypal.
220
+
221
+ PAYPAL-38
222
+ Jeff Yucis
223
+
224
+
225
+ WebLinc PayPal 1.0.1 (2016-04-05)
226
+ --------------------------------------------------------------------------------
227
+
228
+
229
+ WebLinc PayPal 1.0.0 (January 13, 2016)
230
+ --------------------------------------------------------------------------------
231
+
232
+ * Update for compatibility with WebLinc 2.0
233
+
234
+ * Replace absolute URLs with relative paths
235
+
236
+ * Send item level discounts as separate items to paypal
237
+
238
+ Reference Jeffers commit 30a4a7c99e2
239
+
240
+ Change order level adjustments included in subtotal to discounts only.
241
+ All order level price adjustments were previously being applied.
242
+
243
+ PAYPAL-35
244
+
245
+ * Rename order_decorator to payment_decorator
246
+
247
+ Update file path
248
+
249
+ PAYPAL-36
250
+
251
+ * Do not reset checkout when paypal start called from checkout
252
+
253
+ PAYPAL-34
254
+
255
+
256
+ WebLinc PayPal 0.8.0 (October 6, 2015)
257
+ --------------------------------------------------------------------------------
258
+
259
+ * Update for compatibility with the WebLinc v0.12 Ruby API.
260
+
261
+ ECOMMERCE-1543
262
+
263
+ * Clear PayPal tender when credit card tender is selected.
264
+
265
+ PAYPAL-29
266
+
267
+ 2d8c8376cf6f7102538b0deae7fd2af00c59e876
268
+
269
+
270
+ WebLinc PayPal 0.7.0 (July 12, 2015)
271
+ --------------------------------------------------------------------------------
272
+
273
+ * Fix checkout validation to not require an additional payment method with
274
+ PayPal.
275
+
276
+ PAYPAL-22
277
+
278
+ 3890b2daa02e81b2426a5b9618143b8b31014042
279
+
280
+ * Update for compatibility with workarea 0.10.0.
281
+
282
+ 8b5969eb875469f28ce323f9b53669ba8d4889ab
283
+ 6df7380f85e41c1b2d7ecf42e943690489ddb12f
284
+ eca72df11fe466a11ae150347aff384d1412e17e
285
+ 358d737374cdc647c75c6a798783343069e64184
286
+
287
+ * Send BN code to PayPal for revenue sharing on all PayPal transactions.
288
+
289
+ ActiveMerchant sends the `Gateway.application_id` as the BN code. Set
290
+ PayPal gateway `application_id` to WebLinc's affiliate code (BN code).
291
+
292
+ PAYPAL-20
293
+
294
+
295
+ WebLinc PayPal 0.6.0 (June 1, 2015)
296
+ --------------------------------------------------------------------------------
297
+
298
+ * Update for compatibility and consistency with workarea 0.9.0.
299
+
300
+ * Fix typos in paypal.rb.
301
+
302
+ PAYPAL-17
303
+
304
+
305
+ WebLinc PayPal 0.5.0 (April 10, 2015)
306
+ --------------------------------------------------------------------------------
307
+
308
+ * Update testing environment for compatibility with WebLinc 0.8.0.
309
+
310
+ * Use new decorator style for consistency with WebLinc 0.8.0.
311
+
312
+ * Remove gems server secrets for consistency with WebLinc 0.8.0.
313
+
314
+ * Update assets for compatibility with WebLinc 0.8.0.