|
|
|
|
|
by btilly
1433 days ago
|
|
Set up a Redis pub-sub: https://redis.io/docs/manual/pubsub/ The code for the websocket subscribes to Redis. The webhook will publish to Redis. The sequence of actions is now that you send the client to the PSP, which will hit the webhook, that publishes to Redis, that the server side of the websocket is receiving, that realizes it should send the message to the client, that receives the message from the websocket, that then tells the client to redirect. |
|