effective_events 3.3.12 → 3.3.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70b3a0308b0533ff17758e4931f2291157f72fbc2307559b1dda03ae2fd6fc44
4
- data.tar.gz: a5ba8b0bac8ccf9ea36199307c77546efbe86a211d302df0b3c52f2b7b2ba1cc
3
+ metadata.gz: 6a9c677f05764da5a3bcdbebd851df2e7241ae7a35c03a2c44af95848dca922b
4
+ data.tar.gz: 33c30b4a476581c2e125b73fcbfddec4dcf48af1ae91114af02fc3970a16f38a
5
5
  SHA512:
6
- metadata.gz: 75d7da4a3fae8a70206f385e81f8b3e34bfbbe053000f10aaa3c966bc8764498575b2bee8c9cafa318fb010cc1fb491b29f71479fde3142adc66ec94608ea994
7
- data.tar.gz: c672ac5279abd9ff50bd8bde94c3048a7b543e1fc202c528da9d89659fd9f9b37bc1d68ca491f607e913c5586b48dd43a15068651f9898993d84204bc487dc73
6
+ metadata.gz: 64b27c657dc6ee6032b87f1d1c5176889c4c942d3ddd4b5c550ec8527f74071c1f5ed8e2f667aae05bd643d163502e051b385a4fefb23a7cae95aaf5482327a7
7
+ data.tar.gz: 44c31fd348068b70c0e2cd58527c7f566f7f42bce81f3755f42a4d4f1c45aac6a82e14d2377c8ff8c3cfd24e5661cefb0a6022eb4d3e92e25ae8c0fa422e5c13
@@ -574,10 +574,13 @@ module EffectiveEventsEventRegistration
574
574
  assign_attributes(current_step: :details) if current_step.blank? # Enables validations
575
575
  save!
576
576
 
577
- update_submit_fees_and_order! if submit_order.present? && !submit_order.purchased?
578
-
579
- after_commit do
580
- send_order_emails!
577
+ # Never touch a declined submit order. Rebuilding it would build a brand new pending
578
+ # order, which hides the declined one and breaks the submitted step. And there's no
579
+ # order email to send, the buyer was already told their payment was declined.
580
+ # The fees and order are rebuilt by ready! when they return to the checkout step.
581
+ unless submit_order&.declined?
582
+ update_submit_fees_and_order! if submit_order.present? && !submit_order.purchased?
583
+ after_commit { send_order_emails! }
581
584
  end
582
585
 
583
586
  true
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '3.3.12'.freeze
2
+ VERSION = '3.3.14'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.12
4
+ version: 3.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-07-24 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -332,7 +331,6 @@ homepage: https://github.com/code-and-effect/effective_events
332
331
  licenses:
333
332
  - MIT
334
333
  metadata: {}
335
- post_install_message:
336
334
  rdoc_options: []
337
335
  require_paths:
338
336
  - lib
@@ -347,8 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
347
345
  - !ruby/object:Gem::Version
348
346
  version: '0'
349
347
  requirements: []
350
- rubygems_version: 3.5.9
351
- signing_key:
348
+ rubygems_version: 4.0.17
352
349
  specification_version: 4
353
350
  summary: Event registrations, tickets and products
354
351
  test_files: []