I edited the stock plugin Payment Manual for do my own method payment with BAC, and all it's working, butthe problem occurs when I enter an erroneous data at the time of the transaction with the credit card, what I need is to show me an alert in javascript showing me a message for example "You have entered erroneous data, please verify". Since when I enter the correct data of a credit card Nopcommerce immediately sends me to a page that verifies me that the transaction has been made successfully.
I have tried many ways to send an alert but none has worked, I would like to know if you can help me to identify which is the cshtml file of onePageCheckout or some way that can show me an alert.