#paulo-lacerda_webhooks

1 messages ¡ Page 1 of 1 (latest)

dusty craneBOT
#

👋 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/1324811189619785729

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

woeful olive
#

Thanks for the info, looking in to this. We don't know as much about betas so you may need to talk to the team that runs the beta if I can't find anything, but I will do my best

earnest sky
#

ok, thanks

woeful olive
#

I am stil looking in to the dashboard aspect of this but I do see that our docs reccommend creating the endpoint via the API. Can you try that and see if it works for you?
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#webhooks
The doc mentions that these events require an API version that includes the beta, so you will also want to pass the api_version parameter as well
https://docs.stripe.com/api/webhook_endpoints/create#create_webhook_endpoint-api_version

earnest sky
#

hmm, ok, so I'll try doing it through the api, thanks

woeful olive
#

Yeah, if that still errors because of the event types, then something may just not be set up on your account. If it works, the issue may just be that we haven't added this to the dashboard yet.

earnest sky
#

ok, I'll let you know

#

I got "You do not have access to the event types: terminal.reader.action_updated."

woeful olive
#

Can you send me the request ID for when you got that error?

earnest sky
#

req_kexr2yU4nxUlXK I'm using the test environment

woeful olive
#

In that request, I don't see the api_version parameter that I think you need to set here. Can you try again while passing api_version=2018-05-21;terminal_collect_confirm_beta=v1;?

earnest sky
#

oh, ok

woeful olive
#

Yeah, the doc mentions needing that but doesn't actually include it in the code snippet. Will raise that we should fix that.

earnest sky
#

Invalid Stripe API version: 2018-05-21; terminal_collect_confirm_beta=v1;. You do not have permission to pass this beta header: terminal_collect_confirm_beta. If you have any questions, we can help at https://support.stripe.com/.

woeful olive
#

Gotcha in that case it sounds like something may still need to be configured on your account. We may have given you an email to reach out about the beta when you got added, if not you can reach out to our support they should be able to connect you with the right team

earnest sky
#

ok, I'll see if someone have this email

#

thanks for your help