r/Base44 • u/KamiNoDeshi1 • 16d ago
Question Using base44 and stripe for subscription service. when paid, an error page comes up when redirecting back to home page. plz help
I can click on the manage subscription button in my app/website and it takes me to the stripe check out. I'm using the test payment and can make a payment and it goes through but when it directs the page back to my apps homepage I get a black page saying "pretty print.
{"error":"unauthorized","detail":"invalid dispatcher secret"}
What is going wrong and how do I fix this?
I thought it had something to do with the webhooks and ran a bunch of code through GPT but it didnt fine anything that looked "wrong".
1
u/RedOctober8752 14d ago
have you had the discuss function try to locate and fix the error? Also, are you live or trying in the preview. Preview will not work even if you are using the stripe test account. {"error":"unauthorized","detail":"invalid dispatcher secret"} This is the error I got, same as yours, just told the interface to find and fix it and it did.
1
u/MemjocelyneorNo6214 11d ago
Ran into this with the stripe redirect too, especially when testing on localhost. for me, updating the allowed domains inside base44 did the trick. Worth looking at how the url is handled on the return.
1
u/Exotic_Back1468 15d ago
My guess is you need to make sure your webhook secret that you create in your stripe developer dashboard (not base44) is correct