I know it's possible to test if a card is valid with regex, but how would I test if a card is active and can be charged? I just tried to sign up for a free trial of a popular online streaming service with my old de-activated visa card and the number was valid, but still declined when I tried to move forward.
Is there some general way to test for this?
Whenever I google for this I get a lot of paypal tutorials, and I'd like to stay away from paypal if possible.