Fabian V. Thobe
04/04/2025, 2:16 PMGerald Müller
04/04/2025, 2:29 PMGerald Müller
04/04/2025, 2:30 PMGerald Müller
04/04/2025, 2:33 PM1Maskhal
04/04/2025, 7:43 PMFabian V. Thobe
04/09/2025, 6:07 PMAlex P
04/10/2025, 5:54 PMauthorize
step maps to Stripe’s “create a Checkout Session”, and the Stripe success webhook maps to “capture”.
• Alternatively, I could avoid this customisation. Instead: my CheckoutController
would check whether my Spree::Order
is in the payment
state, and redirect to the Stripe Checkout if so. Separately, my webhook handler marks the order as complete
on success. But I guess then I’d miss out on “transaction history” – how many times a user attempted to pay, and when.
I’d love any advice from people more familiar with Solidus’ payment code about which approach seems better.Alex P
05/01/2025, 7:23 PMhas_option
(qv) supposed to be chainable? eg:
Spree::Product.find_by(slug: "metal-framed-poster").variants
.has_option("frame_colour", "copper")
.has_option("paper_type", "matte")
I’m finding this generates an inner join that will never work; it requires spree_option_types.name = 'frame_colour' AND spree_option_types.name = 'paper_type'
.Muhammad Haziq
05/05/2025, 10:10 AMgem 'solidus', github: 'solidusio/solidus'
and i want to replace my views completely on frontend side and some tweaks on admin side. What is the best option to update these views?Doug DeBold
05/14/2025, 2:50 PMSlackbot
05/23/2025, 7:57 AMAlex P
05/26/2025, 7:51 PMActionMailer::Preview
will load your previews if the class’ descendants are empty, but Solidus’ previews are still present: [Spree::MailerPreviews::ReimbursementPreview, Spree::MailerPreviews::OrderPreview, Spree::MailerPreviews::CartonPreview]
.
I’ve worked around this by monkeypatching ActionMailer::Preview.all to always call load_preview
, but it was tricky to track down the root cause! It’d be nice if this wasn’t necessary.Mateusz Porębski
05/27/2025, 3:34 PMBy using this extension, you are giving back to Solidus. PayPal will pay a fee to the maintainers (Nebulab) for each order made through the payment gateway.
Is this referral fee covered fully by PayPal or is it deducted from merchants revenue?Kim Tiel
05/27/2025, 6:00 PMAlex P
05/28/2025, 7:18 PM#money
is automatically available to me? (At least, when I call #money
on my Spree::ProductVariant#price
I get “undefined method ‘money’ for instance of BigDecimal.“)Kim Tiel
05/30/2025, 6:34 PMOrder R557038528 halted transition on event next state address: We are unable to calculate shipping rates for the selected items.
Failed to transition to next state. Errors: We are unable to calculate shipping rates for the selected items.
Doug DeBold
06/25/2025, 6:45 PMSlackbot
07/12/2025, 1:05 PMFredrick Amnehagen
07/18/2025, 9:15 AMGeorg Keferböck
07/21/2025, 9:13 PMAlex P
07/31/2025, 5:21 PMGeorg Keferböck
08/07/2025, 3:05 PMtvdeyen
Alex P
09/08/2025, 8:11 PMSpree::ShippingMethod
for the shipping providers in the quote, and add it to the customer’s Spree::Zone
if necessary. I also have a custom ShippingCalculator
that uses the POD quote to check for availability and cost.
I’m seeing some odd behaviour when I’m off the “happy path”, though, such as when the line items change in an order, or a customer revives an older order. My “choose delivery” page displays all the current_order.shipments.last.shipping_rates
, but these aren’t lining up with the data in my POD quote. I think this is because they’re remnants from a previous quote.
I can call #refresh_rates
on my shipment whenever I’m on the delivery page, and that gets me part of the way there. (It adds missing `ShippingMethod`s, but doesn’t remove obsolete ones. And I don’t think it adjusts the cost either). But I suspect there’s a more idiomatic/more comprehensive way of achieving this. Does anyone have any pointers?m b
09/09/2025, 9:25 AMIbrahim salem
09/09/2025, 9:30 AMm b
09/09/2025, 9:34 AMIbrahim salem
09/09/2025, 9:47 AMIbrahim salem
09/09/2025, 9:48 AMm b
09/09/2025, 9:51 AM