WebSocket Module Makes Pix Plugin Interactive
WebSocket OpenPix enhances the Pix consumer experience in e-commerce
WebSocket OpenPix for e-commerce makes the shopper's experience instantaneous, with no need to refresh the page. Through the websocket the client is warning in real time if the transaction has been completed.
WebSocket OpenPix improves the Pix consumer experience in Apps
OpenPix WebSocket for Apps makes the Pix App client experience extraordinarily enjoyable. Through the websocket the client is warning in real time if the transaction has been completed.
Architecture
As soon as a new QRCode Pix is generated, the client opens a connection with the backend using a WebSocket. WebSockets allow for a greater amount of efficiency compared to REST because they don't require HTTP request/response overhead for every message sent and received. When the OpenPix backend detects that the transaction has been completed, it sends an update to the frontend via WebSockets. Through WebSocket, the customer is notified in real time, without having to refresh the page or refresh the App when their transaction has been approved and duly paid.