Skip to content

Commit

Permalink
[Feat] add MSI feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvisHeredia committed Mar 15, 2023
1 parent 44a1e8e commit bf141ce
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 81 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"php":"8.1.11","version":"3.12.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"braces":true,"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_typehint":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_braces":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"return_type_declaration":true,"short_scalar_cast":true,"single_blank_line_before_namespace":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"visibility_required":true,"blank_line_after_namespace":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"concat_space":{"spacing":"one"},"binary_operator_spaces":true,"not_operator_with_successor_space":true,"no_superfluous_elseif":true,"single_quote":true,"operator_linebreak":true,"no_unneeded_control_parentheses":true,"phpdoc_annotation_without_dot":true,"increment_style":true,"phpdoc_scalar":true,"phpdoc_no_alias_tag":true,"phpdoc_no_package":true,"single_line_comment_spacing":true,"no_alias_language_construct_call":true,"trailing_comma_in_multiline":true,"unary_operator_spaces":true,"phpdoc_separation":true,"cast_spaces":true,"no_extra_blank_lines":true,"blank_line_before_statement":true},"hashes":{"index.php":130455044,"mails\/index.php":130455044,"mails\/mx\/index.php":3481959956,"mails\/es\/index.php":130455044,"mails\/en\/index.php":130455044,"HelperGateway.php":2758290419,"conekta.php":1946587380,"model\/index.php":130455044,"model\/Database.php":2959336022,"model\/Config.php":3573154001,"lib\/index.php":130455044,"lib\/conekta-php\/index.php":82925202,"lib\/conekta-php\/test\/BaseTest.php":3372616288,"lib\/conekta-php\/test\/index.php":3690555249,"lib\/conekta-php\/test\/Conekta-1.0\/LangTest.php":2396226415,"lib\/conekta-php\/test\/Conekta-1.0\/index.php":2148746709,"lib\/conekta-php\/test\/Conekta-1.0\/PayoutTest.php":3152474310,"lib\/conekta-php\/test\/Conekta-1.0\/EventTest.php":3124390162,"lib\/conekta-php\/test\/Conekta-1.0\/ConektaTest.php":726261223,"lib\/conekta-php\/test\/Conekta-1.0\/LogTest.php":3720469414,"lib\/conekta-php\/test\/Conekta-1.0\/PlanTest.php":1117982175,"lib\/conekta-php\/test\/Conekta-1.0\/CustomerTest.php":557594961,"lib\/conekta-php\/test\/Conekta-1.0\/ChargeTest.php":3241509521,"lib\/conekta-php\/test\/Conekta-1.0\/WebhookTest.php":2302029667,"lib\/conekta-php\/test\/Conekta-1.0\/ErrorTest.php":3529047549,"lib\/conekta-php\/test\/bootstrap.php":544856124,"lib\/conekta-php\/test\/Conekta-2.0\/ShippingLineTest.php":2044095376,"lib\/conekta-php\/test\/Conekta-2.0\/LineItemTest.php":2692149924,"lib\/conekta-php\/test\/Conekta-2.0\/LangTest.php":2396226415,"lib\/conekta-php\/test\/Conekta-2.0\/TaxLineTest.php":3631946629,"lib\/conekta-php\/test\/Conekta-2.0\/index.php":82925202,"lib\/conekta-php\/test\/Conekta-2.0\/OrderTest.php":2349340505,"lib\/conekta-php\/test\/Conekta-2.0\/ConektaListTest.php":4017519011,"lib\/conekta-php\/test\/Conekta-2.0\/SubscriptionTest.php":3780618734,"lib\/conekta-php\/test\/Conekta-2.0\/ConektaTest.php":3379456307,"lib\/conekta-php\/test\/Conekta-2.0\/SourceTest.php":4170791539,"lib\/conekta-php\/test\/Conekta-2.0\/CustomerTest.php":2212663475,"lib\/conekta-php\/test\/Conekta-2.0\/ShippingContactTest.php":3766919444,"lib\/conekta-php\/test\/Conekta-2.0\/ChargeTest.php":3749194431,"lib\/conekta-php\/test\/Conekta-2.0\/ErrorHandlerTest.php":1746935832,"lib\/conekta-php\/test\/Conekta-2.0\/DiscountLineTest.php":2410314996,"lib\/conekta-php\/test\/Conekta-2.0\/WebhookTest.php":4068501960,"lib\/conekta-php\/test\/support\/index.php":82925202,"lib\/conekta-php\/test\/support\/fixtures\/index.php":82925202,"lib\/conekta-php\/lib\/Conekta\/Card.php":1354944246,"lib\/conekta-php\/lib\/Conekta\/PaymentMethod.php":4084411547,"lib\/conekta-php\/lib\/Conekta\/Lang.php":2980356393,"lib\/conekta-php\/lib\/Conekta\/Requestor.php":1396079409,"lib\/conekta-php\/lib\/Conekta\/Subscription.php":1359438555,"lib\/conekta-php\/lib\/Conekta\/Payout.php":2326044598,"lib\/conekta-php\/lib\/Conekta\/Event.php":2182653876,"lib\/conekta-php\/lib\/Conekta\/WebhookLog.php":4094533976,"lib\/conekta-php\/lib\/Conekta\/Token.php":2454910017,"lib\/conekta-php\/lib\/Conekta\/index.php":3690555249,"lib\/conekta-php\/lib\/Conekta\/Order.php":3247749468,"lib\/conekta-php\/lib\/Conekta\/Charge.php":2698714446,"lib\/conekta-php\/lib\/Conekta\/ShippingContact.php":161060383,"lib\/conekta-php\/lib\/Conekta\/PayoutMethod.php":2817554294,"lib\/conekta-php\/lib\/Conekta\/Address.php":497387927,"lib\/conekta-php\/lib\/Conekta\/ConektaResource.php":4260650745,"lib\/conekta-php\/lib\/Conekta\/Method.php":887838396,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/MalformedRequestError.php":1922212478,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/AuthenticationError.php":1804030305,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/NoConnectionError.php":223587963,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/index.php":82925202,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/ParameterValidationError.php":3055775386,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/ProcessingError.php":1757174606,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/Handler.php":295010265,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/ResourceNotFoundError.php":4004274380,"lib\/conekta-php\/lib\/Conekta\/Exceptions\/ApiError.php":2081123601,"lib\/conekta-php\/lib\/Conekta\/DiscountLine.php":374870150,"lib\/conekta-php\/lib\/Conekta\/Conekta.php":1118154006,"lib\/conekta-php\/lib\/Conekta\/Customer.php":2228979438,"lib\/conekta-php\/lib\/Conekta\/Webhook.php":1162785900,"lib\/conekta-php\/lib\/Conekta\/Payee.php":3947239471,"lib\/conekta-php\/lib\/Conekta\/LineItem.php":1927226907,"lib\/conekta-php\/lib\/Conekta\/TaxLine.php":3655687002,"lib\/conekta-php\/lib\/Conekta\/PaymentSource.php":3921594319,"lib\/conekta-php\/lib\/Conekta\/ConektaList.php":1004318925,"lib\/conekta-php\/lib\/Conekta\/ConektaObject.php":3483140663,"lib\/conekta-php\/lib\/Conekta\/ShippingLine.php":4017771119,"lib\/conekta-php\/lib\/Conekta\/Util.php":3165817836,"lib\/conekta-php\/lib\/Conekta\/Log.php":712631510,"lib\/conekta-php\/lib\/Conekta\/Plan.php":1069008106,"lib\/conekta-php\/lib\/locales\/messages\/index.php":82925202,"lib\/conekta-php\/lib\/locales\/messages\/en.php":3308507690,"lib\/conekta-php\/lib\/locales\/messages\/es.php":2483410141,"lib\/conekta-php\/lib\/locales\/index.php":82925202,"lib\/conekta-php\/lib\/index.php":3690555249,"lib\/conekta-php\/lib\/Conekta.php":2412978291,"lib\/conekta-php\/lib\/ssl_data\/index.php":82925202,"controllers\/index.php":922539806,"controllers\/front\/index.php":2419419258,"controllers\/front\/validation.php":2728110505,"notification.php":3639493434,"views\/index.php":4127699798,"views\/css\/index.php":3690555249,"views\/js\/index.php":130455044,"views\/img\/index.php":130455044,"views\/templates\/index.php":130455044,"views\/templates\/front\/index.php":130455044,"views\/templates\/hook\/index.php":130455044}}
37 changes: 37 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php
$finder = PhpCsFixer\Finder::create()
->exclude(['storage', 'bootstrap/cache'])
->in(__DIR__);
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'concat_space' => ['spacing' => 'one'],
'binary_operator_spaces' => true,
'not_operator_with_successor_space' => true,
'no_superfluous_elseif' => true,
'single_quote' => true,
'operator_linebreak' => true,
'no_unneeded_control_parentheses' => true,
'braces' => true,
'phpdoc_annotation_without_dot' => true,
'increment_style' => true,
'phpdoc_scalar' => true,
'phpdoc_no_alias_tag' => true,
'phpdoc_no_package' => true,
'no_spaces_inside_parenthesis' => true,
'single_line_comment_spacing' => true,
'no_alias_language_construct_call' => true,
'trailing_comma_in_multiline' => true,
'unary_operator_spaces' => true,
'short_scalar_cast' => true,
'phpdoc_separation' => true,
'cast_spaces' => true,
'no_extra_blank_lines' => true,
'blank_line_before_statement' => true
])
->setFinder($finder);




5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [v2.3.6] - 2023-03-15
[Full Changelog](https://github.com/conekta/conekta_prestashop/compare/2.3.5...2.3.6)
- Add MSI feature by @ElvisHeredia [#115](https://github.com/conekta/conekta_prestashop/pull/115)


## [v2.3.5] - 2022-11-04
[Full Changelog](https://github.com/conekta/conekta_prestashop/compare/2.3.4...2.3.5)
- Update Version by @ElvisHeredia [#107](https://github.com/conekta/conekta_prestashop/pull/107)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Prestashop [1.7.8.x] Plugin v2.3.5
Prestashop [1.7.8.x] Plugin v2.3.6
=======================
This plugin is an official and stable version of the Conekta Prestashop extension. It bundles functionality to process credit cards, SPEI, Banorte and OXXO payments securely as well as send email notifications to your customers when they complete a successful purchase.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"preferred-install": "dist"
},
"type": "prestashop-module",
"version": "2.3.5"
"version": "2.3.6"
}
Loading

0 comments on commit bf141ce

Please sign in to comment.