Wasp-lang

W

Wasp-lang

Join the community to ask questions about Wasp-lang and get answers from other members.

Join

Learn about opensaas

Hey there! Jahan this side. I'm looking to become an indie developer, I have knowledge on front end ( react.js ) and a little knowledge of backend using python with no knowledge of databases. I'm having trouble understanding the whole structure of opensaas boilerplate. I would really appreciate if someone can teach me ( paid job ) and guide me through by actually creating a project....

Open SaaS template without some funcitonalities? (e.g., without Auth)

What is the best way to remove some functionalities from the Open SaaS template? e.g., if I want to remove Stripe payments, how should I do it (ideally in a clean way)? Because I tried removing the Stripe related parts from main.wasp, but that yields errors because of Stripe related imports, so I go to the .tsx files that do those imports and remove them, but then I get errors because of these later imports that have been removed, and so on. Same thing happened with Auth. Cheers!...

Issue with Environment Variables after Binding Custom Domain on Fly.io

I deployed my client application using the environment variable REACT_APP_STRIPE_CUSTOMER_PORTAL=https://billing.stripe.com/p/login/test_14k9Cw2nYgbz25i7ss wasp deploy fly deploy. Everything worked fine until I bound my own domain. After binding the domain, all the environment variables stopped working and I haven't been able to rebind them. How can I resolve this issue?

deploying to custom URL does not work consistently

hey folks, I bought a domain off squarespace, and I am trying to deploy my app there, it seems to work on an off, sometimes the app is there, sometimes auth works (login button shows), and sometimes it doesnt. here are the steps I've taken. my domain is yellowbirdapp.com...
No description

Updating existing installations

When you make a new release for WASP or OpenSaaS is there a way for existing installations to merge new changes to live installations without breakage? If there is no system for doing this then existing installations will be stuck with older bugs and miss out on new features

Where should I deploy my open saas app?

Is there a commonly preferred platform? What should I be looking for?

Setting Fly.io machine configuration using wasp CLI deploy commands

Hi Team, Is it possible to change the default configuration of Fly.io machines using the wasp deploy fly CLI commands? I would like to run my application on a larger machine or a non-shared CPU machine. Below is the configuration of the server instance created by the Wasp deploy Fly CLI commands:...

Error calculating daily stats

I have commented out the use of Plausible to get the analytics:
//import { getDailyPageViews, getSources } from './plausibleAnalyticsUtils.js';
import { getDailyPageViews, getSources } from './googleAnalyticsUtils.js';
//import { getDailyPageViews, getSources } from './plausibleAnalyticsUtils.js';
import { getDailyPageViews, getSources } from './googleAnalyticsUtils.js';
...

Scheduling email sending with Pg-boss

Project Overview I have developed a feature that allows sending a list of tasks via email to the logged-in user using Mailgun. I now want to enhance this functionality by implementing a subscription service for users to receive a digest of new tasks based on a search profile. Key Requirements...

ai-generated - 403

When I try to generate a new Wasp app and choose "ai-generated", I put my key in the ENV file. When I echo it, it shows, but when I try to generate, I get this error: Request { host = "api.openai.com" port = 443...

implementation of refinedev/inferencer

I just tried to implement @refinedev/inferencer into wasp but it didn't work for me(meaby because im bad in frontend), has anyone managed to do it successfully or maybe it won't work due to different routing? Any ideas? Only idea i tried is to put rafine routing in MainPage but it have no sense....

Stripe Test Integration

I get the following response from the command line after authenticating with stripe CLI and didn't get the webhook signing secret: "Waiting for confirmation...No directory provided for file keyring"

Handling logic for Buy options after a purchase was complete + commerce transactional features

If a customer has just successfully completed a payment, they should not be presented with buy option for the same subscription again as this does not make sense in most standard scenarios.
Furthermore, for example, an upgrade should cause the customer to pay a gap pro-rata rather than have to pay the full amount again, and a downgrade if allowed should either 1) refund the customer the gap pro-rata or 2) not refund anything. Also, there should also be an option in terms of any subscription changes being deferred to the next payment cycle or being implemented on a pro-rata immediately-adjusted basis. ...

Invoicing?

Is the customer sent an invoice on successful completion of payment? I would think it's a mandatory feature of any SaaS template as it's not something that can be avoided?

SaaS setting/option not available during product setup in Stripe

In your Stripe integration instructions:
Make sure you select Software as a service (SaaS) as the product type.
I cannot find the SaaS setting/option during product setup in Stripe. I'm using a pre-existing Stripe account as a test which was never associated with SaaS products previously but rather hardware products. I don't know if I have to get some special type of Stripe account for SaaS specifically?...

Issue with stripe webhook in production

I was trying to test subscriptions in production (worked in local). When i did purchase transaction was successful but it didnt change subscription details in the database ( default ones i didnt touch them). Probably there is some issue related with webhooks but i double checked my stripe keys.
No description

Is there any alternative to Stripe?

Stripe is not allowed in many countries like Turkey. So is there any alternative for stripe?

Lemon Squeezy Integration into OpenSaas (Alternative to Stripe)

I will be working on integrating Lemon Squeezy with open saas, as stripe is not supported in my country, after i am done i will submit PR to the team for others to use it. If you have already done it or thinking of doing so, feel free to chime in and let's talk it out. Link to LemonSqueezy Docs -- ...
No description

Using action in backend

Hello! https://wasp-lang.dev/docs/data-model/operations/actions#declaring-actions I see we can use action in the backend. I want to do so to avoid code duplication....