Class DisplayedData
Inherited Members
Namespace: Ingenico.Connect.Sdk.Domain.Hostedcheckout.Definitions
Assembly: connect-sdk-dotnet.dll
Syntax
public class DisplayedData
Properties
DisplayedDataType
Action merchants needs to take in the online payment process. Possible values are:
- SHOW_INSTRUCTIONS - The customer needs to be shown payment instruction using the details found in showData. Alternatively the instructions can be rendered by us using the renderingData
- SHOW_TRANSACTION_RESULTS - The customer needs to be shown the transaction results using the details found in showData. Alternatively the instructions can be rendered by us using the renderingData
Declaration
public string DisplayedDataType { get; set; }
Property Value
Type | Description |
---|---|
string |
RenderingData
This property contains the blob with data for the instructions rendering service.
This service will be available at the following endpoint: http(s)://{{merchant specific subdomain}}.{{base MyCheckout hosted payment pages domain}}/instructions/{{merchantId}}/{{clientSessionId}}
This instructions page rendering service accepts the following parameters:
- instructionsRenderingData (required, the content of this property)
- locale (optional, if present overrides default locale, e.g. "en_GB")
- variant (optional, code of a variant, if present overrides default variant, e.g. "100")
- customerId (required for Pix, otherwise optional, the customerId from a client session)
The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available). You are responsible to store the instructionsRenderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
Declaration
public string RenderingData { get; set; }
Property Value
Type | Description |
---|---|
string |
ShowData
Array of key value pairs of data that needs to be shown to the customer. This is returned for both the SHOW_INSTRUCTION as well as the SHOW_TRANSACTION_RESULTS actionType.
Note: The returned value for the key BARCODE is a base64 encoded gif image. By prepending 'data:image/gif;base64,' this value can be used as the source of an HTML inline image.
Declaration
public IList<KeyValuePair> ShowData { get; set; }
Property Value
Type | Description |
---|---|
IList<KeyValuePair> |