Reference > Shop flow URLs > Order Management subsystem URLs > Order payment


GetPaymentInfo URL

This URL returns the credit card number, brand, and expiry date that were stored in the ORDPAYMTHD table for the order.

This URL returns the credit card number, brand, and expiry date that were stored in the ORDPAYMTHD table for the order. New commands do not store the payment information in the ORDPAYMTHD table. This URL is deprecated and is provided only for compatibility with previous versions.


URL structure

http:// host name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name,   GetPaymentInfo , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

langId

Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table

storeId

The reference number of the store associated with this command

URL

Required: The URL to be called when the command completes successfully

orderId

Required: The reference number of the order about which payment information is being requested


Example

In this example, payments are not processed by Commerce Payments; the payment information is stored in the database. The example assumes that the site administrator logs in and causes this command to run:

https://host/webapp/wcs/stores/servlet/GetPaymentInfo?storeId=storeId
&orderId=123&URL=pathname/PayInfo.jsp


Behavior


Exception conditions

An error is generated under the following conditions:


Related concepts

Order Management subsystem

Related reference

Order Management subsystem URLs

Payment data model

Currency data model


+

Search Tips   |   Advanced Search