SurfShopCart Documentation

Setting Up Shop Has Never Been Easier!

User Tools

Site Tools


Other Payment Methods

SurfShop allows you to enable payment by any number of methods. You can also specify another method if you so choose. In order to make the system work as it was designed, you must include certain elements in the “Check-Out Form” section of the “Check-Out Options” admin page.

Payment by Mail

This is the simplest payment method available to SurfShop. When this method is selected as an option, the customers order is always completed and processed. The customer then prints the “receipt” and mails the payment to the merchant. When this method is used, it is recommended that you display your company's mailing address prominently on the website and in the “Customer Notification” email. See Email Options.

Payment by E-Check

This option allows the customer to enter his or her checking account information which is recorded in the order data. The merchant can then print a “facsimile check” from the “Orders Admin” and deposit it in the bank, similar to “check by phone” option many utility companies offer.

Please note that your bank may not allow this kind of transaction, so check with your bank for more information.

Payment via PayPal

This option enables the customer to make his or her payment via the PayPal service. See Using PayPal for more information.

Payment by Credit Card

Select this option if you wish to capture customer Credit Card information. In most cases, slight modifications of the “Credit Card Check-Out Code” section are all that is necessary to integrate Surf Shop with payment processors.

In the “Check-Out Form” section of the “Check-Out admin,” all of the available payment methods are included. The method selected by the customer will be switched on based on the PmtType value. The following modifications will apply to the section of the check-out form between <! if:PmtType:eq:CreditCard> tag and the very next <! /if> tag..

Payment Processor HTML Code

Some of the processors allow you to customize your currency type. In these examples, all currency is specified as US Dollars (“USD”).

In order to test your configurations, it may be necessary to enter test values in these forms. In some cases, the URL for the test mode is different than that of the live mode. Check with your processor for the specifics on testing your site.

Note: This information is subject to change at any time. Consult with your payment processor for up-to-date technical information and specifications.

Generic ECML

Between 1999 and 2001, the Internet Community attempted to move toward a standard for e-commerce configurations, called ECML, or Electronic Commerce Markup Language. While most of the bank processors never adopted the ECML standard, we still support it. The code below should allow you to interface with any of these “generic” ECML processors.

Global Settings

Cardservice Domain[depends on processor]
Transaction ResultIOC_response_code
Approved Value 0
Declined Value 2
Declined Message IOC_reject_description
AVS IOC_AVS_result
Authorization Code[none]
Reference Number [none]

Check Out HTML

  <form method="post" action="--ENTER CARDSERVICE URL HERE--" name="process_transaction">
  <input type="hidden" name="c" value="receipt.htm">
  <input type="hidden" name="IOC_merchant_id" value="--ENTER MERCHANT ID HERE--">
  <input type="hidden" name="IOC_order_total_amount" value="<! USD_chargetotal>">
  <input type="hidden" name="IOC_merchant_order_id" value="<! orderid>">
  <input type="hidden" name="Ecom_SchemaVersion" value="">
  <input type="hidden" name="Ecom_Billto_Postal_Street_Line1" value="<! Ecom_ShipTo_Postal_Street_Line1>">
  <input type="hidden" name="Ecom_Billto_Postal_Street_Line2" value="<! Ecom_ShipTo_Postal_Street_Line2>">
  <input type="hidden" name="Ecom_BillTo_Postal_StateProv" value="<! Ecom_BillTo_Postal_StateProv>">
  <input type="hidden" name="Ecom_BillTo_Postal_PostalCode" value="<! Ecom_BillTo_Postal_PostalCode>">
  <input type="hidden" name="Ecom_Billto_Postal_CountryCode" value="<! Ecom_Billto_Postal_CountryCode>">
  <input type="hidden" name="Ecom_Billto_Online_Email" value="<! Ecom_Billto_Online_Email>">
  <input type="hidden" name="Ecom_Payment_Card_Name" value="<! Ecom_Payment_Card_Name>">
  <input type="hidden" name="Ecom_Payment_Card_Number" value="<! Ecom_Payment_Card_Number>">
  <input type="hidden" name="Ecom_Payment_Card_Expdate_Month" value="<! Ecom_Payment_Card_Expdate_Month>">
  <input type="hidden" name="Ecom_Payment_Card_Expdate_Year" value="<! Ecom_Payment_Card_Expdate_Year>">
  <input type="hidden" name="Ecom_Payment_Card_Verification" value="<! Ecom_Payment_Card_Verification>">
  <input type="submit" value="Check Out" name="submit">


This processor requires an account number to be passed in the “instId” field.

Global Settings

Transaction ResultSTATUS
Approved ValueY
Declined ValueC
Declined Message[none]
Authorization Codeauthno
Reference No.[none]

Check Out HTML

 <form name="checkout" method="post" target="_top" action="">
 <input type="hidden" name="instId" value="--ENTER WORLDPAY ID HERE--">
 <input type="hidden" name="cartId" value="<! orderid>">
 <input type="hidden" name="amount" value="<! USD_chargetotal>">
 <input type="hidden" name="currency" value="USD">
 <input type="hidden" name="desc" value="">
 <input type="hidden" name="testMode" value="0">
 <input type="hidden" name="name" value="<! Ecom_BillTo_Postal_Name_First> <! Ecom_BillTo_Postal_Name_Last>">
 <input type="hidden" name="address" value="<! Ecom_BillTo_Postal_Street_Line1>
 <! Ecom_BillTo_Postal_Street_Line2>
 <! Ecom_BillTo_Postal_City>
 <! Ecom_BillTo_Postal_StateProv>">
 <input type="hidden" name="postcode" value="<! Ecom_BillTo_Postal_PostalCode>">
 <input type="hidden" name="country" value="<! Ecom_BillTo_Postal_CountryCode>">
 <input type="hidden" name="email" value="<! Ecom_BillTo_Online_Email>">
 <input type="hidden" name="M_url" value="<! secure>?storeid=<! storeid>&c=receipt.htm&ud=<! ud>&key=<! key>">
 <input type="hidden" name="tel" value="<! Ecom_BillTo_Telecom_Phone_Number>">
 <input type="submit" name="submitform" value=" Place Order ">

VeriSign PayFlow

VeriSign requires both a LOGIN and a PARTNER code.

Global Settings

Transaction ResultRESULT
Approved Value0
Declined Value12
Declined MessageRESPMSG
Authorization CodeAUTHCODE
Reference No.[none]

Check Out HTML - Credit Card

  <form name="checkout" method="post" target="_top" action="">
  <input type="hidden" name="PARTNER" value="--ENTER VERISIGN PARTNER HERE--">
  <input type="hidden" name="LOGIN" value="--ENTER VERISIGN LOGIN HERE--">
  <input type="hidden" name="AMOUNT" value="<! USD_chargetotal>">
  <input type="hidden" name="TYPE" value="S">
  <input type="hidden" name="NAME" value="<! Ecom_Payment_Card_Name>">
  <input type="hidden" name="ADDRESS" value="<! Ecom_BillTo_Postal_Street_Line1> <! Ecom_BillTo_Postal_Street_Line2>">
  <input type="hidden" name="CITY" value="<! Ecom_BillTo_Postal_City>">
  <input type="hidden" name="STATE" value="<! Ecom_BillTo_Postal_StateProv>">
  <input type="hidden" name="ZIP" value="<! Ecom_BillTo_Postal_PostalCode>">
  <input type="hidden" name="COUNTRY" value="<! Ecom_BillTo_Postal_CountryCode>">
  <input type="hidden" name="PHONE" value="<! Ecom_BillTo_Telecom_Phone_Number>">
  <input type="hidden" name="EMAIL" value="<! Ecom_BillTo_Online_Email>">
  <input type="hidden" name="CUSTID" value="<! orderid>">
  <input type="hidden" name="ECHODATA" value="True">
  <input type="hidden" name="ORDERFORM" value="False">
  <input type="hidden" name="SHOWCONFIRM" value="False">
  <input type="hidden" name="METHOD" value="CC">
  <input type="hidden" name="CARDNUM" value="<! Ecom_Payment_Card_Number>">
  <input type="hidden" name="EXPDATE" value="<! Ecom_Payment_Card_ExpDate_MoYr>">
  <input type="submit" name="submitform" value=" Check Out ">

<<Main_Page Top^

other_payment_methods.txt · Last modified: 2018/07/03 04:55 (external edit)