Lorrain Fontaine

By the way the targeted URL seems right (when I inspect the element) so it looks like SS is just not setting the targeted locale in memory :x

Lorrain Fontaine

Hi everyone. I'm using the LocaleMenu from the Fluent documentation, but everytime I click a lang in it, it keeps reloading the current page without switching the locales. Has anyone already seen this ? I'm using a fresh installation of SS4.5.1 with the latest update of Fluent btw

Lorrain Fontaine

Hi everyone. I recently installed a fresh version of SS 4.5.1, everything works like a charm untill right now : I cloned my repo to another computer, copied the database to a local server, the .env is good too, but my local website keeps trying to create a new database, and I have no real record of that database : the /dev/build is creating the fields but I can't manage to find where ^^'. It looks like my .env is ignored. Does anyone know what I am doing wrong? 😮

Eduard Ichim

If you change the DB in .env does it create a DB side by side to the one you imported in the new local?

Lorrain Fontaine

nop, it just tells me that it's not able to connect to the given DB :x

Lorrain Fontaine

Actually no, it looks like it's just ignoring my

  1. SS_DATABASE_NAME

variable

dorsetdigital

You don't have an old _ss_environment.php file, or another .env file in a parent directory do you?

Eduard Ichim

@Lorrain Fontaine I believe the enviroment, vagrant/docker/xamp or whatever you have created cannot communicate properly... I do have 4.5.1 and I have no problems with the DB, I'm using .env with no _ss_environment.php file, double check your credentials, try using command line in the environment that SS is, in order to connect to the DB

Lorrain Fontaine

@Eduard Ichim You’re probably right. I upgraded my vagrant machine and I believe it might come from there, I’ll try downgrading it :x . thank’s for the help 🙂

Lorrain Fontaine

Indeed, I had to reinstall my vagrant set up, I have no idea why, I probably upgraded something the wrong way but anyway the problem was on my side, thx again 😛


Show less replies
Lorrain Fontaine

Anyway, I still have a question : does anyone know how to configure paypal with silvershop ? I always get "Security header is not valid" when I submit the order, apparently the credentials I'm using are wrong but I can't really figure what's wrong, so if anyone has a step-by-step guide, it'd be great !

Lorrain Fontaine

Ok it looks like SilverShop\Model\Modifiers\Shipping has to be SilverShop\Model\Modifiers\Shipping\Simple, it seems legit since I was targetting a namespace and not a class..

👍 (1)
Lorrain Fontaine

Hi everyone. I'm trying to edit the config of the simple shipping modifier. In order to do so, I wrote the following lines in my shop.yml, but it doesn't work and the default values (located in SilverShop\Model\Modifiers\Shipping) are used instead of my desired config. Has anyone any clue about what I'm doing wrong? 🙂 (Merry christmas by the way ;-))

  1. SilverShop\Model\Modifiers\Shipping:
  2. default_charge: 80
  3. charges_by_country:
  4. - 'BE': 40
Lorrain Fontaine

My bad, it looks like this could be helpful ^^' : https://stackoverflow.com/questions/57553822/silverstripe-4-silvershop-core-paypal-expr-tax-shipping

Show 1 attachment(s)
Stack Overflow  
Silverstripe 4 silvershop-core paypal-expr. tax & shipping

With SS4 + silvershop-core + palpal-express: In the CMS/Catalog/Product -> Pricing i can fill in a Price. e.g.: € 12.90 (12,90) meaning the Base price. (= netto = exclusive Tax 15%) in shop.yml:

Hide attachment content
Lorrain Fontaine

Hi everyone. I’m trying to configure the “Simple” shipping flat rate (a defined amount per country). I checked the Simple.php shipping modifier, and noticed that it’s using the property “charges_by_country” loaded from some config. Does anyone know what it should look like and where I’m supposed to write that config ? I couldn’t manage to get any useful information :x

Lorrain Fontaine

Okay thank’s I’ll give it a shot and get back to you 😉