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

    octave

    05/09/2022, 8:38 PM
    Hi! After updating solidus to
    2.11.15
    with the latest
    solidus_paypal_braintree
    extension. I’m getting this error when submitting payment:
    StateMachines::InvalidTransition:  Cannot transition state via :invalidate from :checkout (Reason(s): Payment method can't be blank)
    Only in production, it works fine in development/sandbox. Did something change?
    k
    s
    j
    • 4
    • 28
  • o

    Oleksandr Pozniak

    05/10/2022, 9:30 AM
    Hello! Does anyone know how to make it so that in the list of Variants that appear at the stage of adding a product to the cart, in addition to options information, also add a price display? Thanks!
    ✅ 1
    k
    • 2
    • 3
  • y

    Youssef

    05/10/2022, 12:51 PM
    Hello! what is the safest way to show up "ship" button when the ordered items are available and payment method is Cash on delivery?
    Copy code
    shipment_state: "pending",
    payment_state: "balance_due",
    order.payments.any? { |payment| payment.payment_method.type == "Spree::PaymentMethod::Check" }
  • t

    Tyler Pulse

    05/10/2022, 4:24 PM
    Somewhat a generic question but tied into current gem stack with Solidus. Has anyone implemented solidus_jwt in a headless environment? And if so, how are you passing the token around? I would like to refrain from using local storage and either store the token in-memory (complex due to state resets on refresh) or use an http cookie. Again, this is a broad brush topic but I figured I would throw it out there.
    j
    t
    j
    • 4
    • 31
  • o

    Oleksandr Pozniak

    05/11/2022, 1:32 PM
    Hello! Does anyone have the example of code with the attachment image for Spree::Product.master? I would create a custom API endpoint and attach up to 4 images via this endpoint. But a little bit stuck in the source of Solidus core… Thanks!
    g
    • 2
    • 1
  • s

    Stephen Dicks

    05/11/2022, 2:48 PM
    Hi, I'm trying to integrate solidus-stripe with v3_elements (v3.2.1) but keep getting an error: 'A token may not be passed in as a PaymentMethod'. Anyone else had any success with this? [I'm on an old version of Solidus (2.3) as I'm trying to migrate from Spree)
    k
    • 2
    • 6
  • t

    Tyler Pulse

    05/11/2022, 7:00 PM
    Out of the box, solidus as two roles:
    default
    and
    admin
    - the former having access to customer related endpoints and with the latter containing the obvious. Regardless of what authentication and security layers you decide on post-user login, how can a user register in the client safely while using
    token
    that is tied to
    admin
    permissions? Is storing it in-memory our best bet? Even if you set up user-auth correctly, the idea of putting a
    bearer token
    in your front end is scary. You are quite literally talking about the keys to the kingdom with regards to all your user's data. Has anyone tackled this?
    c
    • 2
    • 48
  • t

    Tyler Pulse

    05/11/2022, 7:02 PM
    I suppose I could generate a unique token just for user creation
  • a

    Andre Schweighofer

    05/12/2022, 3:21 PM
    Hi all, Is there any special trick for loading Solidus properly? I’m seeing this error some of the time (and couldn’t pinpoint yet when it happens):
    Copy code
    *** ActiveRecord::SubclassNotFound Exception: The single-table inheritance mechanism failed to locate the subclass: 'Spree::Calculator::DefaultTax'. [...]
    I can fix this by manually requiring
    "spree/calculator/default_tax"
    but obviously I think this shouldn’t be needed. Is there anything I’m missing?
    j
    • 2
    • 2
  • t

    Tyler Kocheff

    05/12/2022, 6:34 PM
    Does solidus_paypal_commerce_platform support Paypal IPN? One of our sites is setup with this as a payment method which appears to be working alright, but the store owner got an email from Paypal about the endpoint it's looking for not existing (of course since it's a PHP endpoint, probably something setup on their old website). Hoping there's an easy way to set this up or maybe it's not even necessary.
    Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
    example.com/index.php/paypal/ipn/index/
    s
    • 2
    • 3
  • t

    Tyler Pulse

    05/13/2022, 7:31 PM
    First time using a decorator! If I want to add something to`ApplicationController`, is it as simple as doing
    ApplicationControllerDecorator
    and renaming the file in snack case like so
    application_controller_decorator.rb
    m
    g
    • 3
    • 5
  • f

    Felipe Passos

    05/17/2022, 5:12 PM
    Hello, I'm trying to install Solidus for the first time and I'm getting this error when I try to add solidus package on the project:
    Copy code
    Fetching gem metadata from <https://rubygems.org/>..........
    Resolving dependencies.......
    Bundler could not find compatible versions for gem "activerecord":
      In snapshot (Gemfile.lock):
        activerecord (= 7.0.3)
    
      In Gemfile:
        rails (~> 7.0.3) was resolved to 7.0.3, which depends on
          activerecord (= 7.0.3)
    
        solidus was resolved to 2.5.0.beta1, which depends on
          solidus_core (= 2.5.0.beta1) was resolved to 2.5.0.beta1, which depends on
            activerecord (~> 5.1.0)
    
    Running `bundle update` will rebuild your snapshot from scratch, using only
    the gems in your Gemfile, which may resolve the conflict.
    
    Bundler could not find compatible versions for gem "rails":
      In snapshot (Gemfile.lock):
        rails (= 7.0.3)
    
      In Gemfile:
        rails (~> 7.0.3)
    
        solidus was resolved to 1.0.0.pre, which depends on
          solidus_core (= 1.0.0.pre) was resolved to 1.0.0.pre, which depends on
            rails (~> 4.2.0)
    
    Running `bundle update` will rebuild your snapshot from scratch, using only
    the gems in your Gemfile, which may resolve the conflict.
    j
    w
    • 3
    • 5
  • f

    Felipe Passos

    05/17/2022, 5:12 PM
    Anyone can help me?
  • g

    Given Reed

    05/17/2022, 6:59 PM
    Have a weird one that I hope somebody can help me with that I'm sure is just eluding me because I've been staring at it for too long... Relevant info: • I set up a custom promo action that adds a product to the cart and adds an adjustment to the order. • On the "rules" side it's set up to trigger if any of the products in the list are in the cart. • It's set to automatically check all carts, no promo code required. Everything works great most of the time. The issue I'm running into is that there are some of the products that will add the extra item but not the adjustment. After some digging through the logs, it looks like the adjustment gets added but then removed. I scrolled up in the logs just a little and I saw that it was trying to match a variant that was specifically not a master
    Copy code
    [1m[36mSpree::Variant Load (4.8ms)[0m  [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = $2 ORDER BY "spree_variants"."position" ASC[0m  [["product_id", 3340], ["is_master", false]]
    In fact, the 2 products that I'm having problems with don't have any variants. So they're set as the master. I didn't see a flag or setting to relax that in the promo setup, and I haven't done any tweaking or adjusting to the rule, so it should just be the stock vanilla product rule. Or am I barking up the wrong tree completely and being the master is unrelated and it's something else all together?
    • 1
    • 3
  • f

    Felipe Passos

    05/17/2022, 9:54 PM
    Hi, I'm trying to find something on the docs about internationalization, but I didn't find anything. Is there anyway to translate all platform to portuguese?
    e
    • 2
    • 2
  • j

    Jose Coelho

    05/17/2022, 10:24 PM
    Hi all, how are you doing? I’ve been doing some research of how to show items from only one Zone/Stock location selectable by the user. We are building an internal store to our company. We have multiple offices and would like to allow the user to choose one office to “buy” stuff from. We would like to show stock only for items available on the selected office. Shipping is not supported at the moment. I wonder what would be the best way to achieve this. * Should I create multiple stores, and the store selector just switches the website subdomain? Then I can add a zone to that store, and control stock locations per zone? * Do I have a way to keep only one store, then one stock location per office, one zone per office and allow a user to select a a zone on the UI? How could I do this, do I create an address to the user with the selected stock location address?
    c
    • 2
    • 3
  • i

    Ismael Camara

    05/21/2022, 9:59 PM
    Hello. Hope you're doing well. I want to thank you for this great product. It's really awesome. I m building an ecommerce website with its own frontend so basically using Solidus API and Backend only. On the frontpage of the store website I wanna show the categories to allow customers to shop by category. I'm able to get the available categories (as Taxons) but the JSON response doesn't contain the icon of the taxon. Is there a way i could get this from the API request ? Otherwise good can I have this? Also is there a plan to provide this feature in the near future? Thank you.
    k
    • 2
    • 2
  • t

    Tyler Kocheff

    05/23/2022, 7:03 PM
    Trying to add a verify address checkout step. We're getting a validated address from Fedex and want to show it to the user to either confirm the suggested, or keep original. Followed this guide, but can't seem to figure out how to get it to advance to the next step of the checkout. Can anyone point me in the right direction? https://edgeguides.solidus.io/cookbook/redefining-checkout-steps
    k
    • 2
    • 13
  • l

    Locon

    05/27/2022, 5:40 PM
    Hi, currently I'm trying to avoid to store a credit card(payment source) in the user's wallet during the checkout process using the checkout controller. 1. The
    Spree::PaymentCreate
    has the
    build_source
    method that links the user payment_source with the order user, which is fine. - If I skip this user linking using a flag, it doesn't save the credit card to the user's wallet. 2. Also, the
    Spree::Order
    model has a method
    add_payment_sources_to_wallet
    that uses the
    add_payment_sources_to_wallet_class
    to add the payment source to the user's wallet. And this is executed during the order transition to complete (
    after_transition to: :complete, do: :add_payment_sources_to_wallet
    ) - If I skip this step using a flag, it doesn't save the credit card to the user's wallet. What I'm trying to find is a way where I can skip the 1st point that I mentioned above, because it's ok to link the payment source to the user. But linking the payment source to the user is still adding the payment source to the user's wallet and I want to avoid that. I'm sure that I'm skipping some step during the checkout process, and that step is marking as default the payment source and adding to the wallet. Thanks in advance!
    c
    • 2
    • 8
  • z

    Zachary Jones

    05/27/2022, 11:01 PM
    maybe this is the more active channel I should have posted to: https://solidusio.slack.com/archives/C03L07BUM/p1653692383530359
    c
    • 2
    • 1
  • j

    jakemumu

    05/30/2022, 1:27 AM
    Anyone seen crashes from the paypal extension on this line:
    return _success_response_.table.result.table.id
    r
    • 2
    • 2
  • u

    Utsav Khadka

    06/04/2022, 3:37 PM
    Hello, i have been using solidus for quite a while now and i love it. I have developed extensions specific to my country as well. That being said, i would like to point out that my primary sales channel has been instagram and facebook, however i have not been able to find gems that allow me to do add product catalog to faceboom within Solidus. Can anyone point me to the right direction please? Also is there any development going on regarding this feature. Thank you.
    k
    • 2
    • 3
  • l

    Lilly

    06/10/2022, 3:13 AM
    Hi all We want to allow only pick up (or click and collect) from multiple locations on our Solidus store, as well as disable the address and delivery steps if possible. Currently, we've disabled the address & delivery steps and set the user’s desired stock location using a cookie early in the user flow. As a result (and awkwardly for us), this implementation never takes an address, thus cannot calculate shipping (without the address) and then in turn we don’t create any stock movement from the order - leaving our stock location count on hand unchanged. Does anyone have any idea/s on how we can maintain a user flow without the address/delivery steps, allow pick up from multiple stock locations and still ensure the count on hand for the stock location is kept up to date? Any prior experience or help would be much appreciated. Thanks in advance.
    p
    w
    • 3
    • 2
  • w

    Wesley974

    06/13/2022, 5:09 PM
    Hello, Can I install Solidus on OpenBSD 7.1 ?
  • w

    Wesley974

    06/13/2022, 5:09 PM
    What Rails version is needed ? Is there a guide ?
  • p

    peter

    06/13/2022, 5:12 PM
    https://guides.solidus.io/developers/ and the in progress guides (I think these are better) https://edgeguides.solidus.io/
  • w

    Wesley974

    06/13/2022, 5:15 PM
    I wish I wish to sell digital downloads, using Stripe, and allow user to download his invoice, one time payment. Is this suitable for this kind of app ?
    g
    w
    • 3
    • 3
  • r

    Rasmus Styrk

    06/14/2022, 6:35 PM
    Hey guys. Thanks for an awesome shopping solution. I have made some extensions that I want to publish (credit card payments with AuthorizeNet and a custom email fulfillments based on product - they are on my GitHub), but I have an issue with my current installation running in heroku. Images are disappearing randomly, for some reason mostly on front page. I have setup S3 and redis as cache server. Is there anything else I need to do so images won't disappear? Is it a caching issue ?
    j
    • 2
    • 14
  • b

    benmorganio

    06/14/2022, 8:37 PM
    So as I'm setting up a new Solidus app with master, I'm encountering this warning:
  • b

    benmorganio

    06/14/2022, 8:37 PM
    Copy code
    /Users/ben/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: already initialized constant GObject::GOBJECT_TYPE
    /Users/ben/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: previous definition of GOBJECT_TYPE was here
    w
    • 2
    • 1
1...161718...39Latest