If a transaction has failed while applying for the JEE Main examination, you can retry and pay the fee again. If you are charged twice then you can wait as the refund will be initiated for the double payment.