@nazrulhassanmca thanks for getting back to me. I have your plugin installed, but it does not stop the attacks. The attacks are using the woocommerce ajax scripts to rapidly post credit card numbers to your process_payment() method. I have modified your plugin to log request to the database and rate limit how many attempts can be made. This seems to be working for me. This might be something you want to include in future updates.
Any updates on using variation products? I need to set the price for roles but my products are all variation type. When I enter a price it is not saved.