Hi Nikhilk
Yes most certainly. I booked my test just 36 hours before my actual test.
For your booking. First of all make sure your internet connection is ok. In terms of cards I have had a couple of friends who have faced similar issues. One of the most common issues was that they were using Debit Cards to make the payment. I would stress please do not use debit cards to book your date. Further, I would recommend using an American Express. Most of Amex cards can make international payments smoothly. Plus if you are based in India, you will not be required to enter the OTP, which is normally required for domestic transaction.
Hope this helps. All the best.