• CFWebstore v6.50
  • Installing CFWebstore

  • Main Settings

  • Designing Your Store

    • » Overview
    • » Color Palettes
    • » Style Sheets
    • » Custom Layouts
    • » Category and Page layouts
    • » Option Picklists
  • Organizing Your Site

    • » Overview
    • » Categories
    • » Category Menus
    • » Pages
    • » Page Menus
  • Adding Your Products

    • » Overview
    • » Product Lists
    • » Product Form
    • » Display Tab
    • » Pricing and Info Tab
    • » Group Prices
    • » Quantity Discounts
    • » Product Options
    • » Product Addons
    • » Product Images
    • » Related Products
    • » Standar Product Options
    • » Standard Product Addons
    • » Custom Product Fields
    • » Product Copy
  • Product Reviews

    • » Overview
    • » Configure Product Reviews
    • » Reviewing Products
    • » Administration of Reviews
    • » Viewing Reviews
    • » User Management of Reviews
  • Store Specials, Discounts and Promotions

    • » Overview
    • » Discount Manager
    • » Additional Tips on Discounts
    • » Product promotions
  • Gift Certificates

    • » Overview
    • » Gift Certificate Setup
  • Adding Store Features

    • » Overview
    • » Feature List
    • » Feature Form
    • » Related Features
    • » Related Products
  • Feature Reviews

    • » Overview
    • » Feature Review Configuration
    • » Administration of Reviews
    • » Commenting on a Feature Article
    • » Viewing Comments
  • Protecting Your Content

    • » Overview
    • » Access Keys
    • » Memberships
  • Shopping Cart Settings

    • » Overview
    • » Shopping Cart Configuration
  • Tax Setting

    • » Overview
    • » Tax Configuration
  • Shipping Charges

    • » Overview
    • » Shipping Types
    • » Shipping Settings
    • » Shipping Table
    • » Country Shipping Rates
    • » Shipping Methods
    • » Free Shipping Promotion
    • » Additional Information on Shipping Rates
    • » UPS Shipping
    • » U.S.P.S. Shipping
    • » Fedex Shipping
    • » Intershipper Shipping
  • Payment Settings

    • » Overview
    • » Offline Orders
    • » PayPal Orders
    • » Credit Card Orders
  • Gift Registries

    • » Overview
    • » Gift Registries Configuration
  • Gift Wrapping

    • » Overview
    • » Gift Wrapping Configuration
  • Managing Your Orders

    • » Overview
    • » Pending Orders
    • » In Process Orders
    • » Billing Tab
    • » Purchase Orders / Drop Shipping Tab
    • » Filled Orders
    • » Search Tab
    • » Reports
  • Viewing and Editing Orders

    • » Overview
    • » Customer Details
    • » Order Status
    • » Shopping Cart Details
    • » Shipping Information
    • » Purchase Orders
    • » Edit Order Status Form
    • » Products Edit Form
    • » Order Edit Form
    • » Tax Edit Form
    • » Dropshipping Form
    • » Order Shipping Screen
  • User Management

    • » User Settings
    • » User Manager
    • » User Summary
    • » User Groups
    • » Setting Permissions
    • » Customer Addresses
    • » Accounts
    • » My Account Page
  • Store Emails

    • » Overview
    • » Bulk Emails
    • » Standard Email Text
  • Import / Export Functions

    • » Product Export
    • » Data Feeds
    • » Download Orders
    • » Users Export
    • » Product Import
  • Programmers Guide

    • » Why Fusebox?
    • » Overview
    • » Using FCKeditor
    • » Differences From Basic Fuseboxc
    • » Home Circuit
    • » Access Circuit
    • » Category Circuit
    • » Page Circuit
    • » Products Circuit
    • » Shopping Circuit
    • » Users Circuit
    • » Custom Tags
    • » Category Menus
    • » Page Menus
    • » Customizing Store Menus
    • » Store Searches
    • » Shared SSL
    • » Email Forms
    • » User Registrations
    • » Database Schema
    • » Reset Cache
    • » Error Handlers
    • » Store Security
    • » Adding New Payment Gateways
    • » Running CFWebstore Inside Mura CMS
    • » Typical Files Used for a Category Page
    • » Additional Code Tips
    • » Other Useful Sites and Products
Home Programmers Guide Adding New Payment Gateways

Adding New Payment Gateways

CFWebstore includes code to handle some of the more popular gateways currently being used. You may find however that you need to add a new gateway to support your customer’s needs. This section will give you some basic information on the pages and sections to modify to add a new gateway.
 
  1. Add the new gateway to Online Processor selection in the Payment Settings. This is done on the shopping\admin\payment\dsp_cards.cfm page.
  2. Create a new dsp_xxx.cfm page for the settings needed for this processor. You can use one of the existing gateway settings pages as a template for your new page. Generally, this page will have settings for the type of authorization (authorize only or capture funds), test mode, etc.
  3. Add the cfinclude for your new settings page on the dsp_process.cfm page.
  4. Now you are ready to update the checkout section to include your new gateway. The shopping\checkout\creditcards directory contains the custom tags and action pages for running payment gateways. If the gateway does not already have a ColdFusion tag available, you will need to write your own. Depending on the service you are using, you may be able to base the code on an existing tag in the store. The authorizenet30.cfm page for instance is used for AuthorizeNet and sends a form post to the server and receives back a response. Generally the tag will take input such as the customer information, charge amount, card information, etc. and return authorization information or an error information to the calling page.
  5. After creating a tag, you will need to create the action page for the gateway (act_xxx.cfm). This is the page in CFWebstore that retrieves the settings for your gateway, calls the custom tag, and processes the response. You can base your code on any of the existing gateway pages.
  6. After adding your custom tag and action page, you just need to update the checkout section to include the new option. That would be the shopping\checkout\act_pay_form.cfm. Now you’re all ready to process credit cards with your new gateway! 



Store Security
Running CFWebstore Inside Mura CMS