Home > Uncategorized > Confirm18.com – Credit card verification, without taking payment

Confirm18.com – Credit card verification, without taking payment

Technical Integration Step-By-Step.
Here is the basic use of Confirm18.com

  1. A user visits your website – say, http://www.yourwebsite.com/welcome.html
  2. The user clicks on a link saying “I am over 18” on your website, and it takes the user to the page http://www.confirm18.com/verify.aspx?merchant=xxx
  3. If the user passes our credit-card check, then they will be returned to your website, say http://www.yourwebsite.com/page1.html

To set this up, you must have at least three webpages on your website.

  1. A welcome page, where you ask the user to click a link saying “I am 18”
  2. A success page, where the user will be taken if they pass our credit-card check
  3. A failure page, where the user will be taken if they fail our credit-card check

When you register on this website, you will set up your success and failure urls, and you will be given a merchant id. This is then used in the link from your welcome page to our website, in the form http://www.confirm18.com/verify.aspx?merchant=xxx where xxx is your merchant id.

More advanced uses: Passing a consumer idIf you need to make sure that the user that you send to our verification process is the same user that comes back in to your success page, then you should use the consumerid parameter to ensure that you do not loose track of a user’s session, shopping cart, or preferences.

To pass a consumerid, simply add it as a parameter to the link to our verification page, i.e. http://www.confirm18.com/verify.aspx?merchant=xx&consumer=yy where xx is your merchant id, and yy can be any value that identifies the user on your website.

The consumer id will be passed back in the querystring to either the success or failure page. i.e. http://www.yourwebsite.com/success.html?consumer=yy

Additionally, if the user fails the credit check, then the reason will be passed back in the querystring to the failure page on your website. You can choose whether to display the reason for failure to the user or not.

i.e. http://www.yourwebsite.com/fail.html?consumer=yy&reason=Bank_Invalid

Reasons can be as followsCard_type_invalid = The card issuing network does not match that suppled by the user Bank_Invalid = The bank entered by the user did not match that of the card issuing bank IP_Invalid = The card is issued by a bank in another country than the user’s current location

You can optionally opt to allow certain failures, for example, IP_Invalid could happen under legitimate circumstances, if the user is abroad on holiday.

Premium Only: Branding the verification pageBy default, our verification page will show our adverts, and our branding. If you wish to remove these, you can upgrade to a premium account.

Once you have upgraded to a premium account, then you can embed the verification page as an iFrame in your website, so the user will not be aware that they are using Confirm18.com

To use this verification iframe, use code such as the following


Where “xxx” is your merchant id.

Your success and failure urls may need to use iFrame killer script to ensure the correct user experience, i.e.


<script type=”text/javascript”> if (top != self) top.location.replace(location); </script> 

Premium Only: API useageIf you want to have full control over the branding of the Confirm18.com experience, then premium users can avail of our API. This API is designed for developers, and requires programming experience. It is based on industry standard XML SOAP.

You can find the API at the following URL: http://www.confirm18.com/api.asmx, where you will find two methods:

Method 1:
VerifyCreditCard(int merchantid, string consumerId, string firstSixDigits, string clientIP, string cardType, string bankName)
– Performs the same check as Verify.aspx, returns a class containing pass/fail , and a reason, and the data returned from both the BIN lookup and IP lookup
* The merchant must have a premium account

Method 2:
VerifyPastCheck(string consumerid, int merchantid)
– Used to get information on a past verification check, either to double check that the user has arrived on the success url via legitimate means, or to get extra information about your customers.
* The merchant must have a premium account

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: