#ratta_webhooks-error

1 messages ¡ Page 1 of 1 (latest)

flat bronzeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255915502899953736

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

tawdry bay
#

ratta_webhooks-error

#

Looking!

#

@olive raven as far as I can tell that PaymentIntent has Events associated with it which are sent to the Connect WebhookEndpoint of their platform and that endpoint is failing with a 401 error and just rejecting those Events.
If you are the platform you should be able to see those attempts directly on your WebhookEndpoint's page in the Dashboard

olive raven
#

ohhhh... is stripe sending webhook from new ip's maybe?

#

i have this in the code...

    if Rails.env != 'development'
      head :unauthorized unless @ips.include? request.remote_ip
    end
#
      54.187.174.169
      54.187.205.235
      54.187.216.72
      54.241.31.99
      54.241.31.102
      54.241.34.107
    ]```
#

should i just remove checking ip addresses? or update it?

tawdry bay
#

but I recommend adding clear logs on your end to confirm that you get a request from an unexpected IP for example