Payment Routines
include\payment.asp
The following payment processing utility routines are defined in this file:
- CatchErrorsForPaymentPages
This sub redirects the user to the appropriate page if an error is encountered when initializing the credit card or purchase order pages. - CheckOut
This function runs the basket, total, and checkout pipelines. - EnsureSupportForPaymentMethod
This sub checks whether the selected payment method is supported for the user; if it is not, the user is redirected to the default payment method page for the user. - GetDefaultPaymentMethodForUser
This function returns the first payment method in the passed SimpleList object. - GetPaymentMethodDisplayName
This function returns the display name for the specified payment method. - GetPaymentMethodsForUser
This function returns the payment methods for the user. - GetPaymentPageFromPaymentMethod
This function returns the friendly name of either the crdtcard.asp or po.asp page, depending on the value of the sPaymentMethod parameter. - GetXMLForVendorItems
This function creates and returns an XML document containing the line items corresponding to the specified order form and vendor. The oVendor parameter is a list of line items to be associated with a vendor, and is generated in the Splitter component of the checkout pipeline. - htmRenderPaymentOptionsForUser
This function renders the payment options for the user. - InvokeBizTalk
This sub submits purchase orders to the appropriate vendors using BizTalk Server when BizTalk Server integration is enabled. - SaveBasketAsOrder
This sub saves the basket as an order and deletes old baskets. It also invokes the BizTalk Server as appropriate, and calls the routine Analysis_LogSubmitOrder for analysis purposes. - SubmitUsingBizTalk
This function submits an order using the Submit method of the BizTalk Server Interchange object.
Copyright © 2005 Microsoft Corporation.
All rights reserved.