Has anyone used the CFX_CYBERCASH custom tag for orders from Canada to the
US? One of our customers reported an error in that his Canadian zipcode was
getting rejected for the credit card process. He didn't say what the
specific error was though. If someone has used this tag before, could you
please reply back and let me know how you used the CPI_CARD_COUNTRY AND
CPI_CARD_ZIP fields. We are using CAN for the country if its Canada. I
didn't find any documentation what to use, since its USA for the United
States, I figured it would be a 3 letter code for the country.

<cfif GetCountry.country_id IS 1>
        <cfset cc_billing_country="USA">
<cfelseif GetCountry.country_id IS 2>
        <cfset cc_billing_country="CAN">
</cfif>
the getcountry query uses the zipcode inputted in the credit card process to
determine the country.

  <CFX_CYBERCASH
    VERSION="3.2"
    CCPS_HOST="http://cr.cybercash.com/cgi-bin/"
    CYBERCASH_ID="xxxxxxxxxx"
    MERCHANT_KEY="xxxxxxxxxxxxxxxxxxxxx"
    MO_ORDER_ID="#Trim(credit_card_order_id)#"
        MO_VERSION="3.2.0.2"
        MO_PRODUCT_DESCR="xxxxxxx"
        MO_PRICE="usd #Trim(total_price)#"
    CPI_CARD_NUMBER="#Trim(credit_card_number)#"
        CPI_CARD_EXP="#Trim(credit_card_exp_date)#"
    CPI_CARD_NAME="#Trim(cc_billing_name)#"
        CPI_CARD_ADDRESS="#Trim(cc_billing_address)#"
        CPI_CARD_CITY="#Trim(cc_billing_city)#"
        CPI_CARD_STATE="#Trim(cc_billing_state)#"
        CPI_CARD_ZIP="#Trim(cc_billing_zipcode)#"
        CPI_CARD_COUNTRY="#cc_billing_country#"
        OutputPOPQuery="xx">

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to