User1980's avatar

How to forward a request webhook to another url?

Hi,

I have installed the Laravel paddle package. To my surprise, there are no ways in the Paddle control panel to setup multiple webhook URL. ie: Let's say you have 3 e-commerce and setup all your products in the paddle admin panel, you can only send the purchase webhook request to 1 URL.

In Laravel, let's say I went all the webhook request to a single route, how would you then send that request back to another URL, any idea please?

Thank you.

0 likes
2 replies
Snapey's avatar

redirects tell the client to load a different uri

since in this case the client is paddle and not a browser there is a chance they will just ignore the redirect.

better to handle it on your side and have a controller for all webhooks

User1980's avatar

Thanks Snapey,

So you would save the request, then based on the product ID resent(POST) the request via Guzzle to the other sites ? Would this be the correct way to do it?

Please or to participate in this conversation.