New Payment Option but With Additional PIN info

Hi,

I’ve added a new payment option called AliPay/Groupon/FavePay. But I need to key in additional info such as the PIN generated by AliPay to be printed into the bill. Is there a way for me when I press AliPay as payment, pop up a window where I can insert the PIN and get it printed on the bill? Currently I am writing it manually on the bill each time for my own record.

Thank you.