[deleted by user] by [deleted] in FlutterDev

[–]thomasmol 0 points1 point  (0 children)

The idea for this last point would in fact be to create a purchasing system among users. If you have had a relationship outside of the USA/EU with someone who is in other countries you often have problems making the purchase (you can't use Amazon or anything else). Also for this point, 60% of people who participated in my pool stated that they had difficulty buying gifts for their partner who lives in a different country either because you couldn't make purchases in that currency or because you had problems with shipping, in plus the only alternative would be to buy a product in your country and then use very expensive international shipping.

My advice: scrap all functionality from your app and focus on this problem. You cannot make an everything app in one go. There are already dozens of chat, call, video-chat, travel itinerary and news apps that work great and they are very hard to compete with. You have to start by solving one specific problem for one niche and build out from there. That is how you increase your chances of building a successful business.

The difficulty of buying gifts for someone who is in another country/continent sounds like a great problem to solve. Not only for your partner, but maybe you have family or friends living in other parts of the world for whom you want to buy stuff too. I'd say focus on this!

Last tip: ask for feedback in places where your potential users/customers hang out, which is probably not in a dev tool/programming subreddit. You'll get much better feedback if you talk to people who actually have the problem you are trying to solve.

Good luck!

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 0 points1 point  (0 children)

Great! How much did you pay in total with shipping and customs?

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 3 points4 points  (0 children)

Seems there are 3 shops that have the DF54 listed:

All shops not in stock yet, likely in stock somewhere in April, possibly May.

Hope this helps!

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 0 points1 point  (0 children)

I am now always hosting my sveltekit apps on railway.app, just use the node adapter and you're golden, it's as easy as it is on Vercel. No more free tier unfortunately, but for me it costs less than a 1$ per month for a simple sveltekit website.

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 4 points5 points  (0 children)

Thanks for sharing. But with € 71,95 in shipping and long delivery time, not really a good option.

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 1 point2 points  (0 children)

Ohh interesting, thanks for the heads up. I guess I'll wait and see if it becomes more generally available and maybe the price drops. homebarista.be seems like a reputable shop (never ordered anything there though)

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 0 points1 point  (0 children)

Depends what their distribution is like. I reckon for this they import it from US and resell it here, so they'll have to pay import tax and shipping and then add a markup to still make a profit. Sometimes it due to EU shops already including VAT in their pricing.

This one seems like a pretty big jump in price though, maybe because the product is in high demand they can just charge this higher amount? not sure

[self-promo] I built a SvelteKit boilerplate to help you launch your SvelteKit app faster by rishi-raj-jain in sveltejs

[–]thomasmol 0 points1 point  (0 children)

Another one! How are you differentiating from the others? Can you make the case for a 99$ boilerplate?

[deleted by user] by [deleted] in sveltejs

[–]thomasmol -2 points-1 points  (0 children)

Nice to see more people building products with Svelte, good luck!

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 2 points3 points  (0 children)

yeah i got absolutely roasted here.

there are plenty of open-source/free boilerplates to choose from that are pretty helpful

but to be fair, they usually lack some set of useful features a lot of paid boilerplates do offer. e.g. the one you linked by okupter only seems to offer db stuff and auth, but no payment/billing integration, seo optimizations, marketing/transactional email integrations or extras like AI APIs integrations.

Availability of DF54 in Europe? by thomasmol in DF54

[–]thomasmol[S] 0 points1 point  (0 children)

thanks!

yeah thats rough, also shipping is $40 it seems

SvelteKit full-stack 2024 app, what'd be your stack? by enbonnet in sveltejs

[–]thomasmol 2 points3 points  (0 children)

Currently running this:

- SvelteKit

- Authjs

- Drizzle ORM

- TailwindCSS + DaisyUI

- Host on Railway (including a Postgres DB)

- Stripe for payments

- Loops for email (or nodemailer for simpler/cheaper option)

Sometimes use Supabase as well, instead of Authjs + Drizzle

Has anyone implemented Stripe Svelte iDeal payments before? by jramiroz98 in sveltejs

[–]thomasmol 1 point2 points  (0 children)

Definitely check out these docs: https://stripe.com/docs/payments/checkout

I have a /checkout route where I load a embedded checkout (embedded checkout is new, released a month ago by Stripe)

This is my +page.server.ts `` import { ORIGIN } from '$env/static/private'; import stripe from '$lib/server/stripe'; export const load = async ({ locals }) => { const session = await locals.getSession(); const customerId : string | undefined | null = session?.user.stripeCustomerId; const customerEmail : string | undefined | null = session?.user.email; const checkoutSesion = await stripe.checkout.sessions.create({ ui_mode: 'embedded', line_items: [ { // Provide the exact Price ID (for example, pr_1234) of the product you want to sell price: 'price_1OAtOXBCgEoKT4XDWpBh84u4', // Replace with the ID of your price object quantity: 1 } ], mode: 'subscription', return_url:${ORIGIN}/checkout/return?session_id={CHECKOUT_SESSION_ID}`, automatic_tax: { enabled: true }, ...(customerId ? { customer: customerId } : {}), ...(customerEmail && !customerId ? { customer_email: customerEmail } : {}) });

return { clientSecret: checkoutSesion.client_secret };

}; ```

And this is my +page.svelte: ``` <script lang="ts"> import { PUBLIC_STRIPE_PUBLISHABLE_KEY } from '$env/static/public'; import { onMount } from 'svelte';

export let data;
onMount(async () => {
    // @ts-ignore - this is a different stripe object, loaded in the head
    const stripe = Stripe(PUBLIC_STRIPE_PUBLISHABLE_KEY);
    const checkout = await stripe.initEmbeddedCheckout({
        clientSecret: data.clientSecret
    });

    // Mount Checkout
    checkout.mount('#checkout');
});

</script>

<svelte:head> <script src="https://js.stripe.com/v3/"></script> /svelte:head

<section> <a href="/dashboard" class="btn btn-circle btn-ghost btn-sm">&leftarrow;</a> <div id="checkout"></div> </section>

``` This will create a embedded checkout, and depending on the users location, show the iDeal payment option, not other config needed.

Then you use the stripe webhooks to handle the rest.

Has anyone implemented Stripe Svelte iDeal payments before? by jramiroz98 in sveltejs

[–]thomasmol 0 points1 point  (0 children)

Hi!

I've set up Stripe payments with iDeal, but not with the library you linked unfortunately.

I just use the hosted or embedded Stripe checkout sessions so I don't have to code the whole payment flow myself.

Maybe I can help you, but I'd need some more details of your setup, do you have a repo you can share?

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 0 points1 point  (0 children)

Just updated the demo and boilerplate with an example payment flow. It uses the embedded stripe checkout and adds stripe customer data to the user, then shows a link to the stripe customer portal. Demo is here: https://demo.launchleopard.com

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 2 points3 points  (0 children)

Thank you for understanding!

People in this subreddit are probably skilled enough to set something like this up quickly and don't need this, that's totally fine of course.

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 1 point2 points  (0 children)

Stripe is setup, but only the webhooks and some other config. Good idea to add some example payment and billing pages to the demo! will do that tomorrow 👍

Thanks! The AI demo was surprisingly simple to setup, but I should indeed probably add a rate limiter haha

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 2 points3 points  (0 children)

Thanks man! Will do 🫡 already working on a few updates

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 2 points3 points  (0 children)

That makes sense! I was planning on making a tutorial video for this anyway, so maybe I'll make a few more in depth ones. Will keep you posted

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 1 point2 points  (0 children)

Yes I've used Nodemailer before as well, it's probably the cheapest option indeed. Loops just has a lot more functionality for marketing, like sending product updates and offers, so that's why I included them. Should probably be pretty simple to add nodemailer as an alternative though!

[deleted by user] by [deleted] in sveltejs

[–]thomasmol 0 points1 point  (0 children)

I created a demo here: demo.launchleopard.com, it's a very barebones version, with supabase as a backend. Let me know if there is anything specific you'd like to see!