wasp-lang / open-saas

A free, open-source SaaS app starter for React & Node.js with superpowers. Full-featured. Community-driven.
https://opensaas.sh
MIT License
7.09k stars 672 forks source link

Stripe Integration, address and Name #175

Closed rugs07 closed 2 months ago

rugs07 commented 2 months ago

As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports, This is the error, gone through docs https://docs.stripe.com/api/customers/create, still not solved. Can anyone guide which function to change so It gets the customer name and address dynamically?

Martinsos commented 2 months ago

@rugs07 what have you tried so far? I don't have the capacity to investigate this on the Stripe side nor do I know much about this specific problem with exports, but if you can narrow down this question to a more specific question about Wasp I might be able to help. It helps if you provide snippets of code in Wasp you have been looking at, what you tried, exact error, ...

vincanger commented 2 months ago

hey @rugs07 I've heard other devs from India saying that you need to turn automatic_tax to false within app/src/server/payments/stripeUtils.ts

Have you tried this?

rugs07 commented 2 months ago

Yaa, I have tried this out and it works

On Mon, 17 Jun, 2024, 17:18 vincanger, @.***> wrote:

hey @rugs07 https://github.com/rugs07 I've heard other devs from India saying that you need to turn automatic_tax to false within app/src/server/payments/stripeUtils.ts

Have you tried this?

— Reply to this email directly, view it on GitHub https://github.com/wasp-lang/open-saas/issues/175#issuecomment-2173175688, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBERGYWAZYL3OOOU2O7SEHDZH3EHLAVCNFSM6AAAAABJFV6KAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGE3TKNRYHA . You are receiving this because you were mentioned.Message ID: @.***>

Martinsos commented 2 months ago

Hm! SHoudl we add sometihng to the docs, or is this out of scope for OpenSaas, and more of a Stripe thing?

rugs07 commented 2 months ago

No need to add it in docs, it is more of a stripe thing here

On Mon, 17 Jun, 2024, 20:33 Martin Šošić, @.***> wrote:

Hm! SHoudl we add sometihng to the docs, or is this out of scope for OpenSaas, and more of a Stripe thing?

— Reply to this email directly, view it on GitHub https://github.com/wasp-lang/open-saas/issues/175#issuecomment-2173655817, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBERGYS3Q4I4HFLS5URF7B3ZH33DJAVCNFSM6AAAAABJFV6KAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGY2TKOBRG4 . You are receiving this because you were mentioned.Message ID: @.***>

vincanger commented 2 months ago

ok thanks @rugs07 I'm closing this issue for now.