Tom Wilson
01/28/2022, 11:03 PMdelivery
state. That seems odd to me, because all the shipments have shipping methods selected, and there's no button I can press to move the order into payment
state.
This seems to be because the admin controller for the update
action in CustomerDetails only calls next
on the order, instead of calling order.contents.advance
. That means the order moves from the address
state into delivery
as expected, but won't even attempt to move past delivery
. That seems like an oversight, to me - so just trying to understand if there's some reason this behavior would be desirable.
The line of code in question is https://github.com/solidusio/solidus/blob/master/backend/app/controllers/spree/admin/orders/customer_details_controller.rb#L34 - it seems like this should be @order.contents.advance
instead.Tom Wilson
01/28/2022, 11:04 PMadvance
would be wrong here.Ricky
01/31/2022, 10:55 AM## my trying
1. bundle add solidus_stripe
2. bundle exec rails g solidus_stripe:install
3. Configure Stripe Setting at config/initializers/spree.rb
===
config.static_model_preferences.add(
Spree::PaymentMethod::StripeCreditCard,
'stripe_env_credentials',
secret_key: Rails.application.credentials.stripe[:secret_key],
publishable_key: Rails.application.credentials.stripe[:publish_key],
stripe_country: 'US',
v3_elements: false,
v3_intents: false,
server: Rails.env.production? ? 'production' : 'test',
test_mode: !Rails.env.production?
)
===
Evgeny
01/31/2022, 3:10 PMstate
and zip code
address fields optional without breaking anything?Andre Schweighofer
01/31/2022, 4:17 PMFactoryBot.modify do
factory :user do
name { "Jane Doe" }
birthday { 21.years.ago }
end
end
which seems to work, however in our CI env the load order seems to be different and I’m getting a gems/factory_bot-4.11.1/lib/factory_bot/registry.rb:24:in find: Factory not registered: user (ArgumentError)
error.
I already tried to ensure the gem factories are loaded before by requiring "spree/testing_support/factories"
or calling Spree::TestingSupport::FactoryBot.add_paths_and_load!
but that didn’t work / leads to different errors.
Has anyone achieved this already?Sajid Ali
02/01/2022, 6:55 AMSajid Ali
02/01/2022, 7:09 AMOleksandr Pozniak
02/02/2022, 1:52 PMStarted GET "/admin/login" for ::1 at 2022-02-02 15:50:03 +0200
ActionController::RoutingError (uninitialized constant Spree::Admin::UserSessionsController
candidate = constant.const_get(name)
^^^^^^^^^^
Did you mean? Spree::Admin::UsersController
raise MissingController.new(error.message, error.name)
^^^^^):
Help me please 🙂
I just setup project based on the guide in github gem readmeAndrew
02/03/2022, 11:00 AMsolidus_searchkick
to work solidus 3.x?Andres Bernardi
02/04/2022, 11:58 AMOleksandr Pozniak
02/07/2022, 12:14 PMTyler Kocheff
02/07/2022, 4:57 PMCan't verify CSRF token authenticity.
We use hatchbox for all our Solidus sites, and this is the first one we're seeing this on, and it's all of a sudden, so very odd to troubleshoot.
Hoping someone might have some suggestionsTom Wilson
02/07/2022, 10:33 PMsolidus_product_assembly
) that happens to provide a deface
override that I don't want. They're overriding some behavior on the shipment screen, and I'd like to disable that particular override. Is there a reasonable way to do that?Tom Wilson
02/07/2022, 10:34 PMOleksandr Pozniak
02/11/2022, 2:15 PMActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"spree/admin/dry_cleaners"}
0) Spree::Admin::DryCleanersController GET #index shows a list of all dry_cleaners
Failure/Error: get :index
ActionController::UrlGenerationError:
No route matches {:action=>"index", :controller=>"spree/admin/dry_cleaners"}
# frozen_string_literal: true
require 'rails_helper'
describe Spree::Admin::DryCleanersController, type: :controller do
let(:admin_user) { create(:user) }
before do
sign_in admin_user
end
describe 'GET #index' do
let!(:dry_cleaners) { create_list(:dry_cleaner, 5) }
it 'shows a list of all dry_cleaners' do
get :index
expect(response).to be_successful
expect(assigns(:dry_cleaners)).to match_array(dry_cleaners)
end
end
end
jakemumu
02/13/2022, 10:58 PMnumber
as a column on spree payments but i can't find what this matches to in paypalfabian torres
02/15/2022, 2:17 AMfabian torres
02/15/2022, 2:17 AMfabian torres
02/15/2022, 2:17 AMfabian torres
02/15/2022, 2:19 AMfabian torres
02/15/2022, 2:38 AMJared Norman
Daniel
02/15/2022, 2:34 PMOleksandr Pozniak
02/15/2022, 3:10 PMOleksandr Pozniak
02/16/2022, 2:17 PMrequire 'cancan'
module Spree
module PermissionSets
module Admin
class BookUsersPermissions < PermissionSets::Base
def activate!
can :manage, Book
can :display, Book
# can :manage, Spree::Order
# can :manage, :all
end
end
end
end
end
And if i try to open
Book page in admin side, i got
Authorization Failure
and if i uncomment
can :manage, :all
all works pretty good…
What i did wrong? Thanks!Duncan Akello
02/18/2022, 4:03 PMGustavo Iglesias
02/22/2022, 4:21 AMdocker-compose
I'm kinda new to it and ruby as well, but I've been tasked to get this project up and running, any help here is highly appreciated.
I've cloned the repo from: https://github.com/solidusio/solidus
and removed the MYSQL_VERSION
so instead I use postgresql only.
when checking for the logs of the container I can only see:
The Gemfile's dependencies are satisfied
and the containers are up and running, but when going to the browser i get an ERR_EMPTY_RESPONSE
🤔 what can i be missing here?Regnauld Ethan Fane Buntario
02/22/2022, 5:44 AMSajid Ali
02/24/2022, 11:18 AMgem 'acts_as_favoritor'
alternate this gem?Manu
02/24/2022, 8:45 PMBundler could not find compatible versions for gem "solidus":
In snapshot (Gemfile.lock):
solidus (= 3.1.5)
In Gemfile:
solidus (~> 3.1)
solidus_virtual_gift_card was resolved to 1.0.1, which depends on
solidus (>= 1.0.0, < 1.2.0)