Skip to content

Releases: commercelayer/drop-in.js

v2.15.0

16 Jun 14:05
5417a84
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

Full Changelog: v2.14.0...v2.15.0

v2.14.0

27 May 09:16
c21f33d
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

  • Update order language when it is different from the drop-in language configuration by @marcomontalbano in #107

Full Changelog: v2.13.0...v2.14.0

v2.13.0

27 May 08:00
2385cd8
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

Full Changelog: v2.12.0...v2.13.0

v2.12.0

05 May 10:29
bce95e0
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v2.11.2...v2.12.0

v2.11.2

11 Mar 08:37
098ffde
Compare
Choose a tag to compare

What's Changed

🆙 Dependencies

Full Changelog: v2.11.1...v2.11.2

v2.11.1

20 Feb 13:01
dec837e
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v2.11.0...v2.11.1

v2.11.0

20 Feb 08:37
178e498
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

🆙 Dependencies

Full Changelog: v2.10.0...v2.11.0

v2.10.0

30 Jan 09:15
fcbdb63
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

Full Changelog: v2.9.0...v2.10.0

v2.9.0

17 Jan 06:42
9fc16bc
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

⚠️ Deprecation notices

  • languageCode is deprecated and it will be removed in the next major version (v3.0). Use defaultAttributes.orders.language_code instead.
  • orderReturnUrl is deprecated and it will be removed in the next major version (v3.0). Use defaultAttributes.orders.return_url instead.

We added the ability to set custom order attributes when creating the order (#91).

<script>
  window.commercelayerConfig = {

    . . .

-   languageCode: 'en',
-   orderReturnUrl: 'https://example.com'
+   defaultAttributes: {
+     orders: {
+       language_code: 'en',
+       return_url: 'https://example.com'
+     }
+   }
  }
</script>

Full Changelog: v2.8.2...v2.9.0

v2.8.2

09 Jan 17:16
57834a1
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v2.8.1...v2.8.2