I have used magento default payment method CC Saved. But, I dont want to save the credit card number in the database. How to override the core files in this case?
I tried with sales_order_save_after event. But not get the actual result as expected. If use this event, we can just update the card number as NULL. But, I don't want to save the credit card number in database.
I don't want to add 3rd party merchant. Because, I need to send the payment details to separate API. They will handle the payment process.