Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

IsCommercialCard Method

Indicates whether or not the CardNumber is for a commercial/purchasing card.

Syntax

[VB.NET]
Public Function IsCommercialCard() As Boolean
[C#]
public bool IsCommercialCard();

Remarks

This method queries the Global Payments servers as to whether or not the credit card number specified by CardNumber is a commercial card. The Global Payments server compares the card prefix against the latest BIN ranges to determine this. However, please note that due to the dynamic nature of card BIN ranges, not all Commercial/Purchasing cards can be determined by this method. Developers should keep this in mind when designing applications.

The CardNumber is the only property required for this method. If the CardNumber does fall within a Commercial or Purchasing card BIN range, the IsCommercialCard method will return True. If it is not - or if the transaction fails, this method will return False.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0