Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cal.com
  3. Error when configuring Stripe even if the environment variables are set correctly

Error when configuring Stripe even if the environment variables are set correctly

Scheduled Pinned Locked Moved Cal.com
stripeenvinvalidtype
7 Posts 4 Posters 922 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    valdeclem
    wrote on last edited by
    #1

    Hello, after installing and configuring the environment variables, when I try to install the Stripe option in this Cloudron Cal app, I get this batch of errors:

    stripe error

    Normally, the interface for adding the stripe option should look like this:
    alt text

    But my interface looks like this, he edit button for entering variables is missing:
    alt text
    The configuration button is missing, which already seems to be a problem.

    I've found github topics about this problem but no clear and precise solutions for self hosted app. Have you ever encountered this problem on cloudron?

    Like this person, I don't have the configuration button and yet I've configured the .env file using the filemanager in the cloudron space: but I can't get the Stripe app to work in Cal.
    I've tried the various solutions suggested in the github topic.

    However, I can't seem to check the cloudron integration code myself.
    Could there be a problem linking the data in the .env file in the Cloudron Cal app port?

    I'm using version Cal.com 3.7.14
    and I have also followed this configuration for .env
    https://cal.com/docs/introduction/quick-start/self-hosting/install-apps/stripe

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Just to be sure, have you restarted the app after changing the env file?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        valdeclem
        wrote on last edited by
        #3

        Yes, several times. I also tried to fill in the env when creating the app just before starting the admin account initialization, but even then, the env doesn't seem to be taken into account.
        What's disturbing is that some variables seem to be accepted, because the invoicing profile is accessible and generates the Stripe billing session to edit a profile, so the env file is read. However, the payment configuration is not recognized and, as mentioned in the first message, the variable edit button doesn't even appear in the payment module configuration (which is, I think, the starting point of the problem).

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          Could it be that the env variables have changed in name or variants by now? The app is under fast development, so maybe the docs are not up to speed on that side?

          1 Reply Last reply
          1
          • V Offline
            V Offline
            valdeclem
            wrote on last edited by
            #5

            Oh, I just realized... I downloaded the code via the cloudron interface to try and figure out what's going on and came across this Readme.

            It wasn't explcite until I found this....

            alt text

            I guess it's necessary to activate liscence to make the code work.

            1 Reply Last reply
            1
            • jordanurbsJ Offline
              jordanurbsJ Offline
              jordanurbs
              wrote on last edited by
              #6

              @valdeclem so does this mean we can't use stripe on Cloudron without paying for an upgrade?

              Doesn't make a lot of sense, the cal.com interface is generally pretty clear when something isn't available without an upgrade...

              1 Reply Last reply
              0
              • J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #7

                See also https://forum.cloudron.io/topic/13711/added-stripe-keys-to-.env-still-not-able-to-add-stripe-app

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search