Configurable settings
The Ledyer Checkout require some settings to be configurable per merchant. This should typically be configurable in a settings page for the Ledyer Checkout plugin/extension.
Allow shipping address
OptionalCheckbox alternative to allow or not to allow shipping address to be added
Api client name
Api client name for authenticated communication with Ledyers BE
Api client secret
Api client secret for authenticated communication with Ledyers BE
Button color
OptionalAllow the merchant to set the color of the Complete purchase button. If not set it will default to black.
Iframe padding
OptionalLedyer checkout comes with a wrapping padding of 12px by default, this can be toggled off.
Ledyer environment
Point out which environment to use, production or sandbox
Ledyer Store Id
OptionalOptionally specify the Store Id. If not set Leyer will default to the first one.
Privacy url
OptionalOptionally the merchant can link to a separate page/document for their privacy document. If this is not set, the privacy policy must be included in the Terms and conditions.
security.level
integerOptional100, 110, 120, 200, 210, 220 or 300.
Each level is described in this document.
Show name fields
Checkbox alternative to allow or not to allow the end customer to enter first and lastname.
Show custom shipping address contact details
OptionalCheckbox alternative to allow the customer to enter email, phone and name details for a specific order recipient.
Terms url
Allow the merchant to set a url to a page/document containing the their Terms & conditions.
Validation url
OptionalOptionally add a url to an endpoint Ledyer can call to do a final validation if an order should be finalized or not.
You can read more about this here
.
Displayed information
Notifications url
The settings view should display the url that is setup to receive notifications from Ledyer. This is to help the onboarding of a new merchant in Ledyer.