Hello, I don’t have much experience in self-hosting, I’m buying a ProtonVPN subscription and would like to port forward. I have like no experience in self-hosting but a good amount in Linux. I’m planning on using Proxmox VE with a YunoHost VM. I already have a domain name from Njalla. I’m setting up a website for my computer store. I want it to have listings and payment options so they can check out there. I want my customer data to be secure. I don’t want it to have any JavaScript or nasty trackers. I want it to be FOSS. Any help is highly appreciated!

  • SirQuackTheDuck@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    You can’t get around JavaScript, it’s impossible to build a functioning online store without some kind of JS.

    Well, sure you can. It will just be a pain to use for your users, especially when validation comes into play.

    But a simple list with an “add to chart” button really won’t need any javascript.

    • impure9435@kbin.run
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      How would you integrate with a payment processor? Handling payments yourself means that you would have to comply with the PCI standard and get audits in regular intervals, which are insanely expensive and only make sense if you actually run a large business which makes money from card transactions.

      • SirQuackTheDuck@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        You don’t have to be PCI compliant for stuff like bank transfers or other forms of payment. Credit cards aren’t the default payment method everywhere.

        Maybe it’s pay on pickup, or just a simple mail with sepa wire transfer instructions.

        Also, the PSP can still use JS but your site still doesn’t need to have it. Services like Mollie and Stripe offer checkout environments they host, meaning you still don’t have to use JS on your site.

        • impure9435@kbin.run
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Having a Stripe integration literally means having JavaScript on your site. Sure, it doesn’t come from your website directly, but it’s still loaded and executed when someone visits the site and tries to pay. TL;DR: Of course it’s possible. Everything is possible. Having some FOSS JavaScript from WooCommerce isn’t that bad though, and you’ll likely need nonfree JS for payments anyway.