https://solidus.io logo
Join Slack
Powered by
# support
  • r

    Rasmus Styrk

    07/07/2022, 5:58 AM
    Is there a way to disable shipping address completely? 🙂
    k
    • 2
    • 6
  • r

    Rasmus Styrk

    07/07/2022, 5:59 AM
    basically just default to billing address is okay
  • r

    Rasmus Styrk

    07/08/2022, 5:15 AM
    does anyone know what
    payments/source_views/*.json.jbuilder
    is supposed to return?
    k
    • 2
    • 1
  • t

    Tom Wilson

    07/08/2022, 8:54 PM
    Hey, folks - I have kind of a random problem that I'm curious if anyone else has run into. I'm calling
    order.complete
    on an order, and I've got some small number of orders that end up in strange state. The
    order.state
    is set to
    complete
    , and the payment is charged, but the payment state is still
    nil
    . It appears that, somehow, the call to
    order.complete
    has succeeded, but the
    finalize!
    method hasn't run successfully.
    g
    • 2
    • 2
  • t

    Tom Wilson

    07/08/2022, 8:55 PM
    Does that ring a bell for anyone? I'm kind of suspecting that maybe there's a transaction failure somewhere, or... some such?
  • s

    Sabo

    07/10/2022, 7:15 PM
    Hello, I have a new issue caused by
    Copy code
    LoadError in Spree::Admin::ProductsController#index
    
    Could not open library 'glib-2.0.so.0': File not found.
    Could not open library 'libglib-2.0.so.0': File not found
  • s

    Sabo

    07/10/2022, 7:15 PM
    https://github.com/solidusio/solidus/issues/4444
  • s

    Sabo

    07/10/2022, 7:19 PM
    I have however when I run
    pkg_info -Q glib
    : glib2-2.70.5 (installed)
  • v

    victor

    07/12/2022, 2:01 PM
    I am implementing a rails frontend version for a Dutch payment gateway integration. . I am. having a little trouble implementing this in plain ERB/Rails. How would I go about doing this using rails forms instead of the API? Thought it be nice to work without writing any Javascript but I noticed the PayPal integration doesn't do it either.
    g
    • 2
    • 6
  • j

    Jonathan Zisser

    07/12/2022, 9:05 PM
    Hi folks, quick question. I am trying to create a product that only has a master variant (i.e. no option types/values). Everything is going great, except I seem to be unable to set the stock for the product in Solidus Admin:
    v
    k
    • 3
    • 2
  • j

    Jonathan Zisser

    07/12/2022, 9:06 PM
    Is this behavior expected? Is there some other way I’m supposed to set stock for a product when it only has a master variant?
  • j

    Jonathan Zisser

    07/12/2022, 9:07 PM
    The documentation/code comments seem to imply that a master variant should be able to have its stock levels set as long as there are no other variants on the product, and I’ve confirmed this in the console by looking up the master variant and calling:
    variant.product.variants.count
    …which returns 0
    t
    k
    • 3
    • 2
  • t

    Tyler Kocheff

    07/14/2022, 7:36 PM
    We have a customer that would like a conditional order number prefix, based on the country of a user's shipping address. I've been able to successfully implement this already and it's working in an an order_decorator method, but before we commit this change to production, is there anything obvious that might break changing the order number
    after_transition to: :complete
    ? Haven't noticed anything so far but wanted to ask if anyone has experience with this.
    j
    e
    • 3
    • 12
  • r

    Roberto Temelkovski

    07/14/2022, 7:58 PM
    Hey everyone, has anyone encountered the following error when setting up a solidus on a fresh rails project (in particular, during the
    rails g solidus:install
    command)? If so, can someone point me to how to fix it ? For reference, I'm using Ruby v2.7.6 and Rails 6.1.6.1
    Copy code
    rake aborted!
    Psych::DisallowedClass: Tried to load unspecified class: Symbol
    <project_directory>/db/seeds.rb:9:in `<main>'
    j
    k
    • 3
    • 3
  • t

    tvdeyen

    07/15/2022, 8:07 AM
    Another PSA: If you still use Rails 6.0 and 6.1 and use YAML aliases in your
    database.yml
    (what you most likely do because Rails' app generator creates it with the
    default: &default
    alias) AND use latest Solidus releases (what you should do for the latest Rails security update), you will most likely run into errors like
    Copy code
    Psych::BadAlias: Cannot load database configuration:
      Unknown alias: default
    Fix it by pinning
    psych
    (Rubys YAML parser) below v4
    Copy code
    gem "psych", "< 4"
    Happy hacking
    👍 1
    k
    w
    • 3
    • 3
  • m

    Michael C

    07/19/2022, 11:40 PM
    On the latest version of Solidus I’m getting the following error when I try to deploy on Passenger:
    Copy code
    You have already activated stringio 0.1.0, but your Gemfile requires stringio 3.0.2. Since stringio is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports stringio as a default gem. (Gem::LoadError)
    I can fix it by SSH’ing into the production server and manually running
    sudo gem install stringio --version=3.0.2
    (or setting up a script to run that on deploy), but I’d rather figure out the root cause and prevent it from happening on new deployments. I think the recent introduction of Psych as a dependency is what’s causing this issue. That’s the only gem I can find that has StringIO as an explicit dependency. Anyone seen this before? Is there any way to prevent Psych from interacting with the default StringIO install?
    g
    j
    • 3
    • 17
  • s

    Shota Morinaga

    07/21/2022, 4:14 AM
    Hello everyone. I am trying to integrate Solidus Starter Frontend with Solidus Stripe. However, it doesn’t work. I have confirmed that it can be integrated without error in the standard Solidus environment. Do I need to make any special settings to use Strip with Solidus Starter Frontend?
    j
    • 2
    • 2
  • j

    jakemumu

    07/22/2022, 5:10 PM
    Question: Does Solidus 3.1 support zeitwerk?
    j
    • 2
    • 4
  • a

    alessandro

    07/22/2022, 5:32 PM
    set the channel topic: Ask your Solidus-related questions here. Please follow basic netiquette, use threads and keep conversations in this channel!
  • a

    alessandro

    07/22/2022, 5:32 PM
    set the channel description: Need help? Post your questions here!
  • j

    jakemumu

    07/26/2022, 10:54 PM
    Alright.. i've got one more super funky question -- I recently updated to 3.1 & when i do
    Spree::Product.where(name: x)
    it's returning the same object twice with the same ID
    j
    • 2
    • 16
  • j

    jakemumu

    07/29/2022, 4:58 PM
    Has anyone gotten this handled in solidus? https://help.avalara.com/Frequently_Asked_Questions/AvaTax_FAQ/ACTION_NEEDED%3A_Color[…]47b7a2554e21bd0b14df&amp;elqaid=32039&amp;elqat=1&amp;elqCampaignId=9986
    a
    k
    • 3
    • 8
  • r

    Rasmus Styrk

    07/29/2022, 7:10 PM
    Is there any way to know if an order was created from admin?
    j
    • 2
    • 2
  • w

    Wladjmir

    08/01/2022, 10:46 AM
    hi, on a fresh solidus 3.1 (ruby 2.7.2) installation, using solidus_starter_frontend i get this error rendering home page
  • w

    Wladjmir

    08/01/2022, 10:47 AM
    ExecJS::ProgramError in Spree::Home#index …_app/views/spree/layouts/spree_application.html.erb_ where line # raised:
    Copy code
    ReferenceError: Can't find variable: BigInt
    n
    j
    • 3
    • 22
  • k

    Kurtis

    08/02/2022, 5:56 PM
    Hey all, just having an issue with the solidus_paypal_braintre gem. These are the errors I’m receiving: Terminal
    Copy code
    Can't verify CSRF token authenticity.
    Copy code
    Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms | Allocations: 579)
    Copy code
    ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
    Console
    Copy code
    Payee(s) passed in transaction does not match expected merchant id. Please ensure you are passing merchant-id=UAQHRW3SXB9ZG or merchant-id=sb-ooejy4710514@personal.example.com to the sdk url. <https://developer.paypal.com/docs/checkout/reference/customize-sdk/>
    Copy code
    POST <http://localhost:3000/solidus_paypal_braintree/transactions> 422 (Unprocessable Entity)
    Copy code
    Error submitting transaction: Something bad happened!
    t
    • 2
    • 2
  • k

    Kurtis

    08/02/2022, 5:56 PM
    I’ve got a Sandbox account on Braintree that is linked to the same PayPal Sandbox credentials too
  • k

    Kurtis

    08/02/2022, 5:56 PM
    I am using the Braintree API merchant id, public key and private key for Braintree gem
  • k

    Kurtis

    08/02/2022, 5:56 PM
    Many thanks in advance 🙂
  • w

    Wladjmir

    08/04/2022, 12:33 PM
    hi, can’t figure out, how to set default locale for starter frontend. i tryied on initializer/spree.rb I18n.locale = :it but on _l_ocale__selector partial I18n.locale is again setted to :en
    t
    • 2
    • 3
1...181920...39Latest