Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

PaymentWeb.Data.Shop Entity

The Shop entity describes the WebShop within which a user in a session operates. Refer to the WebShop documentation for a description of the basic Shop entity.

In PaymentWebShop the Shop entity has been extended with fields to control exchange of events with a payment gateway.

The Shop entity inherits from PaymentWebShop.Abstract.PaymentGateway.Data. Application and through this inheritance it is ensured that the correct Shop instance is loaded when pages with external events is generated.

Shop Fields

The Shop entity defines the following fields: 

Fields.ShopName Unique key of Shop entity.
refers to CategoryStructure.Data.Node by Fields.ShopMainCategoryCode The starting category node of the Shop.
Fields.ApplicationID The identification of the shop to the payment gateway. This field is included in all events exchanged with the payment gateway.
Fields.PaymentClearingURL URL address for the payment clearing process. This URL is used in the Submit Payment.OK event.
 
Fields.ExternalServerUserName Username to the payment gateway.
For future use; not used in this version of PaymentWebShop.
Fields.ExternalServerPassword Password to the payment gateway.
For future use; not used in this version of PaymentWebShop.
Fields.PaymentCaptureURL URL address for the payment clearing process.
For future use; not used in this version of PaymentWebShop.

Shop Inheritance

The Shop entity inherits from WebShop.Data.Shop and PaymentWebShop.Abstract.PaymentGateway.