Export Scripts

Export Scripts

InternetSecure has the unique ability to interact with your products and your solutions. One method of doing this is through a Export Script. Upon a credit card transaction, a script, written by you, is run. This script is run from YOUR server, and must be accessible via a web browser . Without getting too technical, the order of operations for a transaction with the export script as follows:

  • The customer submits the credit card information, and the InternetSecure server sends off the information to the issuing bank for verification.
  • Upon receiving an approval code for the transaction, InternetSecure sends out their own TEXT based browser in the background, meaning that the customer never leaves the InternetSecure page. This browser has the ability to pass what ever information you require and pass it to the page that you request. This includes all of your own custom variables. The only exception is InternetSecure does not pass Credit Card numbers or Expiry Date.
  • The 'Browser' waits for a completed signal, and the regular transaction process completes.

Note: Retrieving this information works exactly like a standard form post. Here is an example in ASP:

lcustomername = request.form("xxxName")

This allows you to do a multitude of things, from generating a passcode and emailing it to the customer in real time, to adjusting inventory in real time. The script can do anything that you require it to do, but must be hosted and programmed by you. InternetSecure will not provide technical support for scripts not programmed inhouse.
With the post-approval script, our system is setup to call your page and dump specific variables to that page, so that they can be used by your system to update your product database, for example. Here is the list of all the variables passed to a generic export script:

Variable Name Description
xxxNameCustomer's full name
xxxCompanyCustomer company
xxxAddressCustomer's street address
xxxCityCustomer's city
xxxProvinceCustomer's province
xxxCountryCustomer's country
xxxPostalCustomer's postal code
xxxEmailCustomer's email address
xxxPhoneCustomer's phone number
xxxCCTypeCustomer's credit card type (Visa, MasterCard, Amex)
ApprovalCodeBank approval code for this transaction
xxxcard_nameCardholder's name on credit card
KeySizeSize of the SSL cipher key being used by customer
SecretKeySizeSecret size of the SSL cipher key being used by customer
UserAgentThe browser type that the customer used
EntryTimeStampThe date and time the customer first entered the InternetSecure system. (Unix format - see below)
UnixTimeStampThe date and time the customer submitted the transaction for processing. (Unix format - see below)
TimeStampThe date and time the customer submitted the transaction for processing. (Format - mm/dd/yyyy hh:mm:dd)
LiveIndicated whether the transaction was real (1) or a test (0)
LanguageThe language used to display the transaction pages
CurrencyThe currency used to process the transactions
AmountDollar amount of the transaction
receiptnumberInternetSecure receipt number. Unique to each transaction.
VerbageVerbage sent back by the processor
NiceVerbagePlain english version of the verbage
SalesOrderNumberSales order number of transaction. Unique to each merchant. Increments one for each transaction.
RefererURLThe URL of the page that sent the customer to InternetSecure
ip_addressThe IP address of the customer's computer
MerchantNumberInternetSecure merchant number of this transaction
ReturnURLThe ReturnURL variable passed by the merchant
ReturnCGIThe ReturnCGI variable passed by the merchant
ProductsThe Products string, as passed by the merchant
DoubleColonProductsThe Products string, converted to Double Colon format
While there are other variable names being passed, only the variables listed here are guarenteed to always be passed.
Unix time is the number of seconds since Jan 1, 1970 00:00:00AM GMT. For example, the Unix time '907599556', is Oct 6 14:49:13 1998 EST.

Here is an example of the values that are passed to a generic export script:
MerchantNumber=4
xxxName=Carlo
xxxCompany=InternetSecure Inc.
xxxAddress=1040 South Service Road East, Suite 200
xxxCity=Oakville
xxxProvince=ON
xxxPostal=L6J 2X7
xxxCountry=CA
xxxPhone=(905)338-2929
xxxEmail=support@internetsecure.com
xxxCCType= Visa
ApprovalCode=000000
xxxcard_name=James
KeySize=128
SecretKeySize=128
UserAgent=Mozilla/3.04(Win95; U)
EntryTimeStamp=907781640
UnixTimeStamp=907784195
TimeStamp=10/07/199814:16:35
Live=0
Language=english
Currency=0
Amount=9.99
receiptnumber=907784192.5855
Verbage= AP/AP/Approved
NiceVerbage=Approved
SalesOrderNumber=514
RefererURL=http://www.ismerchant.com/form.html
ip_address=192.168.1.1
ReturnURL=http://www.ismerchant.com/thankyou.html
ReturnCGI=
Products=001,1	
DoubleColonProducts=Price::Qty::Code::Description::Flags|9.95::1::test::test
product::
 
For more information about the Export Script please call our Merchant Service Staff or email service@InternetSecure.com
 
 
Privacy Policy