www.uburst.com www.uburst.com

"SWITCH payment card"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"SWITCH payment card"
Posted by garylane on Sep-17-02 at 11:09 AM (EST)
In the UK we have a payment mechanism called SWITCH which is a debit card unaffiliated to Visa or Mastercard but very common.

How do I add this to the list of cards accepted in credit card orders so that the correct code checking algorithm is used (not MOD 10). Incidentally, we have no need for AMEX.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: SWITCH payment card, Bill Weiner, Sep-18-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: SWITCH payment card"
Posted by Bill Weiner on Sep-18-02 at 03:21 AM (EST)
You can edit the "creditcard_template.html" file (located in your uShop data directory) and change the OPTIONS in the "cc_type" SELECT statement accordingly.

For example, to remove American Express and add Switch you would change the default HTML from:

< SELECT NAME="cc_type" >
< OPTION VALUE="Visa">Visa< /OPTION >
< OPTION VALUE="MasterCard">MasterCard< /OPTION >
< OPTION VALUE="American Express" >American Express< /OPTION >
< /SELECT >

To:

< SELECT NAME="cc_type" >
< OPTION VALUE="Visa">Visa< /OPTION >
< OPTION VALUE="MasterCard">MasterCard< /OPTION >
< OPTION VALUE="Switch" >Switch< /OPTION >
< /SELECT >

As for validating the credit card numbers, uShop currently has built-in algorithms for validating these credit card types:

MasterCard, Visa, AMEX, Discover and Diners.

At this time, it does not have built-in validation for "Switch" credit cards.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.