How to convert Form data to Hash

I have payment method required hash of all form that , i am try to hash my form data but i can’t see hash or any encoder

I don’t think you will be able to do this without some custom code. You could pass this form data to a PHP script (if that’s what you’re using) based on the payment gateway’s documentation.

Alternatively, it might be possible to add some custom formatters to add the missing functions. Looking at some code I’ve used for this before, I needed to use PHP functions including ksort, preg_replace, http_build_query and hash. You would have to look at the documentation from the payment gateway to decide on the best approach.

Thanks bro

You could use crypto.js and invoke the functions you need using flows. I use it for several processes on sites I have built and it works well. It would, however, be great if it could be added to the data formatter on the client-side - you could vote for the feature request here: