solidus_mp 1.1.4 → 1.1.5

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: d914f60f118cbe299729a75b093004c8ae369e45dcb8bdd9a8a9b3e3a32ee534
4
- data.tar.gz: ec0f3475cfb1077bfebfd7db60a192c9ad8f4ef577a3f19970b4ce54fd978fac
3
+ metadata.gz: 8c3f59c4d6b3776794be3a208bfee26f8e869857aac8ccdba1909f769ca73b16
4
+ data.tar.gz: c49b9521a9a46fdb770176e6d3acb20b538e492ffc17ff0277e5517d0e21b81e
5
5
  SHA512:
6
- metadata.gz: c9bc1695e9528fe3d22ad3699a13f5427fa9b8d6ba4ae71d9db01613047fb176aeb67ce56ea993d6d9a9acad338c73a19dc90c4066102bfef5c2071b54e3bcf5
7
- data.tar.gz: dd4411061a19f070d61914f965fd6337867b47f802b7702ee8cd440f1caf2fa4a973adea21f907dac6e87e730be6cff3ef7aa5ad864960cdd1047336c15c2cba
6
+ metadata.gz: 07a0f60515f7d75af387d9173b9920437e0494ebde5f302493576ceb8756e8c367c5d1de4f06d6c3a0d48624a680a8411cf0d5913212c677e0e5cf6d2732d736
7
+ data.tar.gz: f52f15663cd6ca977692187d01d6990633ac177e1f0327afe19cb3af31c4ead06e7a5df4c9757bb7439bec3f22905358fe3d9cfe568c88747bc0aafa4643c6dd
@@ -65,6 +65,7 @@ module SolidusMp
65
65
  mp_payment = MpApi::Payment.find_by_id(payment.source.external_id)
66
66
  return false if mp_payment.pix_paid?
67
67
  mp_payment.invalidate_pix!
68
+ payment.source.update(status: "cancelled")
68
69
  true
69
70
  end
70
71
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMp
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - caio