diff --git a/bin/controls/PaymentDisplay.js b/bin/controls/PaymentDisplay.js
index fe7ccae54e3b937c797d47fa1f2025bf444c4926..bf6f3ce6e60336e89e29d50943eae23c78f7aca4 100644
--- a/bin/controls/PaymentDisplay.js
+++ b/bin/controls/PaymentDisplay.js
@@ -129,6 +129,10 @@ define('package/quiqqer/payment-amazon/bin/controls/PaymentDisplay', [
          * Execute if Amazon Login has loaded
          */
         $onAmazonLoginReady: function () {
+            if (typeof amazon === 'undefined') {
+                return;
+            }
+
             amazon.Login.setClientId(this.getAttribute('clientid'));
         },