I am required to redirect a user to an external payment gateway, from a visualforce page. Apart from just the redirection, sensitive information is to be passed to the external gateways, and using JWT.
As a proof of concept, I would need to understand how to store information in a JWT format in Saelsforce, and pass that JWT to an external website while redirecting.