Class HostedCheckoutSpecificInput
Inheritance
HostedCheckoutSpecificInput
Assembly: connect-sdk-dotnet.dll
Syntax
public class HostedCheckoutSpecificInput
Properties
IsRecurring
- true - Only payment products that support recurring payments will be shown. Any transactions created will also be tagged as being a first of a recurring sequence.
- false - Only payment products that support one-off payments will be shown.
The default value for this property is false.
Declaration
public bool? IsRecurring { get; set; }
Property Value
Locale
Locale to use to present the MyCheckout payment pages to the customer. Please make sure that a language pack is configured for the locale you are submitting. If you submit a locale that is not setup on your account we will use the default language pack for your account. You can easily upload additional language packs and set the default language pack in the Configuration Center.
Declaration
public string Locale { get; set; }
Property Value
PaymentProductFilters
Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer.
Declaration
public PaymentProductFiltersHostedCheckout PaymentProductFilters { get; set; }
Property Value
RecurringPaymentsData
The object containing reference data for the text that can be displayed on MyCheckout hosted payment page with subscription information.
Note:
The data in this object is only meant for displaying recurring payments-related data on your checkout page.
You still need to submit all the recurring payment-related data in the corresponding payment product-specific input. (example: cardPaymentMethodSpecificInput.recurring and cardPaymentMethodSpecificInput.isRecurring)
Declaration
public RecurringPaymentsData RecurringPaymentsData { get; set; }
Property Value
ReturnCancelState
This flag affects the status of a Hosted Checkout when a customer presses the cancel button and is returned to you as a result.
If set to true, then the status will be CANCELLED_BY_CONSUMER. If set to false, then the status will be IN_PROGRESS.
The default value is false. This flag was added to introduce the additional CANCELLED_BY_CONSUMER state as a non-breaking change.
Declaration
public bool? ReturnCancelState { get; set; }
Property Value
ReturnUrl
The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process.
Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of
protocol://. This protocol must be registered on the device first.
URLs without a protocol will be rejected.
Declaration
public string ReturnUrl { get; set; }
Property Value
ShowResultPage
- true - MyCheckout will show a result page to the customer when applicable. Default.
- false - MyCheckout will redirect the customer back to the provided returnUrl when this is possible.
The default value for this property is true.
Declaration
public bool? ShowResultPage { get; set; }
Property Value
Tokens
String containing comma separated tokens (no spaces) associated with the customer of this hosted checkout. Valid tokens will be used to present the customer the option to re-use previously used payment details. This means the customer for instance does not have to re-enter their card details again, which a big plus when the customer is using their mobile phone to complete the checkout.
Declaration
public string Tokens { get; set; }
Property Value
ValidateShoppingCart
By default, validation is done for all the information required to display the shopping cart. Set this value to false if you would like to turn that feature off for a hosted checkout on the Ogone Payment Platform, in which case the rendering of the shopping cart will be skipped if any required information is missing. Use this when you want fraud-checks to be performed on the shopping cart, but do not want to suply all data needed for displaying it in the hosted checkout. The default value for this property is true.
Declaration
public bool? ValidateShoppingCart { get; set; }
Property Value
Variant
Using the Configuration Center it is possible to create multiple variations of your MyCheckout payment pages. By specifying a specific variant you can force the use of another variant then the default. This allows you to test out the effect of certain changes to your MyCheckout payment pages in a controlled manner. Please note that you need to specify the ID of the variant.
Declaration
public string Variant { get; set; }
Property Value