solidus_stripe 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 929c7fff2fc949fe3979ae7a9403903b563a3ef67c5c8588f171c9bf42181ce6
4
- data.tar.gz: a00f65c3222947871e6a97e5fd3e7d72eb7e5edc134128e300578ff68b13f876
3
+ metadata.gz: f68aa018f2285bca3b2e83f1e8b24c298d1fa20eeb17fbef910d40d8b834dc26
4
+ data.tar.gz: e4c6aa0ad92d4662db397b801b72018c8509e9e45dad46284327a0ae14f806e9
5
5
  SHA512:
6
- metadata.gz: 8090f338dfefc83e121000e88d467eabc6631e6501eea750b2103c31d285a1a28364e01968c0586f564099780d69bde29f736cc2bf4b34f9456b7bf02ea84501
7
- data.tar.gz: d7e5b50dd60a80c74754acd3bbcc0552af926c04d05f380995319a0336daf2aa37f8c127966d68dcecf8bb308d7ef6607ff5d948bc2e23a1544179a41c93fac5
6
+ metadata.gz: 43f77d5e6a4fa663f167863153952d89402918bdb5e0acba45d7d8694eeecfea45bdc0d61193be59812ae28e339ccfea25ee14a1ef0e11003e4e6b1eaee5314d
7
+ data.tar.gz: 457c2af116129d7566a9d427533b4d8c986aa43c6748cf92fb56838582c17b11b3572213b6c154c3c978bda1fa166267fac3416c25634a6977eb8b793c633877
@@ -4,10 +4,25 @@
4
4
 
5
5
  [Full Changelog](https://github.com/solidusio/solidus_stripe/compare/v3.0.0...HEAD)
6
6
 
7
+ **Fixed bugs:**
8
+
9
+ - Duplicates charges with Payment Intents [\#44](https://github.com/solidusio/solidus_stripe/issues/44)
10
+ - Create a single charge when using Stripe Payment Intents [\#45](https://github.com/solidusio/solidus_stripe/pull/45) ([spaghetticode](https://github.com/spaghetticode))
11
+
7
12
  **Closed issues:**
8
13
 
14
+ - Stripe Elements submit button stuck in disabled state. [\#39](https://github.com/solidusio/solidus_stripe/issues/39)
15
+ - Visa credit card type is blank [\#36](https://github.com/solidusio/solidus_stripe/issues/36)
9
16
  - Pay with Apple Pay from cart page [\#23](https://github.com/solidusio/solidus_stripe/issues/23)
10
17
 
18
+ **Merged pull requests:**
19
+
20
+ - Custom Stripe Elements field options [\#42](https://github.com/solidusio/solidus_stripe/pull/42) ([stuffmatic](https://github.com/stuffmatic))
21
+ - Improve the way Stripe Elements validation errors are displayed [\#40](https://github.com/solidusio/solidus_stripe/pull/40) ([stuffmatic](https://github.com/stuffmatic))
22
+ - Fix stripe-to-solidus card type mapping [\#38](https://github.com/solidusio/solidus_stripe/pull/38) ([stuffmatic](https://github.com/stuffmatic))
23
+ - Add hook to provide custom Stripe Elements options [\#37](https://github.com/solidusio/solidus_stripe/pull/37) ([stuffmatic](https://github.com/stuffmatic))
24
+ - Change order description that we pass to Stripe [\#35](https://github.com/solidusio/solidus_stripe/pull/35) ([kennyadsl](https://github.com/kennyadsl))
25
+
11
26
  ## [v3.0.0](https://github.com/solidusio/solidus_stripe/tree/v3.0.0) (2020-03-11)
12
27
 
13
28
  [Full Changelog](https://github.com/solidusio/solidus_stripe/compare/v2.1.0...v3.0.0)
@@ -21,12 +21,13 @@ SolidusStripe.PaymentIntents.prototype.onPrPayment = function(payment) {
21
21
  var that = this;
22
22
 
23
23
  this.elementsTokenHandler(payment.paymentMethod);
24
- fetch('/stripe/confirm_payment', {
24
+ fetch('/stripe/confirm_intents', {
25
25
  method: 'POST',
26
26
  headers: {
27
27
  'Content-Type': 'application/json'
28
28
  },
29
29
  body: JSON.stringify({
30
+ form_data: this.form.serialize(),
30
31
  spree_payment_method_id: this.config.id,
31
32
  stripe_payment_method_id: payment.paymentMethod.id,
32
33
  authenticity_token: this.authToken
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusStripe
4
- VERSION = "3.1.0"
4
+ VERSION = "3.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team