#ocp_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/1359064306427367455
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I've fixed the problem for Test Mode: stripe events -p <profile_name> resend evt_xxx returns a "resource_missing" error even though the event exists in test mode
I was using an event for the creation of a promotional code (evt_1QsLQ1BA9dbzR13CkhEncONL) and it didn't work, but I created a test subscription and used its event (evt_1RBWccBA9dbzR13Cyr6xaexW) and it worked
Now I only have the Live Mode issue with "The provided key 'rk_live_xxx' does not have the required permissions for this endpoint on account 'acct_xxx'" even though that key has Read permissions for Events and Webhooks. What other permissions should I assign to it?
Hi! Looking into your question!
Are you trying touse Stripe CLI in live mode (https://docs.stripe.com/stripe-cli) ?
Yes. I want to test both Live and Test mode events locally
My /.config/stripe/config.toml looks like this:
color = ''
project-name = 'project-name'
[third-profile]
account_id = 'acct_xxx'
device_name = 'mbp.local'
display_name = 'Third Profile'
live_mode_api_key = 'rk_live_xxx'
live_mode_key_expires_at = '2025-06-23'
live_mode_pub_key = 'pk_live_xxx'
test_mode_api_key = 'rk_test_xxx'
test_mode_key_expires_at = '2025-06-23'
test_mode_pub_key = 'pk_test_xxx'
[default]
account_id = 'acct_xxx'
device_name = 'mbp.local'
display_name = 'Default'
live_mode_api_key = 'rk_live_xxx'
live_mode_key_expires_at = '2025-06-23'
live_mode_pub_key = 'pk_live_xxx'
test_mode_api_key = 'rk_test_xxx'
test_mode_key_expires_at = '2025-06-23'
test_mode_pub_key = 'pk_test_xxx'
[first-profile]
account_id = 'acct_xxx'
device_name = 'mbp.local'
display_name = 'First Profile'
live_mode_api_key = 'rk_live_xxx'
live_mode_key_expires_at = '2025-06-23'
live_mode_pub_key = 'pk_live_xxx'
test_mode_api_key = 'rk_test_xxx'
test_mode_key_expires_at = '2025-06-23'
test_mode_pub_key = 'pk_test_xxx'
[second-profile]
account_id = 'acct_xxx'
device_name = 'mbp.local'
display_name = 'Second Profile'
live_mode_api_key = 'rk_live_xxx'
live_mode_key_expires_at = '2025-06-23'
live_mode_pub_key = 'pk_live_xxx'
test_mode_api_key = 'rk_test_xxx'
test_mode_key_expires_at = '2025-06-23'
test_mode_pub_key = 'pk_test_xxx'
I've changed the names and redacted the keys
๐ taking over for my colleague. Let me catch up.
would you mind sharing your account ID?
Sure. Here's one of the accounts: acct_1QefRKBA9dbzR13C
sure let me know if you need any more help