I created a custom Payment Module from http://cedcommerce.com/magento-2-module-creator/payment-module . But this payment module has a simple Place Order button. I need a Credit Card form in payment module. Can someone help me? All the answers will be appreciated.
If you want to process Credit Card numbers, you have to comply to the PCI-DSS (Payment Card Industry - Data Security Standard). Even when you don't store the card numbers, you have to comply to PCI-DSS level 4.
You probably want to use a payment service provider which will process the credit card transactions for you. Most payment service providers offer a Magento module for free.