Supporting multiple Instant Shopping buttons on the same page is in our roadmap but not currently available.
In order for Instant Shopping to provide the smooothest and fastest loading time possible, we have opted for caching the resources. The button configuration has an expiry time of 60 minutes.
Can I supply additional metadata when placing the order?
An order object can be extended with the following metadata:
- merchant_reference1 (String) - Used for storing merchant’s internal order number or other reference (max 255 characters).
- merchant_reference2 (String) - Used for storing merchant’s internal order number or other reference (max 255 characters).
- merchant_data (String) - Pass through field (max 1024 characters).
- attachment (Object with 2 required parameters - body, content_type) - Field to store arbitrary data defined by Klarna’s Risk Service which merchants can send to improve Klarna’s risk assesment decisions. The idea is that this data will only improve acceptance rate. Additional purchase information required for some industries. More information of its flexible structure. – body - This field should be a string containing the body of the attachment. The body should be an object containing any of the keys and sub objects described below serialised to JSON. – content_type - The content type of the body property.