| Sending the following values as a form post to the action URL will return
a summary of the information with a form for collecting the customer's credit card
data. An order confirmation
page will follow upon successful processing of the customer's credit card with
confirmation e-mails sent to the customer and the store. All gathered information
is stored off-line in a database table dedicated to the store and accessable from
the IAMS console. Critical information is encrypted. |
| action URL | http://webPeddle.net/Store/Run/paydirect.cfm |
| Form Name |
Data Type |
Description
|
| sid | numeric | the service ID number issued when signing up for an IAMS account |
| sn | text | the name of the store as listed in the IAMS console > PROFILE > store profile |
| potxt | text | a list of items ordered suitably configured to show item ID, quantity, description, and amount in an e-mail confirmation to the customer (see API test form for example) |
| polist | text | a summary list of items ordered suitably configured to show item ID, quantity, description, and amount for display on shipping form (see API test form for example) |
| subtotal | numeric | the total cost of the order less shipping and tax charges, NOTE: do not use currency symbols in numeric fields (local curency values will be converted to US$ for processing according to the currency conversion factor in the IAMS console > PROFILES > store profile) |
| shipvia | numeric | shipping charge on order, defaults to 0.00 when no entry made |
| tax | numeric | the tax on order, defaults to 0.00 when no entry made |
| orderemail | text | the e-mail address for sending a 3rd party copy of an order (can be left blank or have multiple addresses separated by commas) |
| remotehost | text | the CGI value identifying the IP of the customer (used as an element in fraud prevention) |
| refurl | text | the purchase order number from originating cart |
| logourl | text | the full URL to the store logo (will appear on shipping and credit card forms) |
| crnsyn | text | the symbol or ID used with local currency (because of browser differences this is best written in abreviation IE: GBP for pounds sterling) |
| backgroundcolor | text | the hex value or name of the page color for the shipping, credit card, and confirmation pages (defaults to light grey) |
| backgroundimage | text | the full URL to an image to be repeated in the background on the shipping, credit card, and confirmation pages |
| fontcolor | text | the hex value or name of the color for the text on the shipping, credit card, and confirmation pages (must contrast with the page color, defaults to black) |
| shipform | text | set value to API2 |
| payby | text | set value to cc |
| The customer's shipping information |
| customer | text | customer name |
| company | text | optional |
| location | text | physical address for shipping an order |
| address | text | optional (IE: a PO Box mailing address) |
| city | text | required |
| state | text | county, state, or province |
| zip | text | postal code |
| country | text | required |
| email | text | required |
| telephone | text | required |
| The customer's billing information |
| cccustomer | text | customer name |
| ccaddress | text | required, usually the same as location |
| cccity | text | required |
| ccstate | text | county, state, or province |
| cczip | text | postal code |
| cccountry | text | required |
| ccemail | text | required |
| cctelephone | text | required |
Copyright ImagineNation 1996 - 2006