anchor.diff:          }).done(function() {
             if (response.approved) {
               settings.submitButton.attr('disabled', false).addClass('primary').removeClass('gray');
  +            settings.loader.hide();
             } else {
               window.location.assign(settings.paymentUrl)
             }
  
positive.code: 
              delete response.data.merchant_urls;
  
              Klarna.Credit.reauthorize(response.data,updateSession);
            } else {
              window.location.assign(settings.paymentUrl)
            }
  
negative.code:         submitButton: null,
          orderId: null,
          sessionUrl: "/checkout/state/klarna_order_status",
          updateSessionUrl: "/checkout/state/klarna_update_session",
          loader: $('<div class="loader"></div>')
        }, options);
  
        if (!settings.orderId && this.data('orderId') !== undefined) {
          settings.orderId = this.data('orderId');
          settings.paymentUrl = "/checkout/payment";
        }
  
        if (settings.submitButton) {
          settings.submitButton.attr('disabled', true).removeClass('primary').addClass('gray');
          settings.submitButton.after(settings.loader);
        }
  
        var updateSession = function(response) {
          return $.ajax({
            method: 'POST',
            url: settings.updateSessionUrl,
  