Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STRIPE WEBHOOK FAILS TO CREDIT ACCOUNT AFTER PAY #127

Open
galactivale opened this issue Nov 17, 2024 · 1 comment
Open

STRIPE WEBHOOK FAILS TO CREDIT ACCOUNT AFTER PAY #127

galactivale opened this issue Nov 17, 2024 · 1 comment

Comments

@galactivale
Copy link

I've done the pricing table integration but when someone purchases a credit, the payment goes to the stripe account but it doesn't credit the user account! Is there anywhere to test the webhook locally or what could be the issue?

And I've noticed that when I set my VERCEL_URL to : www.mydomain.com The Astria API Callback uses the deployment link which goes like domain-b2az057nm-domain.vercel.app, why is it like that?

@LukasSteinerr
Copy link

You need to add "/stripe/subscription-webhook" at the end of your webhook endpoint. Go to stripe then click developers, webhooks, edit destination, and change the URL. At least this worked for me. Should look something like https://YOUR_URL.vercel.app/stripe/subscription-webhook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants