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.

Undo unprocessed_payments scope

Life Lofranco562c9b6bf396
diff --git a/core/app/models/spree/order/payments.rb b/core/app/models/spree/order/payments.rb
index f3c24b59ac..ccabe5a94e 100644
--- a/core/app/models/spree/order/payments.rb
+++ b/core/app/models/spree/order/payments.rb
@@ -36,7 +36,7 @@ module Spree
end
def unprocessed_payments
- payments.checkout
+ payments.select(&:checkout?)
end
private