Check If a Customer Has Enough Credit Available

This code steps you through the process of validating a customer's credit card information and authorizing a potential charge against the card.

You can test for both outcomes:Approved: When you pass odd dollar amounts, payment authorizations are returned with an 'Approved' status.Declined: When you pass even dollar amounts, payment authorizations are returned with a 'Declined' status.