Skip to content

Commit 3f83fd7

Browse files
committed
explicitly disable invoicing and payments
1 parent e5f75dc commit 3f83fd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ecommerce/processes/lib/processes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def call(event_store, command_bus)
2929
self.class.event_store = event_store
3030
self.class.command_bus = command_bus
3131
enable_coupon_discount_process(event_store, command_bus)
32-
notify_payments_about_order_total_value(event_store, command_bus)
32+
# notify_payments_about_order_total_value(event_store, command_bus)
3333
enable_shipment_sync(event_store, command_bus)
3434
determine_vat_rates_on_order_placed(event_store, command_bus)
3535
set_invoice_payment_date_when_order_confirmed(event_store, command_bus)
@@ -38,7 +38,7 @@ def call(event_store, command_bus)
3838

3939
enable_release_payment_process(event_store, command_bus)
4040
enable_shipment_process(event_store, command_bus)
41-
enable_order_item_invoicing_process(event_store, command_bus)
41+
# enable_order_item_invoicing_process(event_store, command_bus)
4242
enable_reservation_process(event_store, command_bus)
4343
build_pricing_offer_from_ordering_items(event_store, command_bus)
4444
end

rails_application/test/integration/orders_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def test_happy_path
5151
assert_select("dd", "Shopify")
5252
assert_select("td", "10.0%")
5353
get "/orders"
54+
skip("payments not integrated into order lifecycle yet")
5455
post "/orders/#{order_id}/pay"
5556
follow_redirect!
5657
assert_select("td", text: "Paid")

0 commit comments

Comments
 (0)