Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Comment out change for digital links creation.

Matthew Kennedy733cae589648
diff --git a/core/app/models/spree/order/checkout.rb b/core/app/models/spree/order/checkout.rb
index 4ab06a9e48..484d66a8df 100644
--- a/core/app/models/spree/order/checkout.rb
+++ b/core/app/models/spree/order/checkout.rb
@@ -83,7 +83,8 @@ module Spree
order.process_payments!
end
- order.create_digital_links if order.some_digital?
+ #TODO: Why is this causing issues.
+ #order.create_digital_links if order.some_digital?
end
after_transition to: :complete, do: :persist_user_credit_card
before_transition to: :payment, do: :set_shipments_cost