Class GetHostedCheckoutResponse
Inherited Members
Namespace: Worldline.Connect.Sdk.V1.Domain
Assembly: Worldline.Connect.Sdk.dll
Syntax
public class GetHostedCheckoutResponse
Properties
CreatedPaymentOutput
When a payment has been created during the hosted checkout session this object will return the details.
Declaration
public CreatedPaymentOutput CreatedPaymentOutput { get; set; }
Property Value
Type | Description |
---|---|
CreatedPaymentOutput |
Status
This is the status of the hosted checkout. Possible values are:
- IN_PROGRESS - The checkout is still in progress and has not finished yet
- PAYMENT_CREATED - A payment has been created
- CANCELLED_BY_CONSUMER - If a customer cancels the payment on the payment product detail page of the MyCheckout hosted payment pages, the status will change to IN_PROGRESS. Since we understand you want to be aware of a customer cancelling the payment on the page we host for you, you can choose to receive the status CANCELLED_BY_CONSUMER instead of the status IN_PROGRESS. In order to receive the status CANCELLED_BY_CONSUMER, you need to have the returnCancelState flag enabled in the Create hosted checkout call.
- CLIENT_NOT_ELIGIBLE_FOR_SELECTED_PAYMENT_PRODUCT - With some payment products it might occur that the device of the user is not capable to complete the payment. If the Hosted Checkout Session was restricted to a single project that is not compatible to the user's device you will receive this Hosted Checkout status. This scenario applies to: Google Pay (Payment Product ID: 320).
Please see Statuses for a full overview of possible values.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |