Skip to content

Commit

Permalink
0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Apr 6, 2017
1 parent c232e6b commit 6208171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/klarna"
,"version": "0.2.5"
,"version": "0.2.6"
,"description": "The «Klarna» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/klarna"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"klarna/checkout": "*", "mage2pro/core": ">=2.4.27", "mage2pro/klarna-sdk-v3": "^2.2.3"}
,"require": {"klarna/checkout": "*", "mage2pro/core": ">=2.4.28", "mage2pro/klarna-sdk-v3": "^2.2.3"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Klarna\\": ""}}
,"keywords": [
"API"
Expand Down
4 changes: 1 addition & 3 deletions view/frontend/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ define([
// Для анонимных покупателей q.getQuoteId() — это строка вида
// «63b25f081bfb8e4594725d8a58b012f7».
ub.createUrl(df.s.t('/dfe-klarna/%s/html', l ? 'mine' : q.getQuoteId()), {})
,df.o.merge(
{cartId: q.getQuoteId(), ba: q.billingAddress(), qp: null}, l?{}:{email: q.guestEmail}
)
,df.o.merge({ba: q.billingAddress(), qp:_this.getData()}, l ? {} : {email: q.guestEmail})
);
}});
return this;
Expand Down

0 comments on commit 6208171

Please sign in to comment.