Skip to content

Latest commit

 

History

History
77 lines (44 loc) · 2.22 KB

OptionsResponse.md

File metadata and controls

77 lines (44 loc) · 2.22 KB

@bigcommerce/checkout-sdk / OptionsResponse

Interface: OptionsResponse

When creating your Drop-in instance, you can specify options to trigger different features or functionality. https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in/drop-in-integration-guide#drop-in-options

Table of contents

Properties

Properties

button

Optional button: ButtonResponse

Use this option to customize the text of the Drop-in button.


flow

Optional flow: string

Use this option if you are using Drop-in within a standard checkout flow. Example Value: "checkout"


paymentMethodConfiguration

Optional paymentMethodConfiguration: BaseElementOptions

Additional configuration details for drop-in.


showComplianceSection

Optional showComplianceSection: boolean

Will show a localized compliance link section as part of Drop-in. This is an important piece for accessing the Digital River business model.


showSavePaymentAgreement

Optional showSavePaymentAgreement: boolean

When enabled, presents the customer with an option to save their payment details for future use within Drop-in. Enabling this feature will show the appropriate check boxes and localized disclosure statements and facilitate any necessary Strong Customer Authentication. If disabled, Drop-in will not present the customer with an option to save their payment details.


showTermsOfSaleDisclosure

Optional showTermsOfSaleDisclosure: boolean

Use this option to show the required terms of sale disclosure. These localized terms automatically update if recurring products are purchased.


usage

Optional usage: string

Use this option to specify the future use of a source.