I'm looking for some help decrypting a Google Pay response using .net (c#). I'm using the JavaScript API and the Direct method https://developers.google.com/pay/api/web/guides/setup. I have the integration working in test and receive an encrypted payload.
The problem is that there doesn't seem to be any .net library that supports decrypting an ECv2 message. The only library I found is Tink https://github.com/google-pay/tink-jni-examples, however this is using a Java bridge which isn't working for me.
Has anyone done this successfully or written an article on it?
As per @fstanis comment, I was able to use https://github.com/google-pay/payment-data-cryptography-dotnet to decrypt the Google Pay data.