This guide explains how to set up and test Hyperswitch with UCS using a proxy.
Make sure you apply the changes from https://github.com/juspay/hyperswitch/tree/diff-fork to your local copy of Hyperswitch. Make sure you apply the changes form https://github.com/juspay/connector-service/tree/shadow-ucs-diff to your local copy of UCS
Install required Node.js dependencies:
npm iRun server
npm startbrew install mitmproxymitmweb -s forward_code.py --listen-port 8081 --web-port 8082Certificates
security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain-db ~/.mitmproxy/mitmproxy-ca-cert.pemwhat the process of testing
- send a req from hyperswitch using postman and see mitmproxy at port localhost:8082 and then you can see the req-diff on localhost:9000