Skip to content

Commit

Permalink
🐛 fixes install bugs and magento2 marketplace requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiagoBarradas committed Dec 16, 2017
1 parent 74229fb commit 4ea6e4f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ protected function createNewRequest($requestDataProvider)
'name' => !empty($requestDataProvider->getName()) ? $requestDataProvider->getName() : $quote->getBillingAddress()->getFirstName() . ' ' . $quote->getBillingAddress()->getLastName(),
'email' => !empty($requestDataProvider->getEmail()) ? $requestDataProvider->getEmail() : $quote->getBillingAddress()->getEmail(),
'document' => $quote->getCustomerTaxvat(),
'type' => 'individuals',
'type' => 'individual',
'address' => [
'street' => $quote->getShippingAddress()->getStreetLine(1),
'number' => $quote->getShippingAddress()->getStreetLine(2),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class RequestBuilder implements BuilderInterface
*/
public function __construct(
Request $request,
BilletCreditCardTransaction $creditCardTransaction,
BilletCreditCardRequestDataProviderInterfaceFactory $requestDataProviderFactory,
CartItemRequestDataProviderInterfaceFactory $cartItemRequestDataProviderFactory,
Cart $cart,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add the following lines into your composer.json
```
{
"require": {
"mundipagg/mundipagg-magento2-module":"~1.0.12"
"mundipagg/mundipagg-magento2-module":"~1.0.14"
}
}
```
Expand Down
8 changes: 1 addition & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
{
"name": "mundipagg/mundipagg-magento2-module",
"license": "Copyright",
"version": "1.0.12",
"version": "1.0.14",
"type": "magento2-module",
"description": "Magento 2 Module Mundipagg",
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
"require": {
"php": "~5.6.0|~7.0.0|~7.1.0",
"mundipagg/mundiapi": "^1.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MundiPagg_MundiPagg" setup_version="1.0.12">
<module name="MundiPagg_MundiPagg" setup_version="1.0.14">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit 4ea6e4f

Please sign in to comment.