Finally I think I got the solution.
I am not sure when this was introduced, I had almost left hope.
With "noSign=true" flag, I am able to get rid of APK re-sign and could see purchase dialog.
Thanks to whoever addressed this.
On a side note, I also tried Espresso to get through this problem, but I am stuck there as well 