Bookshelf Home | Contents | Index | Search | PDF |
Siebel eSales Administration Guide > Shopping Service API > Workflow Methods >
ValidatePayment
This method is used to validate the payment information for either a purchase order or a credit card.
Expected Preconditions Before the Method Can Be Called
None.
Arguments
The ValidatePayment method has the arguments shown in Table 59.
NOTE: If you want to perform credit card validation on a business component other than Quote, the business component must be either based on the CSSBCBase class, based on a class that is itself based on the CSSBCBase class, or based on a class that inherits from the CSSBCBase class, such as CSSBCQuote. For more information, see the section on credit card user properties in Siebel Tools Reference.
Pseudo-Algorithm
- Check what kind of payment is entered by checking the PO Number and Credit Card Number input arguments.
- If PO Number has a value, then the payment information is valid.
- If Credit Card Number has a value, then get all the required fields.
- Pass the credit card information to the Credit Card Transaction Service business service to validate the information.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eSales Administration Guide Published: 18 April 2003 |