Justin Mac Carthy
01/17/2022, 10:39 AMRicky
01/18/2022, 1:51 AM## try
1. yarn add github:nathanvda/cocoon#c24ba53
2. require("cocoon") added at vendor/assets/javascripts/spree/backend/all.js
3. get error `Uncaught ReferenceError: require is not defined`
## environment
rails 6.1.4.1
solidus 3.1.2
ruby 2.7.1
node 14.15.0
yarn 1.22.10
What would be the best way to do it?Andrew
01/18/2022, 1:48 PMsolidus_searchkick
to work solidus 3.x?Xan
01/18/2022, 8:24 PMJared Norman
Xan
01/18/2022, 8:26 PMJared Norman
Jared Norman
Xan
01/18/2022, 8:29 PMJared Norman
Xan
01/18/2022, 8:39 PMXan
01/18/2022, 8:39 PMXan
01/18/2022, 8:43 PMJared Norman
Jared Norman
Xan
01/18/2022, 8:49 PMJared Norman
Ricky
01/20/2022, 8:59 AMSpree::Ads
that is connected to Spree::Product
by has_one,
,and I want to CURD Spree::Ads
resource.Yonas T
01/20/2022, 5:34 PMAndre Schweighofer
01/24/2022, 4:07 PMorder
looks like this:
1. The store admin manually supplies the shipment information to a 3rd party shipment provider
2. The store admin then has to add the tracking information and click “ship” in the admin panel
Now I’d like to integrate a 3rd party instant delivery provider.
For that I’d need to automatically push the shipment
information to our shipment provider and mark the shipment
as `shipped`:
1. Make an API call to our shipping provider
2. Update the shipping state and add the tracking information
What is the cleanest/intended way to achieve this? Here are my ideas:
- Add a step after :complete
to the order state machine that makes the API calls and updates the shipment or
- Add an after_create
callback to the shipment through a decorator that makes the API calls
- Make the API call from the checkout_controller when the order is completed and update the shipment
from there
Or is there an option which is simpler that I’m not seeing?Edwin Cruz
01/24/2022, 4:14 PMTom Wilson
01/24/2022, 4:15 PMAndre Schweighofer
01/24/2022, 4:45 PMfinalize_order
right? I just found it odd that the shipment_method
is so “dumb” by default 🙂Edwin Cruz
01/24/2022, 4:55 PMSpree::Config.state_machines.shipment
Daniel
01/25/2022, 3:34 PMen
) and allow other languages (e.g. de, fr, it
) in the frontend? It seems both are dependent on I18n.available_locales
.Daniel
01/25/2022, 4:24 PMJay Bensal
01/26/2022, 11:08 PMpuma.rb: port ENV.fetch("PORT") { 4000 }
• my command to start is bundle exec rails s -p 4000 -b '0.0.0.0'
• Dockerfile exposes port 4000Xan
01/27/2022, 2:50 PMavailable_countries
that are getting pulled for the shipping/billing form? Trying to remove all but 2 of themAhmad Ridwan Fauzi
01/28/2022, 12:12 PMsolidus_paypal_commerce_platform
extension here. Anyone here has encountered this issue when checking out with PayPal on live mode?
{"ack":"permission_denied","message":"Insufficient privileges"}
Here are what I have done to troubleshoot the issue:
1. Create the credentials using the wizard mode, still not working
2. Use the static credentials I setup on my PayPal developer dashboard
3. Change my PayPal account to Business typeAhmad Ridwan Fauzi
01/28/2022, 12:18 PMerr: 'Error: Api: /smart/api/order/1BT78617AR157972Y ret…nts=buttons¤cy=USD&intent=authorize:2:90802'