#j-_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1310979317395886091
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- j-_api, 6 days ago, 86 messages
On my checkout component im declaring the Elements and getting the payment methods
Selecting one payment method, then i create payment intent
Hi, let me help you with this.
create also my own payment intent with an status of "PENDING"
What do you mean by this?
You can't set the status yourself.
Im using stripe.paymentIntents.create to create the payment intent, and then using my own payment model to make status pending:
const payment = await prisma.payment.create({
data: {
amount: amounts.amount,
status: 'PENDING',
method: 'STRIPE',
source: 'AVOQADO',
venueId: params.venueId,
stripePaymentIntentId: customerId,
},
})
I don't know what is prisma, so I can't tell you what's can be the issue with it.
Dont mind that
Its just that in the same endpoint where im creating the payment intent
Im also creating my own payment intent of my own database
And once i receive a webhook, it changes my own payment state
Can you please tell me more about what this means?
Im using 2 stripe webhooks, one for testing and one for production
The one for testing, is giving me issues i dont know why
What issues?
I am not sure how I can help since you are not providing much information about how your own system works.
Ok ill find my self, thank you vanya