Remember that if you are actually capturing numbers locally in your app before sending them off to a payment gateway/processor you'll need to be PCI compliant (and if selling the same solution to multiple people Payment Application certified too which costs £££££).