diff --git a/.gitignore b/.gitignore
index c8f4fa283..98cc945fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
clover.xml
coverage
+coverage.xml
/.idea/
/.vscode/
@@ -13,3 +14,5 @@ coverage
woocommerce-mercadopago.zip
qit-env.yml
+
+.env
\ No newline at end of file
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d65c7d44e..2f830d0d2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,26 +1,25 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- - repo: git@github.com-emu:melisource/fury_websec-git-hooks
+ - repo: git@github.com:melisource/fury_websec-git-hooks
rev: v2.0.0
hooks:
- id: pre_commit_hook
- stages: [commit]
+ stages: [ commit ]
- id: post_commit_hook
- stages: [post-commit]
+ stages: [ post-commit ]
- - repo: git@github.com-emu:melisource/fury_datasec-git-hooks.git
- rev: 1.2.0
+ - repo: git@github.com:melisource/fury_datasec-git-hooks
+ rev: 1.2.2
hooks:
- id: pre_commit_hook
- stages: [commit]
- verbose: true
+ stages: [ pre-commit ]
- id: post_commit_hook
- stages: [post-commit]
+ stages: [ post-commit ]
- repo: local
hooks:
- id: add-index
name: Add index.php
- stages: [pre-commit]
+ stages: [ pre-commit ]
language: script
- entry: ./bin/add-index.sh
\ No newline at end of file
+ entry: ./bin/add-index.sh
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4756ffa11..2420cd657 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [7.9.2] - 2024-12-26
+### Fixed
+- Addressed the way we create transactions for PagoEfectivo payments to avoid issues with the payment method.
+
+## [7.9.1] - 2024-12-17
+### Fixed
+- The number input on the ticket row now takes precedence over the "no number" button.
+- On checkout, some users were unable to select the payment method on the ticket row; this issue has been fixed.
+- Due to compatibility issues with the latest WooCommerce releases, we've updated the method by which we check and load scripts and styles.
+
+## [7.9.0] - 2024-12-16
+### Added
+- The plugin now explicitly declares its dependency on WooCommerce.
+- The ticket row for Brazil now requires the billing address from your customers due to regulatory reasons.
+### Fixed
+- Improved the reusability of some classes in the codebase.
+- Removed unused code from styles, scripts, and PHP files.
+- Removed certain images from the plugin and now access them via MercadoLibre's CDN.
+- Eliminated unused files from the MercadoPago SDK in the release build.
+- Adjusted default credits row name in MLB.
+### Changed
+- Added a check to ensure wp_query is present before calling is_checkout.
+- A warning is now shown when there is an error with installments on card form.
+- Combined Spanish translations into a single file.
+- Reduced the package size by 6MB (from 7.2mb to 1.2mb).
+- GIFs are now loaded from URLs instead of local files in the admin panel.
+
+## [7.8.2] - 2024-11-07
+### Fixed
+- **Initializing array for transaction listItems** to fix acessing not initialized property.
+
## [7.8.1] - 2024-10-07
### Added
diff --git a/README.md b/README.md
index 373e3952f..9ec77f36c 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,9 @@ Welcome to the readme for Mercado Pago Payment Gateway Plugin. This guide is int
8. [Contributing](#contributing)
-9. [Support and Issues](#support-and-issues)
+9. [Running Tests](#running-tests)
+
+10. [Support and Issues](#support-and-issues)
@@ -114,7 +116,45 @@ class ExamplePaymentTransaction extends AbstractPaymentTransaction {
In this example, the `ExamplePaymentTransaction` class extends the payment transaction functionality and can be customized as needed.
You can see more on the github wiki page.
-
+
+## Running Tests
+
+This project uses [PHPUnit](https://phpunit.de/) for automated testing and generating code coverage reports. Follow the instructions below to run tests and generate coverage reports.
+
+### Requirements
+
+Ensure that all dependencies are installed by running:
+
+```bash
+composer install
+```
+
+### Test Commands
+
+To run all project tests and generate HTML code coverage reports, you can use the pre-configured commands in `composer.json`.
+
+- Run all tests:
+
+ ```bash
+ composer phpunit
+ ```
+ This command will execute all tests in the project and display results in the terminal.
+
+- Run a specific test file:
+ ```bash
+ composer phpunit-file path/to/your/testfile.php
+ ```
+ This command allows you to focus on a single test file, which is useful for development and debugging.
+
+ ### Code Coverage Reports
+ After running the tests, a coverage directory will be generated in the project root, containing the reports in HTML format. You can view the reports by opening coverage/index.html in a browser.
+
+ ### How to mock Wordpress
+
+ To mock WordPress functions and classes in your unit tests, you can use the `WP_Mock` library. It simplifies the creation of mocks and stubs for WordPress functions, allowing you to test your code in isolation.
+
+For more information, refer to the [WP_Mock documentation](https://wp-mock.gitbook.io/documentation).
+
## Support and Issues
diff --git a/assets/css/checkouts/mp-plugins-components.min.css b/assets/css/checkouts/mp-plugins-components.min.css
index e02399d4a..327d99067 100644
--- a/assets/css/checkouts/mp-plugins-components.min.css
+++ b/assets/css/checkouts/mp-plugins-components.min.css
@@ -1 +1 @@
-.mp-alert-details-card{background:rgb(0 0 0/4%)!important;border-left:4px solid #f23d4f!important;border-radius:6px!important;display:flex!important;flex-direction:column!important;padding:16px!important}.mp-alert-details-card-content{align-items:baseline!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important}.mp-alert-details-card-content-left{margin-right:8px!important}.mp-alert-details-card-content-right{margin-left:8px!important}.mp-alert-details-badge{align-items:center!important;background:#f23d4f!important;border-radius:50%!important;color:#fff!important;display:flex!important;flex-direction:row!important;height:16px!important;justify-content:center!important;width:16px!important}.mp-alert-details-title{color:rgba(0,0,0,.9)!important;font-weight:700!important;padding:0!important}.mp-alert-details-description,.mp-alert-details-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:120%!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-alert-details-description{color:#000!important;font-weight:400!important;margin-top:4px!important}.mp-alert-details-retry-button{background-color:#3483fa!important;border:1px solid #3483fa!important;border-radius:4px!important;color:#fff!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:32px!important;margin-top:16px!important;outline:0!important;padding:0 12px!important;transition:all .3s ease-in-out!important}.mp-alert-details-retry-button:hover{background-color:#2968c8!important;border:1px solid #2968c8!important}.mp-checkout-benefits-list-container{display:flex;flex-direction:column!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-checkout-benefits-list-container p{padding:0!important}.mp-checkout-benefits-list-title{color:#1a1a1a!important;font-size:18px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;margin-block-end:32px!important}.mp-checkout-benefits-list,.mp-checkout-benefits-list-title{margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-checkout-benefits-list{display:flex;flex-direction:column!important;gap:16px!important;line-height:18px!important;list-style-type:none!important;margin-block-end:0!important;padding-inline-start:0!important}.mp-checkout-benefits-list-item{align-items:center!important;display:flex;font-size:14px!important;font-weight:600;justify-content:flex-start!important}.mp-checkout-benefits-list-item span{color:rgba(0,0,0,.55)!important;font-weight:400}.mp-checkout-benefits-list-item>span>b{font-size:14px!important;font-weight:600}.mp-checkout-benefits-list-count-list-item{color:#009ee3!important;font-weight:600!important;line-height:0!important;margin-right:8px!important;text-align:center!important}.mp-checkout-benefits-container{display:flex;flex-direction:column!important}.mp-checkout-benefits-container p{padding:0!important}.mp-checkout-benefits-title{color:#1a1a1a!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:18px!important;font-style:normal!important;font-weight:600!important}.mp-checkout-benefits-container-list,.mp-checkout-benefits-title{margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-checkout-benefits-container-list{list-style-type:none!important;padding-top:8px!important;padding-inline-start:0!important}.mp-checkout-benefits-item{align-items:center!important;color:rgba(0,0,0,.55)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;justify-content:flex-start!important;line-height:18px!important;padding:16px 4px 0!important}.mp-checkout-benefits-image-list{float:none!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:100%!important;padding:10px!important;position:inherit!important;width:auto!important}.mp-checkout-benefits-image{max-height:32px!important;max-width:32px!important}.mp-checkout-benefits-item b,.mp-checkout-benefits-item span{color:#0000008c!important;font-size:14px!important;line-height:25px!important}.mp-checkout-benefits-item b{font-weight:700}.mp-checkout-benefits-item-title{color:#1a1a1a!important;font-weight:600!important;margin-bottom:6px!important}.mp-checkout-benefits-item-subtitle,.mp-checkout-benefits-item-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;line-height:15px!important}.mp-checkout-benefits-item-subtitle{color:rgba(0,0,0,.55)!important;font-weight:400!important}.mp-checkout-benefits-count-list-item{color:#009ee3!important;font-size:12px!important;font-style:normal!important;font-weight:600!important;line-height:21px!important}.mp-checkout-benefits-count-list-div{background:rgba(71,154,209,.1)!important;border-radius:50%!important;color:#fff!important;font-size:14px!important;height:25px!important;line-height:0px!important;margin-right:15px!important;min-width:25px!important;text-align:center!important}.mp-checkout-benefits-tick-mark-container{display:flex}.mp-checkout-benefits-tick-mark{display:inline-block!important;height:14px!important;margin-right:16px!important;position:relative!important;width:14px!important}.mp-checkout-benefits-tick-mark:before{height:50%!important;top:50%!important;width:3px!important}.mp-checkout-benefits-tick-mark:after,.mp-checkout-benefits-tick-mark:before{background-color:#009ee3!important;content:""!important;left:0!important;position:absolute!important;transform:translateX(10px) rotate(-45deg)!important;transform-origin:left bottom!important}.mp-checkout-benefits-tick-mark:after{bottom:0!important;height:3px!important;width:100%!important}.mp-checkout-redirect-v2-container{align-items:center!important;align-self:stretch!important;background:#f5f5f5!important;border-radius:6px!important;display:flex!important;flex:none!important;flex-direction:row!important;flex-grow:0!important;gap:16px!important;height:100%!important;justify-content:center!important;order:2!important;padding:12px!important}.mp-checkout-redirect-v2-image{float:none!important;height:auto!important;margin-left:20px!important;max-height:100%!important;max-width:12px!important;position:inherit!important;width:100%!important}.mp-checkout-redirect-v2-text{align-items:center!important;color:#737373!important;display:flex!important;flex:none;flex-grow:1;font-size:12px!important;font-style:normal!important;font-weight:400!important;line-height:15px!important;order:1;width:85%!important}.mp-checkout-redirect-v2-text,.mp-checkout-redirect-v3-container{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;padding:16px 40px!important}.mp-checkout-redirect-v3-title-container{align-items:center!important;display:flex!important;gap:12px!important;height:15px!important;justify-content:left!important;margin-bottom:8px!important}.mp-checkout-redirect-v3-mp-logo-image{margin:0!important;width:20px!important}.mp-checkout-redirect-v3-title{font-weight:600!important;line-height:15px!important}.mp-checkout-redirect-v3-description,.mp-checkout-redirect-v3-title{margin:0!important;size:12px!important;color:rgba(0,0,0,.55)!important}.mp-checkout-redirect-v3-description{font-weight:400!important;height:16px!important;line-height:16px!important}@media (max-width:768px){.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;padding:16px 20px!important}}@media (max-width:400px){.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;height:90px!important;padding:16px 20px!important}}.mp-checkout-redirect-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:24px 32px!important;text-align:center!important}.mp-checkout-redirect-image{float:none!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:172px!important;padding-bottom:24px!important;position:inherit!important;width:100%!important}.mp-checkout-redirect-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-input-document .mp-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:8px!important;display:flex!important;height:48px!important}div .mp-focus{border:1px solid #7f54b3!important}div .mp-error{border:1px solid #f23d4f!important}.mp-input-document .mp-input .mp-document-select{background:#fff!important;border:0!important;color:#000!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:20px!important;letter-spacing:0!important;line-height:20px!important;margin:0 8px!important;min-height:20px!important;min-width:10px!important;outline:none!important;padding:0!important}.mp-input-document .mp-input .mp-vertical-line{border-left:1px solid rgba(0,0,0,.25)!important;height:36px!important;width:1px!important}.mp-input-document .mp-input .mp-document{background:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;color:#000!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:20px!important;line-height:20px!important;min-height:38px!important;outline:none!important;padding:0 14px!important;width:80%!important}.mp-input-document .mp-input .mp-document,.mp-input-document .mp-input-document-helper{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-input-document .mp-input-document-helper{color:#f23d4f!important;display:flex!important;font-size:13px!important;height:18px!important;left:calc(50% - 154.5px)!important;line-height:18px!important;margin-top:5px!important;position:static!important;top:0!important;width:327px!important}.mp-input-document .mp-input-document-helper .mp-input-document-helper-icon{align-items:center!important;background:#f23d4f!important;border-radius:12px!important;color:#fff!important;display:flex!important;height:15px!important;justify-content:center!important;left:0!important;margin:1px 5px!important;top:3px!important;width:15px!important}.mp-yape-input-field{width:100%!important}.mp-yape-input-field .mp-yape-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:8px!important;display:flex!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;gap:8px!important;height:28px!important;line-height:20px!important;padding:14px 12px!important}.mp-input-field-focus{border:1px solid #7f54b3!important}.mp-input-field-error{border:1px solid #f23d4f!important}.mp-helper{align-items:center;color:#f23d4f;display:none;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-weight:500!important;margin-bottom:10px!important;margin-top:4px!important}.mp-helper .mp-helper-icon{align-items:center;background:#f23d4f;border-radius:12px;color:#fff;display:flex;font-size:10px;height:12px!important;justify-content:center;margin:0 4px;width:12px!important}.mp-input-label{align-items:flex-end!important;color:rgba(0,0,0,.9)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;height:30px;line-height:18px!important;padding-bottom:4px!important;padding-left:6px!important;width:100%!important}.mp-input-label b{padding-left:2px!important}.mp-input-radio-container{display:flex;position:relative!important}.mp-input-radio-radio:checked,.mp-input-radio-radio:not(:checked){opacity:0!important}.mp-input-radio-radio:checked+.mp-input-radio-label,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label{color:#666!important;cursor:pointer!important;display:inline-block;line-height:20px!important}.mp-input-radio-radio:checked+.mp-input-radio-label:before,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:before{background:#fff!important;border:2px solid rgba(0,0,0,.25)!important;border-radius:100%!important;box-sizing:border-box!important;content:""!important;height:16px!important;left:0!important;position:absolute!important;top:0!important;width:16px!important}.mp-input-radio-radio:checked+.mp-input-radio-label:before{border:2px solid #7f54b3!important}.mp-input-radio-radio:checked+.mp-input-radio-label:after,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:after{background:#7f54b3!important;border-radius:100%!important;box-sizing:border-box!important;content:""!important;height:8px!important;left:4px!important;position:absolute!important;top:4px!important;width:8px!important}.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:after{opacity:0!important}.mp-input-radio-radio:checked+.mp-input-radio-label:after{opacity:1!important}.mp-input-select-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25)!important;border-radius:8px!important;display:flex!important;height:48px!important}.mp-input-select-select{background:#fff!important;border:0!important;color:#000!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:100%!important;letter-spacing:0!important;line-height:20px!important;margin:0 12px!important;outline:none!important;width:100%!important}.mp-input-table-container{align-items:center!important;justify-content:center!important}.mp-input-table-container,.mp-input-table-list{display:flex!important;flex-direction:column!important;width:100%!important}.mp-input-table-list{border:1px solid rgba(0,0,0,.25)!important;border-radius:6px!important;list-style-type:none!important;margin-left:0!important}.mp-input-table-item{cursor:pointer!important;margin:0 16px!important;padding:0 4px 0 0!important}.mp-input-table-item:not(:first-child){border-top:1px solid rgba(0,0,0,.1)!important}.mp-input-table-label{cursor:pointer!important;justify-content:space-between!important;padding:16px 0!important;width:100%!important}.mp-input-table-label,.mp-input-table-option{align-items:center!important;display:flex!important}.mp-input-table-option{justify-content:flex-start!important}.mp-input-table-row-text{color:rgba(0,0,0,.9)!important}.mp-input-table-row-text,.mp-input-table-row-text-image{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-left:16px!important}.mp-input-table-row-text-image{align-items:center!important;color:#000000e5!important;display:flex!important;flex-direction:row-reverse!important}.mp-input-table-row-obs{color:rgba(0,0,0,.55)!important;text-align:right!important}.mp-input-table-row-obs,.mp-input-table-row-obs-highlight{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important}.mp-input-table-row-obs-highlight{color:#00a650!important}.mp-input-table-container-link{align-items:center!important;display:flex!important;justify-content:center!important;padding:16px 0 24px!important}.mp-input-table-link{color:#7f54b3!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:16px!important;text-decoration:none!important}.mp-input-table-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-input-table-bank-interest-container{align-items:center!important;display:flex!important;justify-content:flex-start!important;width:100%!important}.mp-input-table-bank-interest-text{color:#737373!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-weight:400!important;margin:0!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;max-width:100%!important;padding:8px 0 0 4px!important;word-break:break-word!important}.mp-payment-method-logo-container,.mp-payment-method-logo-slider-container{align-items:center!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:4px!important;box-sizing:border-box!important;display:flex;height:24px!important;justify-content:center!important;padding:4px!important;width:36px!important}.mp-payment-method-logo-image{float:none!important;font-size:10px!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:100%!important;overflow:hidden!important;position:inherit!important;text-overflow:ellipsis!important;width:auto!important}.mp-payment-methods-v2-container,.mp-payment-methods-v2-content{align-items:center!important;display:flex!important;flex-direction:column!important;height:100%!important;justify-content:center!important;width:100%!important}.mp-payment-methods-v2-content{max-width:236px!important}.mp-payment-methods-v2-title{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;font-weight:600!important;line-height:15px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-bottom:20px!important}.mp-payment-methods-v2-list{display:flex!important;flex-wrap:wrap!important;height:100%!important;justify-content:center!important;padding-bottom:16px!important;width:100%!important}.mp-payment-methods-v2-list payment-method-logo{padding:0 1px 4px!important}.mp-payment-methods-container{display:flex;flex-direction:column!important;height:100%!important;width:100%!important}.mp-payment-methods-container p{padding:0!important}.mp-payment-methods-header{align-items:center!important;display:flex;height:100%!important;justify-content:flex-start!important;padding:0 4px 16px!important;width:100%!important}.mp-payment-methods-title{align-items:center!important;color:rgba(0,0,0,.55)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-payment-methods-badge{align-items:center!important;background:#00a650!important;border-bottom-right-radius:8px!important;display:flex;justify-content:center!important;margin-left:10px!important;padding:6px 8px 4px!important}.mp-payment-methods-badge-text{align-items:center!important;color:#fff!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:11px!important;font-style:normal!important;font-weight:700!important;line-height:11px!important;text-align:center!important;text-transform:uppercase!important}.mp-payment-method-type-container{display:flex;flex-direction:column!important;height:100%!important;width:100%!important}.mp-payment-methods-content{align-items:center!important;display:flex;flex-wrap:wrap!important;height:100%!important;justify-content:flex-start!important;padding-bottom:16px!important;width:100%!important}.mp-payment-methods-content payment-method-logo{padding:0 4px 8px!important}.mp-payment-methods-link{box-shadow:none!important;color:#7f54b3!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;text-decoration:none!important;vertical-align:middle!important}.mp-payment-methods-link:hover{color:rgba(0,0,0,.55)!important}.mp-pix-template-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}.mp-pix-template-image{float:none!important;font-size:10px!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:240px!important;overflow:hidden!important;padding-bottom:42px!important;position:inherit!important;text-overflow:ellipsis!important;width:100%!important}.mp-pix-template-title{font-size:16px!important;font-weight:700!important;padding-bottom:16px!important}.mp-pix-template-subtitle,.mp-pix-template-title{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-style:normal!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-pix-template-subtitle{font-size:14px!important;font-weight:400!important}.mp-terms-and-conditions-text{color:rgba(0,0,0,.55)!important;padding-right:4px!important}.mp-terms-and-conditions-link,.mp-terms-and-conditions-text{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important}.mp-terms-and-conditions-link{color:#7f54b3!important;text-decoration:none!important}.mp-terms-and-conditions-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-test-mode-card{background:rgb(0 0 0/4%)!important;border-left:4px solid #f73!important;border-radius:6px!important;display:flex!important;flex-direction:column!important;padding:16px!important}.mp-test-mode-badge{align-items:center!important;background:#f73!important;border-radius:12px!important;color:#fff!important;display:flex!important;flex-direction:row!important;height:16px!important;justify-content:center!important;margin-right:16px!important;width:16px!important}.mp-test-mode-title{color:rgba(0,0,0,.9)!important;font-weight:700!important;margin-left:16px!important;padding:0!important}.mp-test-mode-description,.mp-test-mode-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:120%!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-test-mode-description{color:#000!important;font-weight:400!important;padding-left:32px!important;padding-top:4px!important}.mp-test-mode-card-content{align-items:baseline!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important}.mp-test-mode-link{color:#7f54b3!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:16px!important;text-decoration:none!important}.mp-test-mode-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-checkout-credits-container{display:flex!important;flex-direction:column!important;justify-content:center!important}.mp-checkout-credits-content{background-color:#fff!important}.mp-checkout-credits-test-mode{padding:0 0 25px!important}.mp-checkout-credits-redirect{margin-top:24px!important}.mp-credits-checkout-benefits{padding:16px 40px!important}.mp-credits-checkout-benefits img{height:50px!important;max-height:50px!important;max-width:50px!important;width:50px!important}@media (max-width:768px){.mp-credits-checkout-benefits{padding:16px 20px!important}}.mp-checkout-custom-dual-column-row{align-items:flex-start!important;flex-direction:row!important}.mp-checkout-custom-input-document{padding:0 0 25px!important}.mp-checkout-custom-issuers-container{display:block;padding:0 0 16px!important}.mp-checkout-custom-issuers-container-display-none{display:none;padding:0 0 16px!important}.mp-checkout-custom-installments{display:block;padding:16px 0 0!important}.mp-checkout-custom-installments-display-none{display:none;padding:16px 0 0!important}.mp-checkout-custom-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding:8px 0 0!important;text-align:center!important}.mp-checkout-custom-left-card-input{margin-right:16px!important}.mp-checkout-custom-info-text{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding:4px 0 0 6px!important}#mp-checkout-custom-box-input-tax-cft{padding:0 0 16px!important}#mp-checkout-custom-tax-tea-text{font-size:12px!important;line-height:1.29!important}#mp-checkout-custom-tax-cft-text,#mp-checkout-custom-tax-tea-text{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-stretch:normal!important;font-style:normal!important;font-weight:400!important;letter-spacing:normal!important}#mp-checkout-custom-tax-cft-text{font-size:27px!important;line-height:1.25!important}.mp-card-holder-name{margin:0!important;padding-left:14px!important}.mp-checkout-custom-container{background-color:#fff!important;display:flex;flex-direction:column!important;justify-content:center!important;padding:24px 16px!important}.mp-checkout-custom-test-mode{padding-bottom:32px!important}.mp-wallet-button-container{align-items:center;border:1px solid rgba(0,0,0,.1)!important;border-radius:6px!important;display:flex;flex-direction:column!important;height:auto!important;margin-bottom:25px!important;padding:24px 16px!important}.mp-wallet-button-container .mp-wallet-button-title{align-items:center!important;color:rgba(0,0,0,.9)!important;display:flex!important;flex-direction:column!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important}.mp-wallet-button-container img{float:none!important;margin:0!important;max-height:100%!important;max-width:100%!important;padding-bottom:16px!important;position:inherit!important}.mp-wallet-button-container .mp-wallet-button-title span{color:#000000e5!important;font-size:16px!important;padding-left:8px!important}.mp-wallet-button-container .mp-wallet-button-description{color:#000!important;display:flex;font-size:16px!important;font-weight:400!important;line-height:18px!important;margin:8px 0 16px!important;text-align:center}.mp-wallet-button-container .mp-wallet-button-button button,.mp-wallet-button-container .mp-wallet-button-description{align-items:center!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-style:normal!important}.mp-wallet-button-container .mp-wallet-button-button button{background:#009ee3!important;border:none!important;border-radius:4px!important;color:#fff!important;cursor:pointer!important;display:flex!important;flex-direction:row!important;font-size:14px!important;font-weight:700!important;justify-content:center!important;line-height:16px!important;padding:8px 12px!important;text-align:center!important;transition:all .3ms ease-in-out!important}.mp-wallet-button-container .mp-wallet-button-button button:hover{background-color:#007eb5!important;color:#fff!important;transition:all .3ms ease-in-out!important}.mp-checkout-custom-available-payments{align-items:center!important;display:flex;flex-direction:column!important;padding:0 0 32px!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header{align-items:center!important;cursor:pointer!important;display:flex;justify-content:space-between!important;user-select:none!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header .mp-checkout-custom-available-payments-title{align-items:center!important;color:#7f54b3!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important;padding:0 4px!important}.mp-checkout-custom-available-payments-text{color:#7f54b3!important;font-size:14px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header img{float:none!important;margin:0!important;max-height:100%!important;max-width:100%!important;position:inherit!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header .mp-checkout-custom-available-payments-title p{margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-left:8px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content{max-height:0!important;overflow:hidden!important;padding:0!important;transition:all .2s ease-out!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content hr{border-color:rgba(0,0,0,.1)!important;border-width:1px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;margin-top:8px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content a{color:#7f54b3!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important;line-height:18px!important;text-align:left!important}.mp-checkout-custom-card-form{display:flex;flex-direction:column!important;justify-content:flex-start!important}form div div .mp-checkout-custom-card-form-title{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-bottom:25px!important;padding-left:0!important}.mp-checkout-custom-card-form .mp-checkout-custom-card-row{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:24px}.mp-checkout-custom-card-form .mp-checkout-custom-card-column{display:flex;flex-direction:column;justify-content:center;width:50%}.mp-checkout-custom-card-form .mp-checkout-custom-card-input{background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:6px!important;color:#000!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:40px!important;line-height:20px!important;outline:0!important}.mp-checkout-custom-card-input-iframe{border:1px solid rgba(0,0,0,.25)!important;border-radius:6px!important}.mp-checkout-custom-load{align-items:center;display:none;justify-content:center}.spinner-card-form{animation:spin 2s linear infinite;border:4px solid rgba(0,0,255,.1)!important;border-radius:50%!important;border-top-color:#009ee3!important;height:40px!important;width:40px!important}.mp-spinner-3ds{animation:spin 2s linear infinite;border:4px solid rgba(0,0,255,.1);border-radius:50%;border-top-color:#009ee3;height:40px;margin:auto;width:40px}.mp-3ds-modal{background-color:rgba(0,0,0,.7);display:none;display:flex;height:100%;left:0;position:fixed;top:0;width:100%;z-index:9999}#mp-3ds-modal-content,.mp-3ds-modal{align-items:center;justify-content:center}#mp-3ds-modal-content{background-color:#fff;border-radius:6px;padding:48px;width:800px}#mp-3ds-modal-content>div{align-items:center;flex-direction:column;justify-content:center;width:100%}#mp-3ds-modal-close{cursor:pointer;float:right}#mp-loading-container-3ds{display:flex;flex-direction:column;gap:12px;height:274px;margin:auto;position:relative;width:704px}.mp-loading-text-3ds{font-family:Proxima Nova,sans-serif;font-size:24px;font-weight:600;padding-top:24px;text-align:center}.mp-loading-text-3ds>p{margin-bottom:12px}#mp-3ds-frame{border:none;display:block;margin:auto;min-height:500px;min-width:600px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.mp-card-info{display:-webkit-inline-box;justify-content:center;margin-bottom:8px}.mp-alert-color-success{background:#009ee3;border-radius:6px 0 0 6px;width:6px}.mp-icon-badge-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA6lBMVEUAAAAAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMBnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuP///9MYiCLAAAATHRSTlMAABJBe7HX7/6wAy9+xgE3nukBHInqG0bLyQRq62sIf/b3+/nhWyAfqQKSjrUH812FQkCE9dXYUhXw1BTTwQq/CcDWr80QPeNFafzKW/JxxwAAAAFiS0dETYBoIGUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAAHdElNRQfmCwkODC587ENtAAAB+ElEQVRIx5WWaV/iMBDGEwptbcsCCnSphdb7WI/dFcFjVVw8Vs33/zxO2p+CzBO6fV7O5J9jMpmJEDNJrYpVrdmOq5Tr2CtVq5IZBRQ5PD+o68Efcp164HuYIOu3RrOlmFrNxipAyLTW7iioTrvLCDKE35VRvXCBkDJaj9USxf1onpBykKRqqTaSwYyg+ZNNVaDN5HMN2t56WjSe1uh/nIPOGxePp3OEOUDx5PHZ2t7e4rHqaoLuq81c9s7u3o7NzG26QQIa7L46lk4gi9sbGvCabKb9Aw0c7DNH0yPA5/lzmO/1B3O0fAICHo+jY73C8RH3BFJU6tx8cqqB0xPuqVeE5aCQ//z1+ywGDscSVVchpfju3aqoqVKqCRvah+fnQ+gYCQeaxxcX4xHyXAp0hOFYR2mMjuEKNM3VtQau/yAfBG5u9U3f3kAAbeluooHJPdwSOvS9GXBgWJcAf8VKOWAKU8MMUGqg5DMDlHwovc0ApTd6QGYgwE/UCGRPFBQBI5AVAVBmHh51Lj0+LNrzMgMKmfOkgScWv6yQEdHtsT35nuezHeWlEhfj5+n0edEW//us3rK/oQqVvshZg/iPhvKaRPMtaJAUrJEmk69NLurHy8bHL9FiG5Vhzzz+LUSNulumsWfEapmvQ/nPyfz3Z3SZf39q4PvzDpPK5SX4V3wiAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTExLTA5VDE0OjEyOjQyKzAwOjAwxiqBfAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMS0wOVQxNDoxMjo0MiswMDowMLd3OcAAAAAASUVORK5CYII=) 100% 50% no-repeat transparent;background-size:18px;height:18px;margin:0 12px 0 10px;min-block-size:-webkit-fill-available;width:24px}.mp-card-body-3ds{align-items:flex-start;background:rgba(0,0,0,.04);border-radius:0 6px 6px 0;display:flex;height:30px;padding:5px 0;width:100%}.mp-text-subtitle{font-size:14px;font-weight:400;line-height:18px;vertical-align:middle}#mp-modal-3ds-title,.mp-text-subtitle{font-family:Proxima Nova,sans-serif;font-style:normal}#mp-modal-3ds-title{font-weight:600;margin-bottom:8px;text-align:left}#content-load-3ds{align-self:stretch;display:flex;flex-direction:column;flex-shrink:0;gap:12px;width:704px}.mp-normal-text-3ds{text-align:center}.mp-checkout-pse-container{background-color:#fff!important;display:flex;flex-direction:column!important;padding:24px 16px!important}.mp-checkout-pse-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-bottom:25px!important;padding-left:0!important}.alert-message{color:red;font-weight:700}.mp-checkout-pix-container{background-color:#fff!important;display:flex;flex-direction:column!important;justify-content:center!important;padding:24px 16px!important}.mp-checkout-pix-test-mode{padding-bottom:32px!important}.mp-checkout-pix-terms-and-conditions{display:flex;padding-top:42px!important}.mp-checkout-pix-terms-and-conditions,.mp-checkout-pro-terms-and-conditions{align-items:center!important;justify-content:center!important;text-align:center!important}.mp-checkout-pro-terms-and-conditions{display:flex!important;padding-top:16px!important}.mp-checkout-pro-container{display:flex!important;flex-direction:column!important;justify-content:center!important}.mp-checkout-pro-content{background-color:#fff!important;padding:24px 16px!important}.mp-checkout-pro-test-mode{padding:0 0 25px!important}.mp-checkout-pro-payment-methods{padding-top:24px!important}.mp-checkout-pro-redirect{margin-top:24px!important}.mp-checkout-pro-content{padding:24px 16px 8px!important}.mp-checkout-pro-payment-methods{padding-top:32px!important}.mp-checkout-pro-tip p{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;font-weight:400!important;line-height:15px!important}@media only screen and (max-width:545px){.mp-checkout-pro-tip{margin-top:24px!important;text-align:center!important}}@media only screen and (min-width:545px){.mp-checkout-pro-tip{margin-top:24px!important;padding-left:24px!important}}.mp-checkout-ticket-container{align-items:center!important;background-color:#fff!important;display:flex;flex-direction:column!important;padding:24px 16px!important}.mp-checkout-ticket-content{width:100%!important}.mp-checkout-ticket-input-document,.mp-checkout-ticket-test-mode{padding:0 0 25px!important}div div .mp-checkout-ticket-content .mp-checkout-ticket-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-bottom:25px!important;padding-left:0!important}.mp-checkout-ticket-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding-top:32px!important;text-align:center!important}.mp-checkout-yape-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;padding:24px!important}.mp-checkout-yape-content{width:100%!important}.mp-checkout-yape-test-mode{padding:0 0 5px!important}.mp-checkout-yape-inputs{align-items:baseline;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:24px!important;margin-top:24px}.mp-checkout-yape-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding-top:24px!important;text-align:center!important}.mp-checkout-yape-title-container{display:flex;flex-direction:column;gap:6px;margin-bottom:24px!important}.mp-checkout-yape-title{color:#000!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;margin-bottom:8px}.mp-checkout-yape-subtitle,.mp-checkout-yape-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;margin-top:0;text-align:left!important}.mp-checkout-yape-subtitle{color:rgba(0,0,0,.55)!important;font-size:14px!important;font-weight:400!important;line-height:18px!important;margin-bottom:0}.mp-checkout-container a,.mp-checkout-container abbr,.mp-checkout-container acronym,.mp-checkout-container address,.mp-checkout-container applet,.mp-checkout-container article,.mp-checkout-container aside,.mp-checkout-container audio,.mp-checkout-container b,.mp-checkout-container big,.mp-checkout-container blockquote,.mp-checkout-container canvas,.mp-checkout-container caption,.mp-checkout-container center,.mp-checkout-container cite,.mp-checkout-container code,.mp-checkout-container dd,.mp-checkout-container del,.mp-checkout-container details,.mp-checkout-container dfn,.mp-checkout-container div,.mp-checkout-container dl,.mp-checkout-container dt,.mp-checkout-container em,.mp-checkout-container embed,.mp-checkout-container fieldset,.mp-checkout-container figcaption,.mp-checkout-container figure,.mp-checkout-container footer,.mp-checkout-container form,.mp-checkout-container h1,.mp-checkout-container h2,.mp-checkout-container h3,.mp-checkout-container h4,.mp-checkout-container h5,.mp-checkout-container h6,.mp-checkout-container header,.mp-checkout-container hgroup,.mp-checkout-container i,.mp-checkout-container iframe,.mp-checkout-container img,.mp-checkout-container input,.mp-checkout-container ins,.mp-checkout-container kbd,.mp-checkout-container label,.mp-checkout-container legend,.mp-checkout-container li,.mp-checkout-container li input,.mp-checkout-container mark,.mp-checkout-container menu,.mp-checkout-container nav,.mp-checkout-container object,.mp-checkout-container ol,.mp-checkout-container output,.mp-checkout-container p,.mp-checkout-container pre,.mp-checkout-container q,.mp-checkout-container ruby,.mp-checkout-container s,.mp-checkout-container samp,.mp-checkout-container section,.mp-checkout-container select,.mp-checkout-container small,.mp-checkout-container span,.mp-checkout-container strike,.mp-checkout-container strong,.mp-checkout-container sub,.mp-checkout-container summary,.mp-checkout-container sup,.mp-checkout-container table,.mp-checkout-container tbody,.mp-checkout-container td,.mp-checkout-container tfoot,.mp-checkout-container th,.mp-checkout-container thead,.mp-checkout-container time,.mp-checkout-container tr,.mp-checkout-container tt,.mp-checkout-container u,.mp-checkout-container ul,.mp-checkout-container var,.mp-checkout-container video{font:inherit;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;line-height:16px;margin:0;padding:0;vertical-align:baseline;width:auto}.mp-checkout-container{border:0!important;font:inherit!important;font-size:100%!important;margin:0!important;padding:0!important;vertical-align:baseline!important}.mp-vertical-line{border-left:1px solid rgba(0,0,0,.25)!important;height:36px!important;width:1px!important}.mp-document-select{appearance:auto;cursor:pointer!important;letter-spacing:0!important;margin:0 8px!important;width:25%!important}.mp-document-select,.mp-input-document{background:#fff!important;border:0!important;color:#000!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:20px!important;outline:0!important}.mp-input-document{border-radius:8px!important;box-shadow:none!important;width:100%!important}
\ No newline at end of file
+.mp-alert-details-card{background:rgb(0 0 0/4%)!important;border-left:4px solid #f23d4f!important;border-radius:6px!important;display:flex!important;flex-direction:column!important;padding:16px!important}.mp-alert-details-card-content{align-items:baseline!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important}.mp-alert-details-card-content-left{margin-right:8px!important}.mp-alert-details-card-content-right{margin-left:8px!important}.mp-alert-details-badge{align-items:center!important;background:#f23d4f!important;border-radius:50%!important;color:#fff!important;display:flex!important;flex-direction:row!important;height:16px!important;justify-content:center!important;width:16px!important}.mp-alert-details-title{color:rgba(0,0,0,.9)!important;font-weight:700!important;padding:0!important}.mp-alert-details-description,.mp-alert-details-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:120%!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-alert-details-description{color:#000!important;font-weight:400!important;margin-top:4px!important}.mp-alert-details-retry-button{background-color:#3483fa!important;border:1px solid #3483fa!important;border-radius:4px!important;color:#fff!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:32px!important;margin-top:16px!important;outline:0!important;padding:0 12px!important;transition:all .3s ease-in-out!important}.mp-alert-details-retry-button:hover{background-color:#2968c8!important;border:1px solid #2968c8!important}.mp-checkout-benefits-list-container{display:flex;flex-direction:column!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-checkout-benefits-list-container p{padding:0!important}.mp-checkout-benefits-list-title{color:#1a1a1a!important;font-size:18px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;margin-block-end:32px!important}.mp-checkout-benefits-list,.mp-checkout-benefits-list-title{margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-checkout-benefits-list{display:flex;flex-direction:column!important;gap:16px!important;line-height:18px!important;list-style-type:none!important;margin-block-end:0!important;padding-inline-start:0!important}.mp-checkout-benefits-list-item{align-items:center!important;display:flex;font-size:14px!important;font-weight:600;justify-content:flex-start!important}.mp-checkout-benefits-list-item span{color:rgba(0,0,0,.55)!important;font-weight:400}.mp-checkout-benefits-list-item>span>b{font-size:14px!important;font-weight:600}.mp-checkout-benefits-list-count-list-item{color:#009ee3!important;font-weight:600!important;line-height:0!important;margin-right:8px!important;text-align:center!important}.mp-checkout-benefits-container{display:flex;flex-direction:column!important}.mp-checkout-benefits-container p{padding:0!important}.mp-checkout-benefits-title{color:#1a1a1a!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:18px!important;font-style:normal!important;font-weight:600!important}.mp-checkout-benefits-container-list,.mp-checkout-benefits-title{margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-checkout-benefits-container-list{list-style-type:none!important;padding-top:8px!important;padding-inline-start:0!important}.mp-checkout-benefits-item{align-items:center!important;color:rgba(0,0,0,.55)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;justify-content:flex-start!important;line-height:18px!important;padding:16px 4px 0!important}.mp-checkout-benefits-image-list{float:none!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:100%!important;padding:10px!important;position:inherit!important;width:auto!important}.mp-checkout-benefits-image{max-height:32px!important;max-width:32px!important}.mp-checkout-benefits-item b,.mp-checkout-benefits-item span{color:#0000008c!important;font-size:14px!important;line-height:25px!important}.mp-checkout-benefits-item b{font-weight:700}.mp-checkout-benefits-item-title{color:#1a1a1a!important;font-weight:600!important;margin-bottom:6px!important}.mp-checkout-benefits-item-subtitle,.mp-checkout-benefits-item-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;line-height:15px!important}.mp-checkout-benefits-item-subtitle{color:rgba(0,0,0,.55)!important;font-weight:400!important}.mp-checkout-benefits-count-list-item{color:#009ee3!important;font-size:12px!important;font-style:normal!important;font-weight:600!important;line-height:21px!important}.mp-checkout-benefits-count-list-div{background:rgba(71,154,209,.1)!important;border-radius:50%!important;color:#fff!important;font-size:14px!important;height:25px!important;line-height:0px!important;margin-right:15px!important;min-width:25px!important;text-align:center!important}.mp-checkout-benefits-tick-mark-container{display:flex}.mp-checkout-benefits-tick-mark{display:inline-block!important;height:14px!important;margin-right:16px!important;position:relative!important;width:14px!important}.mp-checkout-benefits-tick-mark:before{height:50%!important;top:50%!important;width:3px!important}.mp-checkout-benefits-tick-mark:after,.mp-checkout-benefits-tick-mark:before{background-color:#009ee3!important;content:""!important;left:0!important;position:absolute!important;transform:translateX(10px) rotate(-45deg)!important;transform-origin:left bottom!important}.mp-checkout-benefits-tick-mark:after{bottom:0!important;height:3px!important;width:100%!important}.mp-checkout-redirect-v2-container{align-items:center!important;align-self:stretch!important;background:#f5f5f5!important;border-radius:6px!important;display:flex!important;flex:none!important;flex-direction:row!important;flex-grow:0!important;gap:16px!important;height:100%!important;justify-content:center!important;order:2!important;padding:12px!important}.mp-checkout-redirect-v2-image{float:none!important;height:auto!important;margin-left:20px!important;max-height:100%!important;max-width:12px!important;position:inherit!important;width:100%!important}.mp-checkout-redirect-v2-text{align-items:center!important;color:#737373!important;display:flex!important;flex:none;flex-grow:1;font-size:12px!important;font-style:normal!important;font-weight:400!important;line-height:15px!important;order:1;width:85%!important}.mp-checkout-redirect-v2-text,.mp-checkout-redirect-v3-container{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;padding:16px 40px!important}.mp-checkout-redirect-v3-title-container{align-items:center!important;display:flex!important;gap:12px!important;height:15px!important;justify-content:left!important;margin-bottom:8px!important}.mp-checkout-redirect-v3-mp-logo-image{margin:0!important;width:20px!important}.mp-checkout-redirect-v3-title{font-weight:600!important;line-height:15px!important}.mp-checkout-redirect-v3-description,.mp-checkout-redirect-v3-title{margin:0!important;size:12px!important;color:rgba(0,0,0,.55)!important}.mp-checkout-redirect-v3-description{font-weight:400!important;height:16px!important;line-height:16px!important}@media (max-width:768px){.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;padding:16px 20px!important}}@media (max-width:400px){.mp-checkout-redirect-v3-container{background-color:#f5f5f5!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;height:90px!important;padding:16px 20px!important}}.mp-checkout-redirect-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:24px 32px!important;text-align:center!important}.mp-checkout-redirect-image{float:none!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:172px!important;padding-bottom:24px!important;position:inherit!important;width:100%!important}.mp-checkout-redirect-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-input-document .mp-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:8px!important;display:flex!important;height:48px!important}div .mp-focus{border:1px solid #7f54b3!important}div .mp-error{border:1px solid #f23d4f!important}.mp-input-document .mp-input .mp-document-select{background:#fff!important;border:0!important;color:#000!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:20px!important;letter-spacing:0!important;line-height:20px!important;margin:0 8px!important;min-height:20px!important;min-width:10px!important;outline:none!important;padding:0!important}.mp-input-document .mp-input .mp-vertical-line{border-left:1px solid rgba(0,0,0,.25)!important;height:36px!important;width:1px!important}.mp-input-document .mp-input .mp-document{background:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;color:#000!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:20px!important;line-height:20px!important;min-height:38px!important;outline:none!important;padding:0 14px!important;width:80%!important}.mp-input-document .mp-input .mp-document,.mp-input-document .mp-input-document-helper{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important}.mp-input-document .mp-input-document-helper{color:#f23d4f!important;display:flex!important;font-size:13px!important;height:18px!important;left:calc(50% - 154.5px)!important;line-height:18px!important;margin-top:5px!important;position:static!important;top:0!important;width:327px!important}.mp-input-document .mp-input-document-helper .mp-input-document-helper-icon{align-items:center!important;background:#f23d4f!important;border-radius:12px!important;color:#fff!important;display:flex!important;height:15px!important;justify-content:center!important;left:0!important;margin:1px 5px!important;top:3px!important;width:15px!important}.mp-yape-input-field{width:100%!important}.mp-yape-input-field .mp-yape-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:8px!important;display:flex!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;gap:8px!important;height:28px!important;line-height:20px!important;padding:14px 12px!important}.mp-input-field-focus{border:1px solid #7f54b3!important}.mp-input-field-error{border:1px solid #f23d4f!important}.mp-helper{align-items:center;color:#f23d4f;display:none;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-weight:500!important;margin:7px 0!important}.mp-helper .mp-helper-icon{align-items:center;background:#f23d4f;border-radius:12px;color:#fff;display:flex;font-size:10px;height:12px!important;justify-content:center;margin:0 6px;width:12px!important}.mp-helper .mp-helper-message{font-size:13px!important}.mp-input-label{align-items:flex-end!important;color:rgba(0,0,0,.9)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;height:30px;line-height:18px!important;padding-bottom:4px!important;padding-left:6px!important;width:100%!important}.mp-input-label b{padding-left:4px!important}.mp-input-radio-container{display:flex;position:relative!important}.mp-input-radio-radio:checked,.mp-input-radio-radio:not(:checked){opacity:0!important}.mp-input-radio-radio:checked+.mp-input-radio-label,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label{color:#666!important;cursor:pointer!important;display:inline-block;line-height:20px!important}.mp-input-radio-radio:checked+.mp-input-radio-label:before,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:before{background:#fff!important;border:2px solid rgba(0,0,0,.25)!important;border-radius:100%!important;box-sizing:border-box!important;content:""!important;height:16px!important;left:0!important;position:absolute!important;top:0!important;width:16px!important}.mp-input-radio-radio:checked+.mp-input-radio-label:before{border:2px solid #7f54b3!important}.mp-input-radio-radio:checked+.mp-input-radio-label:after,.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:after{background:#7f54b3!important;border-radius:100%!important;box-sizing:border-box!important;content:""!important;height:8px!important;left:4px!important;position:absolute!important;top:4px!important;width:8px!important}.mp-input-radio-radio:not(:checked)+.mp-input-radio-label:after{opacity:0!important}.mp-input-radio-radio:checked+.mp-input-radio-label:after{opacity:1!important}.mp-input-select-input{align-items:center!important;background:#fff!important;border:1px solid rgba(0,0,0,.25)!important;border-radius:8px!important;display:flex!important;height:48px!important}.mp-input-select-select{background:#fff!important;border:0!important;color:#000!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:100%!important;letter-spacing:0!important;line-height:20px!important;margin:0 12px!important;outline:none!important;width:100%!important}.mp-input-table-container{align-items:center!important;justify-content:center!important}.mp-input-table-container,.mp-input-table-list{display:flex!important;flex-direction:column!important;width:100%!important}.mp-input-table-list{border:1px solid rgba(0,0,0,.25)!important;border-radius:6px!important;list-style-type:none!important;margin-left:0!important}.mp-input-table-item{cursor:pointer!important;margin:0 16px!important;padding:0 4px 0 0!important}.mp-input-table-item:not(:first-child){border-top:1px solid rgba(0,0,0,.1)!important}.mp-input-table-label{cursor:pointer!important;justify-content:space-between!important;padding:16px 0!important;width:100%!important}.mp-input-table-label,.mp-input-table-option{align-items:center!important;display:flex!important}.mp-input-table-option{justify-content:flex-start!important}.mp-input-table-row-text{color:rgba(0,0,0,.9)!important}.mp-input-table-row-text,.mp-input-table-row-text-image{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-left:16px!important}.mp-input-table-row-text-image{align-items:center!important;color:#000000e5!important;display:flex!important;flex-direction:row-reverse!important}.mp-input-table-row-obs{color:rgba(0,0,0,.55)!important;text-align:right!important}.mp-input-table-row-obs,.mp-input-table-row-obs-highlight{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important}.mp-input-table-row-obs-highlight{color:#00a650!important}.mp-input-table-container-link{align-items:center!important;display:flex!important;justify-content:center!important;padding:16px 0 24px!important}.mp-input-table-link{color:#7f54b3!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:16px!important;text-decoration:none!important}.mp-input-table-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-input-table-bank-interest-container{align-items:center!important;display:flex!important;justify-content:flex-start!important;width:100%!important}.mp-input-table-bank-interest-text{color:#737373!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-weight:400!important;margin:0!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;max-width:100%!important;padding:8px 0 0 4px!important;word-break:break-word!important}.mp-payment-method-logo-container,.mp-payment-method-logo-slider-container{align-items:center!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:4px!important;box-sizing:border-box!important;display:flex;height:24px!important;justify-content:center!important;padding:4px!important;width:36px!important}.mp-payment-method-logo-image{float:none!important;font-size:10px!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:100%!important;overflow:hidden!important;position:inherit!important;text-overflow:ellipsis!important;width:auto!important}.mp-payment-methods-v2-container,.mp-payment-methods-v2-content{align-items:center!important;display:flex!important;flex-direction:column!important;height:100%!important;justify-content:center!important;width:100%!important}.mp-payment-methods-v2-content{max-width:236px!important}.mp-payment-methods-v2-title{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;font-weight:600!important;line-height:15px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-bottom:20px!important}.mp-payment-methods-v2-list{display:flex!important;flex-wrap:wrap!important;height:100%!important;justify-content:center!important;padding-bottom:16px!important;width:100%!important}.mp-payment-methods-v2-list payment-method-logo{padding:0 1px 4px!important}.mp-payment-methods-container{display:flex;flex-direction:column!important;height:100%!important;width:100%!important}.mp-payment-methods-container p{padding:0!important}.mp-payment-methods-header{align-items:center!important;display:flex;height:100%!important;justify-content:flex-start!important;padding:0 4px 16px!important;width:100%!important}.mp-payment-methods-title{align-items:center!important;color:rgba(0,0,0,.55)!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-payment-methods-badge{align-items:center!important;background:#00a650!important;border-bottom-right-radius:8px!important;display:flex;justify-content:center!important;margin-left:10px!important;padding:6px 8px 4px!important}.mp-payment-methods-badge-text{align-items:center!important;color:#fff!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:11px!important;font-style:normal!important;font-weight:700!important;line-height:11px!important;text-align:center!important;text-transform:uppercase!important}.mp-payment-method-type-container{display:flex;flex-direction:column!important;height:100%!important;width:100%!important}.mp-payment-methods-content{align-items:center!important;display:flex;flex-wrap:wrap!important;height:100%!important;justify-content:flex-start!important;padding-bottom:16px!important;width:100%!important}.mp-payment-methods-content payment-method-logo{padding:0 4px 8px!important}.mp-payment-methods-link{box-shadow:none!important;color:#7f54b3!important;cursor:pointer!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;text-decoration:none!important;vertical-align:middle!important}.mp-payment-methods-link:hover{color:rgba(0,0,0,.55)!important}.mp-pix-template-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}.mp-pix-template-image{float:none!important;font-size:10px!important;height:auto!important;margin:0!important;max-height:100%!important;max-width:240px!important;overflow:hidden!important;padding-bottom:42px!important;position:inherit!important;text-overflow:ellipsis!important;width:100%!important}.mp-pix-template-title{font-size:16px!important;font-weight:700!important;padding-bottom:16px!important}.mp-pix-template-subtitle,.mp-pix-template-title{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-style:normal!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-pix-template-subtitle{font-size:14px!important;font-weight:400!important}.mp-terms-and-conditions-text{color:rgba(0,0,0,.55)!important;padding-right:4px!important}.mp-terms-and-conditions-link,.mp-terms-and-conditions-text{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important}.mp-terms-and-conditions-link{color:#7f54b3!important;text-decoration:none!important}.mp-terms-and-conditions-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-test-mode-container{padding:0 0 25px!important}.mp-test-mode-card{background:rgb(0 0 0/4%)!important;border-left:4px solid #f73!important;border-radius:6px!important;display:flex!important;flex-direction:column!important;padding:16px!important}.mp-test-mode-badge{align-items:center!important;background:#f73!important;border-radius:12px!important;color:#fff!important;display:flex!important;flex-direction:row!important;height:16px!important;justify-content:center!important;margin-right:16px!important;width:16px!important}.mp-test-mode-title{color:rgba(0,0,0,.9)!important;font-weight:700!important;margin-left:16px!important;padding:0!important}.mp-test-mode-description,.mp-test-mode-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:120%!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important}.mp-test-mode-description{color:#000!important;font-weight:400!important;padding-left:32px!important;padding-top:4px!important}.mp-test-mode-card-content{align-items:baseline!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important}.mp-test-mode-link{color:#7f54b3!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:16px!important;text-decoration:none!important}.mp-test-mode-link:hover{color:#7249a5!important;transition:all .3ms!important}.mp-checkout-credits-terms-and-conditions{align-items:center!important;display:flex!important;justify-content:center!important;padding-top:16px!important;text-align:center!important}.mp-checkout-credits-container{display:flex!important;flex-direction:column!important;justify-content:center!important}.mp-checkout-credits-content{background-color:#fff!important}.mp-checkout-credits-test-mode{padding:0 0 25px!important}.mp-checkout-credits-redirect{margin-top:24px!important}.mp-credits-checkout-benefits{padding:16px 40px!important}.mp-credits-checkout-benefits img{height:50px!important;max-height:50px!important;max-width:50px!important;width:50px!important}@media (max-width:768px){.mp-credits-checkout-benefits{padding:16px 20px!important}}.mp-checkout-custom-dual-column-row{align-items:flex-start!important;flex-direction:row!important}.mp-checkout-custom-input-document{padding:0 0 25px!important}.mp-checkout-custom-issuers-container{display:block;padding:0 0 16px!important}.mp-checkout-custom-issuers-container-display-none{display:none;padding:0 0 16px!important}.mp-checkout-custom-installments{display:block;padding:16px 0 0!important}.mp-checkout-custom-installments-display-none{display:none;padding:16px 0 0!important}.mp-checkout-custom-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding:8px 0 0!important;text-align:center!important}.mp-checkout-custom-left-card-input{margin-right:16px!important}.mp-checkout-custom-info-text{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:13px!important;font-style:normal!important;font-weight:400!important;line-height:18px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding:4px 0 0 6px!important}#mp-checkout-custom-box-input-tax-cft{padding:0 0 16px!important}#mp-checkout-custom-tax-tea-text{font-size:12px!important;line-height:1.29!important}#mp-checkout-custom-tax-cft-text,#mp-checkout-custom-tax-tea-text{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-stretch:normal!important;font-style:normal!important;font-weight:400!important;letter-spacing:normal!important}#mp-checkout-custom-tax-cft-text{font-size:27px!important;line-height:1.25!important}.mp-card-holder-name{margin:0!important;padding-left:14px!important}.mp-checkout-custom-container{background-color:#fff!important;display:flex;flex-direction:column!important;justify-content:center!important;padding:24px 16px!important}.mp-checkout-custom-test-mode{padding-bottom:32px!important}.mp-wallet-button-container{align-items:center;border:1px solid rgba(0,0,0,.1)!important;border-radius:6px!important;display:flex;flex-direction:column!important;height:auto!important;margin-bottom:25px!important;padding:24px 16px!important}.mp-wallet-button-container .mp-wallet-button-title{align-items:center!important;color:rgba(0,0,0,.9)!important;display:flex!important;flex-direction:column!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important}.mp-wallet-button-container img{float:none!important;margin:0!important;max-height:100%!important;max-width:100%!important;padding-bottom:16px!important;position:inherit!important}.mp-wallet-button-container .mp-wallet-button-title span{color:#000000e5!important;font-size:16px!important;padding-left:8px!important}.mp-wallet-button-container .mp-wallet-button-description{color:#000!important;display:flex;font-size:16px!important;font-weight:400!important;line-height:18px!important;margin:8px 0 16px!important;text-align:center}.mp-wallet-button-container .mp-wallet-button-button button,.mp-wallet-button-container .mp-wallet-button-description{align-items:center!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-style:normal!important}.mp-wallet-button-container .mp-wallet-button-button button{background:#009ee3!important;border:none!important;border-radius:4px!important;color:#fff!important;cursor:pointer!important;display:flex!important;flex-direction:row!important;font-size:14px!important;font-weight:700!important;justify-content:center!important;line-height:16px!important;padding:8px 12px!important;text-align:center!important;transition:all .3ms ease-in-out!important}.mp-wallet-button-container .mp-wallet-button-button button:hover{background-color:#007eb5!important;color:#fff!important;transition:all .3ms ease-in-out!important}.mp-checkout-custom-available-payments{align-items:center!important;display:flex;flex-direction:column!important;padding:0 0 32px!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header{align-items:center!important;cursor:pointer!important;display:flex;justify-content:space-between!important;user-select:none!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header .mp-checkout-custom-available-payments-title{align-items:center!important;color:#7f54b3!important;display:flex;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important;padding:0 4px!important}.mp-checkout-custom-available-payments-text{color:#7f54b3!important;font-size:14px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header img{float:none!important;margin:0!important;max-height:100%!important;max-width:100%!important;position:inherit!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-header .mp-checkout-custom-available-payments-title p{margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-left:8px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content{max-height:0!important;overflow:hidden!important;padding:0!important;transition:all .2s ease-out!important;width:100%!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content hr{border-color:rgba(0,0,0,.1)!important;border-width:1px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;margin-top:8px!important}.mp-checkout-custom-available-payments .mp-checkout-custom-available-payments-content a{color:#7f54b3!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important;line-height:18px!important;text-align:left!important}.mp-checkout-custom-card-form{display:flex;flex-direction:column!important;justify-content:flex-start!important}form div div .mp-checkout-custom-card-form-title{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;margin-block-end:0!important;margin-block-start:0!important;margin-inline-end:0!important;margin-inline-start:0!important;padding-bottom:25px!important;padding-left:0!important}.mp-checkout-custom-card-form .mp-checkout-custom-card-row{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:24px}.mp-checkout-custom-card-form .mp-checkout-custom-card-column{display:flex;flex-direction:column;justify-content:center;width:50%}.mp-checkout-custom-card-form .mp-checkout-custom-card-input{background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:6px!important;color:#000!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;height:40px!important;line-height:20px!important;outline:0!important}.mp-checkout-custom-card-input-iframe{border:1px solid rgba(0,0,0,.25)!important;border-radius:6px!important}.mp-checkout-custom-load{align-items:center;display:none;justify-content:center}.spinner-card-form{animation:spin 2s linear infinite;border:4px solid rgba(0,0,255,.1)!important;border-radius:50%!important;border-top-color:#009ee3!important;height:40px!important;width:40px!important}.mp-spinner-3ds{animation:spin 2s linear infinite;border:4px solid rgba(0,0,255,.1);border-radius:50%;border-top-color:#009ee3;height:40px;margin:auto;width:40px}.mp-3ds-modal{background-color:rgba(0,0,0,.7);display:none;display:flex;height:100%;left:0;position:fixed;top:0;width:100%;z-index:9999}#mp-3ds-modal-content,.mp-3ds-modal{align-items:center;justify-content:center}#mp-3ds-modal-content{background-color:#fff;border-radius:6px;padding:48px;width:800px}#mp-3ds-modal-content>div{align-items:center;flex-direction:column;justify-content:center;width:100%}#mp-3ds-modal-close{cursor:pointer;float:right}#mp-loading-container-3ds{display:flex;flex-direction:column;gap:12px;height:274px;margin:auto;position:relative;width:704px}.mp-loading-text-3ds{font-family:Proxima Nova,sans-serif;font-size:24px;font-weight:600;padding-top:24px;text-align:center}.mp-loading-text-3ds>p{margin-bottom:12px}#mp-3ds-frame{border:none;display:block;margin:auto;min-height:500px;min-width:600px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.mp-card-info{display:-webkit-inline-box;justify-content:center;margin-bottom:8px}.mp-alert-color-success{background:#009ee3;border-radius:6px 0 0 6px;width:6px}.mp-icon-badge-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA6lBMVEUAAAAAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMBnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuMAnuP///9MYiCLAAAATHRSTlMAABJBe7HX7/6wAy9+xgE3nukBHInqG0bLyQRq62sIf/b3+/nhWyAfqQKSjrUH812FQkCE9dXYUhXw1BTTwQq/CcDWr80QPeNFafzKW/JxxwAAAAFiS0dETYBoIGUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAAHdElNRQfmCwkODC587ENtAAAB+ElEQVRIx5WWaV/iMBDGEwptbcsCCnSphdb7WI/dFcFjVVw8Vs33/zxO2p+CzBO6fV7O5J9jMpmJEDNJrYpVrdmOq5Tr2CtVq5IZBRQ5PD+o68Efcp164HuYIOu3RrOlmFrNxipAyLTW7iioTrvLCDKE35VRvXCBkDJaj9USxf1onpBykKRqqTaSwYyg+ZNNVaDN5HMN2t56WjSe1uh/nIPOGxePp3OEOUDx5PHZ2t7e4rHqaoLuq81c9s7u3o7NzG26QQIa7L46lk4gi9sbGvCabKb9Aw0c7DNH0yPA5/lzmO/1B3O0fAICHo+jY73C8RH3BFJU6tx8cqqB0xPuqVeE5aCQ//z1+ywGDscSVVchpfju3aqoqVKqCRvah+fnQ+gYCQeaxxcX4xHyXAp0hOFYR2mMjuEKNM3VtQau/yAfBG5u9U3f3kAAbeluooHJPdwSOvS9GXBgWJcAf8VKOWAKU8MMUGqg5DMDlHwovc0ApTd6QGYgwE/UCGRPFBQBI5AVAVBmHh51Lj0+LNrzMgMKmfOkgScWv6yQEdHtsT35nuezHeWlEhfj5+n0edEW//us3rK/oQqVvshZg/iPhvKaRPMtaJAUrJEmk69NLurHy8bHL9FiG5Vhzzz+LUSNulumsWfEapmvQ/nPyfz3Z3SZf39q4PvzDpPK5SX4V3wiAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTExLTA5VDE0OjEyOjQyKzAwOjAwxiqBfAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMS0wOVQxNDoxMjo0MiswMDowMLd3OcAAAAAASUVORK5CYII=) 100% 50% no-repeat transparent;background-size:18px;height:18px;margin:0 12px 0 10px;min-block-size:-webkit-fill-available;width:24px}.mp-card-body-3ds{align-items:flex-start;background:rgba(0,0,0,.04);border-radius:0 6px 6px 0;display:flex;height:30px;padding:5px 0;width:100%}.mp-text-subtitle{font-size:14px;font-weight:400;line-height:18px;vertical-align:middle}#mp-modal-3ds-title,.mp-text-subtitle{font-family:Proxima Nova,sans-serif;font-style:normal}#mp-modal-3ds-title{font-weight:600;margin-bottom:8px;text-align:left}#content-load-3ds{align-self:stretch;display:flex;flex-direction:column;flex-shrink:0;gap:12px;width:704px}.mp-normal-text-3ds{text-align:center}.mp-checkout-pse-container{background-color:#fff!important;display:flex;flex-direction:column!important;padding:24px 16px!important}.mp-checkout-pse-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-bottom:25px!important;padding-left:0!important}.mp-checkout-pix-container{background-color:#fff!important;display:flex;flex-direction:column!important;justify-content:center!important;padding:24px 16px!important}.mp-checkout-pix-test-mode{padding-bottom:32px!important}.mp-checkout-pix-terms-and-conditions{display:flex;padding-top:42px!important}.mp-checkout-pix-terms-and-conditions,.mp-checkout-pro-terms-and-conditions{align-items:center!important;justify-content:center!important;text-align:center!important}.mp-checkout-pro-terms-and-conditions{display:flex!important;padding-top:16px!important}.mp-checkout-pro-container{display:flex!important;flex-direction:column!important;justify-content:center!important}.mp-checkout-pro-content{background-color:#fff!important;padding:24px 16px!important}.mp-checkout-pro-test-mode{padding:0 0 25px!important}.mp-checkout-pro-payment-methods{padding-top:24px!important}.mp-checkout-pro-redirect{margin-top:24px!important}.mp-checkout-pro-content{padding:24px 16px 8px!important}.mp-checkout-pro-payment-methods{padding-top:32px!important}.mp-checkout-pro-tip p{color:rgba(0,0,0,.55)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:12px!important;font-style:normal!important;font-weight:400!important;line-height:15px!important}@media only screen and (max-width:545px){.mp-checkout-pro-tip{margin-top:24px!important;text-align:center!important}}@media only screen and (min-width:545px){.mp-checkout-pro-tip{margin-top:24px!important;padding-left:24px!important}}.mp-checkout-ticket-container{align-items:center!important;background-color:#fff!important;display:flex;flex-direction:column!important;padding:24px 16px!important}.mp-checkout-ticket-content{width:100%!important}.mp-checkout-ticket-input-document,.mp-checkout-ticket-test-mode{padding:0 0 25px!important}div div .mp-checkout-ticket-content .mp-checkout-ticket-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:20px!important;padding-bottom:25px!important;padding-left:0!important}.mp-checkout-ticket-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding-top:32px!important;text-align:center!important}div div .mp-checkout-ticket-content .mp-checkout-ticket-billing-text{color:rgba(0,0,0,.9)!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important;padding-bottom:20px!important;padding-left:0!important;padding-top:25px!important}.mp-checkout-ticket-billing-checkbox{align-items:center!important;display:flex!important;gap:12px!important;height:40px!important;padding-bottom:15px!important}.mp-checkout-ticket-billing-checkbox input{margin:0!important;padding:0!important}.mp-checkout-ticket-billing-checkbox p{color:#000;font-size:14px!important;font-weight:400!important;line-height:18px!important}.mp-checkout-ticket-billing-input-row{display:flex!important;gap:24px!important;justify-content:space-between!important;overflow:hidden;padding-bottom:25px!important;width:100%!important}.mp-checkout-ticket-billing-input-column{box-sizing:border-box;display:flex!important;flex-direction:column!important;overflow:hidden;width:100%!important}.mp-checkout-ticket-billing-input-column label{color:#000!important;font-size:14px!important;font-weight:400!important;line-height:18px!important;margin:0!important;padding:0 0 4px 6px!important}.mp-checkout-ticket-billing-input-number{align-content:center!important;align-items:center!important;background:#fff!important;display:flex!important;vertical-align:middle!important}.mp-checkout-ticket-billing-input-number,.mp-checkout-ticket-billing-input-number-disabled{border:1px solid rgba(0,0,0,.25);border-radius:6px!important;height:48px!important;line-height:20px!important;outline:0!important;padding:0 14px!important}.mp-checkout-ticket-billing-input-number-disabled{background:#0000000a!important;border-style:dashed!important;color:#000!important;flex-grow:0;flex-shrink:0;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-weight:400!important;margin:0!important;max-width:100%!important}.mp-checkout-ticket-billing-input-number-focused{border-color:#7f54b3!important}.mp-checkout-ticket-billing-input-number-focused-error{border-color:#f23d4f!important}.mp-checkout-ticket-billing-input-number-focused-error-on-focus{border:2px solid!important}.mp-checkout-ticket-billing-input-number input{border:none!important;color:#000!important;float:left!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-weight:400!important;width:65%!important;z-index:1!important}.mp-checkout-ticket-billing-input-number input:disabled{opacity:0!important}.mp-checkout-ticket-billing-input-number input:focus{border:none!important;outline:none!important}.mp-checkout-ticket-billing-number-toggle-checkbox{align-items:center!important;display:flex!important;float:right!important;gap:8px!important;justify-content:flex-end!important;width:35%!important}.mp-checkout-ticket-billing-number-toggle-checkbox p{color:#000!important;font-size:14px!important;font-weight:400!important;height:20px!important;line-height:18px!important;margin:0!important;padding:0!important}.mp-checkout-ticket-billing-number-toggle-checkbox input{border:0!important;margin:0!important;width:auto!important}.mp-checkout-yape-container{align-items:center!important;background-color:#fff!important;display:flex!important;flex-direction:column!important;padding:24px!important}.mp-checkout-yape-content{width:100%!important}.mp-checkout-yape-test-mode{padding:0 0 5px!important}.mp-checkout-yape-inputs{align-items:baseline;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:24px!important;margin-top:24px}.mp-checkout-yape-terms-and-conditions{align-items:center!important;display:flex;justify-content:center!important;padding-top:24px!important;text-align:center!important}.mp-checkout-yape-title-container{display:flex;flex-direction:column;gap:6px;margin-bottom:24px!important}.mp-checkout-yape-title{color:#000!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;margin-bottom:8px}.mp-checkout-yape-subtitle,.mp-checkout-yape-title{font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;margin-top:0;text-align:left!important}.mp-checkout-yape-subtitle{color:rgba(0,0,0,.55)!important;font-size:14px!important;font-weight:400!important;line-height:18px!important;margin-bottom:0}.mp-checkout-container a,.mp-checkout-container abbr,.mp-checkout-container acronym,.mp-checkout-container address,.mp-checkout-container applet,.mp-checkout-container article,.mp-checkout-container aside,.mp-checkout-container audio,.mp-checkout-container b,.mp-checkout-container big,.mp-checkout-container blockquote,.mp-checkout-container canvas,.mp-checkout-container caption,.mp-checkout-container center,.mp-checkout-container cite,.mp-checkout-container code,.mp-checkout-container dd,.mp-checkout-container del,.mp-checkout-container details,.mp-checkout-container dfn,.mp-checkout-container div,.mp-checkout-container dl,.mp-checkout-container dt,.mp-checkout-container em,.mp-checkout-container embed,.mp-checkout-container fieldset,.mp-checkout-container figcaption,.mp-checkout-container figure,.mp-checkout-container footer,.mp-checkout-container form,.mp-checkout-container h1,.mp-checkout-container h2,.mp-checkout-container h3,.mp-checkout-container h4,.mp-checkout-container h5,.mp-checkout-container h6,.mp-checkout-container header,.mp-checkout-container hgroup,.mp-checkout-container i,.mp-checkout-container iframe,.mp-checkout-container img,.mp-checkout-container input,.mp-checkout-container ins,.mp-checkout-container kbd,.mp-checkout-container label,.mp-checkout-container legend,.mp-checkout-container li,.mp-checkout-container li input,.mp-checkout-container mark,.mp-checkout-container menu,.mp-checkout-container nav,.mp-checkout-container object,.mp-checkout-container ol,.mp-checkout-container output,.mp-checkout-container p,.mp-checkout-container pre,.mp-checkout-container q,.mp-checkout-container ruby,.mp-checkout-container s,.mp-checkout-container samp,.mp-checkout-container section,.mp-checkout-container select,.mp-checkout-container small,.mp-checkout-container span,.mp-checkout-container strike,.mp-checkout-container strong,.mp-checkout-container sub,.mp-checkout-container summary,.mp-checkout-container sup,.mp-checkout-container table,.mp-checkout-container tbody,.mp-checkout-container td,.mp-checkout-container tfoot,.mp-checkout-container th,.mp-checkout-container thead,.mp-checkout-container time,.mp-checkout-container tr,.mp-checkout-container tt,.mp-checkout-container u,.mp-checkout-container ul,.mp-checkout-container var,.mp-checkout-container video{font:inherit;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;line-height:16px;margin:0;padding:0;vertical-align:baseline;width:auto}.mp-checkout-container{border:0!important;font:inherit!important;font-size:100%!important;margin:0!important;padding:0!important;vertical-align:baseline!important}.mp-vertical-line{border-left:1px solid rgba(0,0,0,.25)!important;height:36px!important;width:1px!important}.mp-document-select{appearance:auto;cursor:pointer!important;letter-spacing:0!important;margin:0 8px!important;width:25%!important}.mp-document-select,.mp-input-document{background:#fff!important;border:0!important;color:#000!important;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:20px!important;outline:0!important}.mp-input-document{border-radius:8px!important;box-shadow:none!important;width:100%!important}.alert-message{color:red;font-weight:700!important}.row-image-select{align-content:center;align-items:center;display:flex;flex-direction:row;height:18px;justify-content:space-between}.row-image-select p{font-family:Proxima Nova,-apple-system,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:18px;padding:0}.row-image-select img{height:25px;margin-right:8px;padding:0;width:30px}.mp-checkout-andes-input{background:#fff!important;border:1px solid rgba(0,0,0,.25);border-radius:6px!important;color:#000!important;flex-grow:0;flex-shrink:0;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-weight:400!important;height:48px!important;line-height:20px!important;margin:0!important;max-width:100%!important;outline:0!important;padding:0 14px!important}.mp-checkout-andes-input:focus{border-color:#7f54b3!important}.mp-checkout-andes-input-error{background:#fff!important;border:1px solid rgba(0,0,0,.25);border-color:#f23d4f!important;border-radius:6px!important;color:#000!important;flex-grow:0;flex-shrink:0;font-family:Proxima Nova,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif!important;font-size:16px!important;font-weight:400!important;height:48px!important;line-height:20px!important;margin:0!important;max-width:100%!important;outline:0!important;padding:0 14px!important}.mp-checkout-andes-input-error:focus{border:2px solid rgba(0,0,0,.25)}
\ No newline at end of file
diff --git a/assets/js/blocks/components/InputDocument.js b/assets/js/blocks/components/InputDocument.js
index 26eb74341..ff614e08a 100644
--- a/assets/js/blocks/components/InputDocument.js
+++ b/assets/js/blocks/components/InputDocument.js
@@ -1,6 +1,8 @@
const InputDocument = ({
labelMessage,
- helperMessage,
+ helperInvalid,
+ helperEmpty,
+ helperWrong,
inputName,
hiddenId,
inputDataCheckout,
@@ -14,7 +16,9 @@ const InputDocument = ({
{
- return (
-
-
![]({imgSrc})
-
{text}
-
- );
+const RowImageSelect = ({ text, imgSrc, id }) => {
+ return (
+
+
![]({imgSrc})
+
{text}
+
+ );
}
-export default RowImageSelect;
\ No newline at end of file
+export default RowImageSelect;
diff --git a/assets/js/blocks/components/TestMode.js b/assets/js/blocks/components/TestMode.js
index 933f94ff4..de442983b 100644
--- a/assets/js/blocks/components/TestMode.js
+++ b/assets/js/blocks/components/TestMode.js
@@ -1,5 +1,5 @@
const TestMode = ({ title, description, linkText, linkSrc }) => (
-
+
);
diff --git a/assets/js/blocks/custom.block.js b/assets/js/blocks/custom.block.js
index 838b7de6b..fc273a1d0 100644
--- a/assets/js/blocks/custom.block.js
+++ b/assets/js/blocks/custom.block.js
@@ -78,7 +78,9 @@ const Content = (props) => {
card_security_code_input_label,
card_security_code_input_helper,
card_document_input_label,
- card_document_input_helper,
+ card_input_document_helper_invalid,
+ card_input_document_helper_empty,
+ card_input_document_helper_wrong,
card_installments_title,
card_issuer_input_label,
card_installments_input_helper,
@@ -249,7 +251,7 @@ const Content = (props) => {
{test_mode ? (
-
+
{
{
test_mode_link_text,
test_mode_link_src,
input_document_label,
- input_document_helper,
+ input_document_helper_empty,
+ input_document_helper_invalid,
+ input_document_helper_wrong,
pse_text_label,
person_type_label,
amount,
@@ -110,7 +112,9 @@ const Content = (props) => {
let inputDocumentConfig = {
labelMessage: input_document_label,
- helperMessage: input_document_helper,
+ helperInvalid: input_document_helper_invalid,
+ helperEmpty: input_document_helper_empty,
+ helperWrong: input_document_helper_wrong,
validate: 'true',
selectId: 'doc_type',
flagError: 'mercadopago_pse[docNumberError]',
diff --git a/assets/js/blocks/ticket.block.js b/assets/js/blocks/ticket.block.js
index d87ab2415..cf9d8be42 100644
--- a/assets/js/blocks/ticket.block.js
+++ b/assets/js/blocks/ticket.block.js
@@ -2,18 +2,12 @@
import { registerPaymentMethod } from '@woocommerce/blocks-registry';
import { getSetting } from '@woocommerce/settings';
-import { useEffect, useRef } from '@wordpress/element';
+import { useEffect } from '@wordpress/element';
import { decodeEntities } from '@wordpress/html-entities';
import { addDiscountAndCommission, removeDiscountAndCommission } from './helpers/cart-update.helper';
-import InputDocument from './components/InputDocument';
-import InputHelper from './components/InputHelper';
-import InputTable from './components/InputTable';
-import TermsAndConditions from './components/TermsAndConditions';
-import TestMode from './components/TestMode';
import sendMetric from "./helpers/metrics.helper";
-
const targetName = "mp_checkout_blocks";
const paymentMethodName = 'woo-mercado-pago-ticket';
@@ -77,92 +71,65 @@ const Label = (props) => {
const Content = (props) => {
updateCart(props);
- const {
- test_mode_title,
- test_mode_description,
- test_mode_link_text,
- test_mode_link_src,
- input_document_label,
- input_document_helper,
- ticket_text_label,
- input_table_button,
- input_helper_label,
- payment_methods,
- amount,
- site_id,
- terms_and_conditions_description,
- terms_and_conditions_link_text,
- terms_and_conditions_link_src,
- test_mode,
- message_error_amount,
- } = settings.params;
-
- if (amount == null) {
- return (<>{message_error_amount}
>);
- }
-
- const ref = useRef(null);
-
const { eventRegistration, emitResponse } = props;
const { onPaymentSetup } = eventRegistration;
- let inputDocumentConfig = {
- labelMessage: input_document_label,
- helperMessage: input_document_helper,
- validate: 'true',
- selectId: 'docType',
- flagError: 'mercadopago_ticket[docNumberError]',
- inputName: 'mercadopago_ticket[docNumber]',
- selectName: 'mercadopago_ticket[docType]',
- documents: getDocumentsBySiteId(site_id),
- };
-
- function getDocumentsBySiteId(siteId) {
- switch (siteId) {
- case 'MLB':
- return '["CPF","CNPJ"]';
- case 'MLU':
- return '["CI","OTRO"]';
- default:
- return null;
- }
- }
+ const mlbTicketRequiredFields = [
+ 'address_city',
+ 'address_federal_unit',
+ 'address_zip_code',
+ 'address_street_name',
+ 'address_street_number',
+ 'address_neighborhood',
+ 'address_complement'
+ ];
useEffect(() => {
const unsubscribe = onPaymentSetup(async () => {
+ const inputDocDiv = document.querySelector('.mp-input');
const inputDocHelper = document.getElementById('mp-doc-number-helper');
const inputPaymentMethod = document.getElementById('mp-payment-method-helper');
const paymentMethodData = {
- 'mercadopago_ticket[site_id]': site_id,
- 'mercadopago_ticket[amount]': amount.toString(),
- 'mercadopago_ticket[doc_type]': ref.current.querySelector('#docType')?.value,
- 'mercadopago_ticket[doc_number]': ref.current.querySelector(
- '#form-checkout__identificationNumber-container > input',
- )?.value,
+ 'mercadopago_ticket[site_id]': document.getElementsByName('mercadopago_ticket[site_id]')[0].value,
+ 'mercadopago_ticket[amount]': document.getElementsByName('mercadopago_ticket[amount]')[0].value,
+ 'mercadopago_ticket[doc_type]': document.getElementsByName('mercadopago_ticket[doc_type]')[0]?.value,
+ 'mercadopago_ticket[doc_number]':
+ document.getElementsByName('mercadopago_ticket[doc_number]')[0]?.value ??
+ document.getElementsByName('mercadopago_ticket[docNumberError]')[0]?.value,
};
- const checkedPaymentMethod = payment_methods.find((method) => {
- const selector = `#${method.id}`;
- const element = ref.current.querySelector(selector);
- return element && element.checked;
+ document
+ .querySelector('.mp-checkout-ticket-container')
+ .querySelectorAll('.mp-input-radio-radio')
+ .forEach((item) => {
+ if (item.checked) {
+ paymentMethodData['mercadopago_ticket[payment_method_id]'] = item.value;
+ inputPaymentMethod.style.display = 'none';
+ }
});
- if (checkedPaymentMethod) {
- paymentMethodData['mercadopago_ticket[payment_method_id]'] = ref.current.querySelector(
- `#${checkedPaymentMethod.id}`,
- ).value;
- inputPaymentMethod.style.display = 'none';
+ const siteId = document.getElementsByName('mercadopago_ticket[site_id]')[0].value;
+
+ if (siteId == 'MLB') {
+ mlbTicketRequiredFields.forEach(element => {
+ paymentMethodData[`mercadopago_ticket[${element}]`] = document.querySelector(`#form-checkout__${element}`).value;
+ });
}
- if (inputDocumentConfig.documents && paymentMethodData['mercadopago_ticket[doc_number]'] === '') {
+ if ((siteId == 'MLB' || siteId == 'MLU') && paymentMethodData['mercadopago_ticket[doc_number]'] === '') {
+ inputDocDiv.classList.add('mp-error');
setInputDisplayStyle(inputDocHelper, 'flex');
}
if (!paymentMethodData['mercadopago_ticket[payment_method_id]']) {
setInputDisplayStyle(inputPaymentMethod, 'flex');
}
-
- const hasErrorInForm = isInputDisplayFlex(inputDocHelper) || isInputDisplayFlex(inputPaymentMethod);
+ // global js function from mp-ticket-checkout.js
+ const hasErrorInAdressFields = siteId == 'MLB' && !addressFieldsFromTicketRowAreValid();
+ const hasErrorInForm =
+ isInputDisplayFlex(inputDocHelper) ||
+ isInputDisplayFlex(inputPaymentMethod) ||
+ hasErrorInAdressFields;
function setInputDisplayStyle(inputElement, displayValue) {
if (inputElement && inputElement.style) {
@@ -182,48 +149,7 @@ const Content = (props) => {
return () => unsubscribe();
}, [emitResponse.responseTypes.ERROR, emitResponse.responseTypes.SUCCESS, onPaymentSetup]);
- return (
-
-
-
- {test_mode ? (
-
- ) : null}
-
- {inputDocumentConfig.documents ?
: null}
-
-
{ticket_text_label}
-
-
-
-
-
-
-
-
-
-
-
- );
+ return ;
};
const mercadopagoPaymentMethod = {
diff --git a/assets/js/checkouts/custom/mp-custom-checkout.js b/assets/js/checkouts/custom/mp-custom-checkout.js
index 6e6d1b33f..16991f365 100644
--- a/assets/js/checkouts/custom/mp-custom-checkout.js
+++ b/assets/js/checkouts/custom/mp-custom-checkout.js
@@ -1,14 +1,11 @@
/* globals wc_mercadopago_custom_checkout_params, MercadoPago, CheckoutPage, MP_DEVICE_SESSION_ID */
var cardForm;
-var hasToken = false;
-var mercado_pago_submit = false;
-var triggeredPaymentMethodSelectedEvent = false;
-var cardFormMounted = false;
+var triggeredPaymentMethodSelectedEvent, cardFormMounted, mercado_pago_submit, hasToken = false;
+var mpFormId = 'checkout';
var threedsTarget = 'mp_custom_checkout_security_fields_client';
var mpCheckoutForm = document.querySelector('form[name=checkout]');
-var mpFormId = 'checkout';
if (mpCheckoutForm) {
mpCheckoutForm.id = mpFormId;
@@ -164,6 +161,8 @@ function initCardForm(amount = getAmount()) {
},
onInstallmentsReceived: (error, installments) => {
if (error) {
+ const messages = wc_mercadopago_custom_checkout_params.error_messages;
+ addErrorAlert(messages.installments[error.message] ?? messages.default);
console.warn('Installments handling error: ', error);
return;
}
@@ -288,7 +287,7 @@ function removeBlockOverlay() {
}
function cardFormLoad() {
- const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom');
+ const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom') || document.querySelector('input[value=woo-mercado-pago-custom]');
if (checkoutCustomPaymentMethodElement && checkoutCustomPaymentMethodElement.checked) {
setTimeout(() => {
@@ -306,7 +305,7 @@ function cardFormLoad() {
function setCardFormLoadInterval() {
var cardFormInterval = setInterval(() => {
- const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom');
+ const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom') || document.querySelector('input[value=woo-mercado-pago-custom]');
const cardInput = document.getElementById('form-checkout__cardNumber-container');
// Checkout Custom is not selected, so we can stop checking
@@ -326,7 +325,7 @@ function setCardFormLoadInterval() {
cardForm.unmount();
cardFormLoad();
}
- }, 1000);
+ }, 1500);
}
function handleCardFormLoad() {
@@ -354,52 +353,6 @@ function handleCardFormErrors(cardFormErrors) {
return cardFormErrors.description || cardFormErrors.message;
}
-jQuery('form.checkout').on('checkout_place_order_woo-mercado-pago-custom', mercadoPagoFormHandler);
-
-jQuery('body').on('payment_method_selected', function () {
- if (!triggeredPaymentMethodSelectedEvent) {
- cardFormLoad();
- }
-});
-
-jQuery('form#order_review').submit(function (event) {
- const selectPaymentMethod = document.getElementById('payment_method_woo-mercado-pago-custom');
-
- if (selectPaymentMethod && selectPaymentMethod.checked) {
- event.preventDefault();
- return mercadoPagoFormHandler();
- } else {
- cardFormLoad();
- }
-});
-
-jQuery(document.body).on('checkout_error', () => {
- hasToken = false;
- mercado_pago_submit = false;
-});
-
-jQuery(document).on('updated_checkout', function () {
- const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom');
-
- // Checkout Custom is not selected, so we can stop checking
- if (checkoutCustomPaymentMethodElement && checkoutCustomPaymentMethodElement.checked) {
- if (cardFormMounted) {
- cardForm.unmount();
- }
-
- handleCardFormLoad();
- return;
- }
-});
-
-jQuery(document).ready(() => {
- setCardFormLoadInterval();
-});
-
-if (!triggeredPaymentMethodSelectedEvent) {
- jQuery('body').trigger('payment_method_selected');
-}
-
function createLoadSpinner() {
document.querySelector('.mp-checkout-custom-container').style.display = 'none';
document.querySelector('.mp-checkout-custom-load').style.display = 'flex';
@@ -619,29 +572,26 @@ function handle3dsPayOrderFormSubmission() {
});
}
-window.addEventListener('message', (e) => {
- if (e.data.status === 'COMPLETE') {
- sendMetric('MP_THREE_DS_SUCCESS', '3DS iframe Closed', threedsTarget);
- document.getElementById('mp-3ds-modal-content').innerHTML = '';
- addLoadSpinner3dsSubmit();
- redirectAfter3dsChallenge();
- }
-});
-
function setDisplayOfErrorCheckout(errorMessage) {
sendMetric('MP_THREE_DS_ERROR', errorMessage, threedsTarget);
if (window.mpFormId !== 'blocks_checkout_form') {
- removeElementsByClass('woocommerce-NoticeGroup-checkout');
- var divWooNotice = document.createElement('div');
- divWooNotice.className = 'woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout';
- divWooNotice.innerHTML =
- '' + '- '.concat(errorMessage).concat('
- ') + '
';
- mpCheckoutForm.prepend(divWooNotice);
- window.scrollTo(0, 0);
+ addErrorAlert(errorMessage);
}
}
+function addErrorAlert(message) {
+ removeElementsByClass('woocommerce-NoticeGroup-checkout');
+ jQuery(mpCheckoutForm).prepend(`
+
+ `);
+ window.scrollTo(0, 0);
+}
+
function removeElementsByClass(className) {
const elements = document.getElementsByClassName(className);
while (elements.length > 0) {
@@ -668,3 +618,58 @@ function sendMetric(name, message, target) {
navigator.sendBeacon(url, JSON.stringify(payload));
}
+
+jQuery('form.checkout').on('checkout_place_order_woo-mercado-pago-custom', mercadoPagoFormHandler);
+
+jQuery('body').on('payment_method_selected', function () {
+ if (!triggeredPaymentMethodSelectedEvent) {
+ cardFormLoad();
+ }
+});
+
+jQuery('form#order_review').submit(function (event) {
+ const selectPaymentMethod = document.getElementById('payment_method_woo-mercado-pago-custom') || document.querySelector('input[value=woo-mercado-pago-custom]');
+
+ if (selectPaymentMethod && selectPaymentMethod.checked) {
+ event.preventDefault();
+ return mercadoPagoFormHandler();
+ } else {
+ cardFormLoad();
+ }
+});
+
+jQuery(document.body).on('checkout_error', () => {
+ hasToken = false;
+ mercado_pago_submit = false;
+});
+
+jQuery(document).on('updated_checkout', function () {
+ const checkoutCustomPaymentMethodElement = document.getElementById('payment_method_woo-mercado-pago-custom') || document.querySelector('input[value=woo-mercado-pago-custom]');
+
+ // Checkout Custom is not selected, so we can stop checking
+ if (checkoutCustomPaymentMethodElement && checkoutCustomPaymentMethodElement.checked) {
+ if (cardFormMounted) {
+ cardForm.unmount();
+ }
+
+ handleCardFormLoad();
+ return;
+ }
+});
+
+jQuery(document).ready(() => {
+ setCardFormLoadInterval();
+});
+
+window.addEventListener('message', (e) => {
+ if (e.data.status === 'COMPLETE') {
+ sendMetric('MP_THREE_DS_SUCCESS', '3DS iframe Closed', threedsTarget);
+ document.getElementById('mp-3ds-modal-content').innerHTML = '';
+ addLoadSpinner3dsSubmit();
+ redirectAfter3dsChallenge();
+ }
+});
+
+if (!triggeredPaymentMethodSelectedEvent) {
+ jQuery('body').trigger('payment_method_selected');
+}
diff --git a/assets/js/checkouts/custom/mp-custom-checkout.min.js b/assets/js/checkouts/custom/mp-custom-checkout.min.js
index 5eeff731f..be1880ee9 100644
--- a/assets/js/checkouts/custom/mp-custom-checkout.min.js
+++ b/assets/js/checkouts/custom/mp-custom-checkout.min.js
@@ -1 +1 @@
-var cardForm,hasToken=!1,mercado_pago_submit=!1,triggeredPaymentMethodSelectedEvent=!1,cardFormMounted=!1,threedsTarget="mp_custom_checkout_security_fields_client",mpCheckoutForm=document.querySelector("form[name=checkout]"),mpFormId="checkout";function mercadoPagoFormHandler(){if(document.querySelector("form[id=order_review]")){document.querySelector(".mp-checkout-custom-container").querySelectorAll("input-helper").forEach((e=>{"none"!==e.querySelector("div").style.display&&removeBlockOverlay()}))}return setMercadoPagoSessionId(),!!mercado_pago_submit||("wallet_button"===jQuery("#mp_checkout_type").val()||(jQuery("#mp_checkout_type").val("custom"),!(!CheckoutPage.validateInputsCreateToken()||hasToken)&&createToken()))}function createToken(){return cardForm.createCardToken().then((e=>{if(!e.token)throw new Error("cardToken is empty");if(!hasToken)return document.querySelector("#cardTokenId").value=e.token,mercado_pago_submit=!0,hasToken=!0,"order_review"===mpFormId?(handle3dsPayOrderFormSubmission(),!1):void jQuery("form.checkout").submit()})).catch((e=>{console.warn("Token creation error: ",e)})),!1}function initCardForm(e=getAmount()){const o=new MercadoPago(wc_mercadopago_custom_checkout_params.public_key);return new Promise(((t,r)=>{cardForm=o.cardForm({amount:e,iframe:!0,form:{id:mpFormId,cardNumber:{id:"form-checkout__cardNumber-container",placeholder:"0000 0000 0000 0000",style:{"font-size":"16px",height:"40px",padding:"14px"}},cardholderName:{id:"form-checkout__cardholderName",placeholder:"Ex.: María López"},cardExpirationDate:{id:"form-checkout__expirationDate-container",placeholder:wc_mercadopago_custom_checkout_params.placeholders.cardExpirationDate,mode:"short",style:{"font-size":"16px",height:"40px",padding:"14px"}},securityCode:{id:"form-checkout__securityCode-container",placeholder:"123",style:{"font-size":"16px",height:"40px",padding:"14px"}},identificationType:{id:"form-checkout__identificationType"},identificationNumber:{id:"form-checkout__identificationNumber"},issuer:{id:"form-checkout__issuer",placeholder:wc_mercadopago_custom_checkout_params.placeholders.issuer},installments:{id:"form-checkout__installments",placeholder:wc_mercadopago_custom_checkout_params.placeholders.installments}},callbacks:{onReady:()=>{removeLoadSpinner(),t()},onFormMounted:function(e){cardFormMounted=!0,e&&console.log("Callback to handle the error: creating the CardForm",e)},onFormUnmounted:function(e){cardFormMounted=!1,CheckoutPage.clearInputs(),e&&console.log("Callback to handle the error: unmounting the CardForm",e)},onInstallmentsReceived:(e,o)=>{e?console.warn("Installments handling error: ",e):CheckoutPage.setChangeEventOnInstallments(CheckoutPage.getCountry(),o)},onCardTokenReceived:e=>{e&&console.warn("Token handling error: ",e)},onPaymentMethodsReceived:(e,o)=>{try{if(o){CheckoutPage.setValue("paymentMethodId",o[0].id),CheckoutPage.setCvvHint(o[0].settings[0].security_code),CheckoutPage.changeCvvPlaceHolder(o[0].settings[0].security_code.length),CheckoutPage.clearInputs(),CheckoutPage.setDisplayOfError("fcCardNumberContainer","remove","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","none"),CheckoutPage.setImageCard(o[0].secure_thumbnail||o[0].thumbnail),CheckoutPage.installment_amount(o[0].payment_type_id);const e=CheckoutPage.loadAdditionalInfo(o[0].additional_info_needed);CheckoutPage.additionalInfoHandler(e)}else CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")}catch(e){CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")}},onSubmit:function(e){e.preventDefault()},onValidityChange:function(e,o){if(e){let t=CheckoutPage.getHelperMessage(o),r=wc_mercadopago_custom_checkout_params.input_helper_message[o][e[0].code];t.innerHTML=r||wc_mercadopago_custom_checkout_params.input_helper_message[o].invalid_length,"cardNumber"===o&&"invalid_length"!==e[0].code&&(CheckoutPage.setBackground("fcCardNumberContainer","no-repeat #fff"),CheckoutPage.removeAdditionFields(),CheckoutPage.clearInputs());let a=CheckoutPage.findContainerField(o);return CheckoutPage.setDisplayOfError(a,"add","mp-error"),CheckoutPage.setDisplayOfInputHelper(CheckoutPage.inputHelperName(o),"flex")}let t=CheckoutPage.findContainerField(o);return CheckoutPage.setDisplayOfError(t,"removed","mp-error"),CheckoutPage.setDisplayOfInputHelper(CheckoutPage.inputHelperName(o),"none")},onError:function(e){e.forEach((e=>(removeBlockOverlay(),e.message.includes("timed out")?r(e):e.message.includes("cardNumber")?(CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")):e.message.includes("cardholderName")?(CheckoutPage.setDisplayOfError("fcCardholderName","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-holder-name","flex")):e.message.includes("expirationMonth")||e.message.includes("expirationYear")?(CheckoutPage.setDisplayOfError("fcCardExpirationDateContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-expiration-date","flex")):e.message.includes("securityCode")?(CheckoutPage.setDisplayOfError("fcSecurityNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-security-code","flex")):e.message.includes("identificationNumber")?(CheckoutPage.setDisplayOfError("fcIdentificationNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-doc-number","flex")):r(e))))}}})}))}function getAmount(){const e=parseFloat(document.getElementById("mp-amount").value.replace(",","."));return String(e)}function setMercadoPagoSessionId(){try{document.querySelector("#mpCardSessionId").value=MP_DEVICE_SESSION_ID}catch(e){console.warn(e)}}function removeBlockOverlay(){jQuery("form#order_review").length>0&&jQuery(".blockOverlay").css("display","none")}function cardFormLoad(){const e=document.getElementById("payment_method_woo-mercado-pago-custom");e&&e.checked?setTimeout((()=>{cardFormMounted||(createLoadSpinner(),handleCardFormLoad())}),2500):cardFormMounted&&cardForm.unmount()}function setCardFormLoadInterval(){var e=setInterval((()=>{const o=document.getElementById("payment_method_woo-mercado-pago-custom"),t=document.getElementById("form-checkout__cardNumber-container");o&&o.checked?t&&t.childElementCount>0?clearInterval(e):cardFormMounted&&(cardForm.unmount(),cardFormLoad()):clearInterval(e)}),1e3)}function handleCardFormLoad(){initCardForm().then((()=>{sendMetric("MP_CARDFORM_SUCCESS","Security fields loaded",threedsTarget)})).catch((e=>{const o=handleCardFormErrors(e);sendMetric("MP_CARDFORM_ERROR",o,threedsTarget),console.error("Mercado Pago cardForm error: ",o)}))}function handleCardFormErrors(e){if(e.length){const o=[];return e.forEach((e=>{o.push(e.description||e.message)})),o.join(",")}return e.description||e.message}function createLoadSpinner(){document.querySelector(".mp-checkout-custom-container").style.display="none",document.querySelector(".mp-checkout-custom-load").style.display="flex"}function removeLoadSpinner(){document.querySelector(".mp-checkout-custom-container").style.display="block",document.querySelector(".mp-checkout-custom-load").style.display="none"}function removeLoadSpinner3ds(){var e=document.getElementById("mp-loading-container-3ds");e&&e.remove()}function addLoadSpinner3dsSubmit(){document.getElementById("mp-3ds-modal-content").innerHTML=' '+wc_mercadopago_custom_checkout_params.threeDsText.title_loading_response+"
"}function removeModal3ds(){CheckoutPage.clearInputs(),document.getElementById("mp-3ds-modal-container").remove()}function threeDSHandler(e,o){try{if(null==e||null==o)return removeModal3ds(),sendMetric("MP_THREE_DS_ERROR","3DS URL or CRED not set",threedsTarget),void console.log("Invalid parameters for 3ds");var t=document.createElement("div");t.className="mp-card-info",t.innerHTML='
'+wc_mercadopago_custom_checkout_params.threeDsText.title_frame+"
";var r=document.getElementById("mp-3ds-modal-content"),a=document.createElement("iframe");a.name="mp-3ds-frame",a.id="mp-3ds-frame",a.onload=()=>removeLoadSpinner3ds(),document.getElementById("mp-3ds-title").innerText=wc_mercadopago_custom_checkout_params.threeDsText.tooltip_frame,r.appendChild(t),r.appendChild(a);var n=a.contentWindow.document,c=n.createElement("form");c.name="mp-3ds-frame",c.className="mp-modal",c.setAttribute("target","mp-3ds-frame"),c.setAttribute("method","post"),c.setAttribute("action",e);var d=n.createElement("input");d.setAttribute("type","hidden"),d.setAttribute("name","creq"),d.setAttribute("value",o),c.appendChild(d),a.appendChild(c),c.submit()}catch(e){console.log(e),sendMetric("MP_THREE_DS_ERROR","3DS Loading error: "+e,threedsTarget),alert("Error doing Challenge, try again later.")}}function load3DSFlow(e){var o=document.createElement("div");o.setAttribute("id","mp-3ds-modal-container"),o.className="mp-3ds-modal";var t=document.createElement("div");t.id="mp-3ds-modal-content",t.innerHTML='
×
'+wc_mercadopago_custom_checkout_params.threeDsText.title_loading+"
("+document.getElementById("paymentMethodId").value+"****"+e+") "+wc_mercadopago_custom_checkout_params.threeDsText.title_loading2+'
'+wc_mercadopago_custom_checkout_params.threeDsText.text_loading+"
",o.appendChild(t),document.body.appendChild(o),document.querySelector("#mp-3ds-modal-close").addEventListener("click",(function(){setDisplayOfErrorCheckout(wc_mercadopago_custom_checkout_params.threeDsText.message_close),removeModal3ds()})),jQuery.post(woocommerce_params.wc_ajax_url.replace("%%endpoint%%","mp_get_3ds_from_session")).done((function(e){e.success?threeDSHandler(e.data.data["3ds_url"],e.data.data["3ds_creq"]):(console.error("Error POST:",e),window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!0}})),removeModal3ds())})).fail((function(e,o,t){console.error("Failed to make POST:",o,t),window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!0}})),removeModal3ds()}))}function redirectAfter3dsChallenge(){jQuery.post(woocommerce_params.wc_ajax_url.replace("%%endpoint%%","mp_redirect_after_3ds_challenge")).done((function(e){e.data.redirect?(window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!1}})),sendMetric("MP_THREE_DS_SUCCESS","3DS challenge complete",threedsTarget),removeModal3ds(),window.location.href=e.data.redirect):(window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:e.data.data.error}})),setDisplayOfErrorCheckout(e.data.data.error),removeModal3ds())}))}function handle3dsPayOrderFormSubmission(){var e=jQuery("#order_review").serialize();jQuery.post("#",e).done((function(e){e.three_ds_flow?load3DSFlow(e.last_four_digits):(e.redirect&&(window.location.href=e.redirect),window.location.reload())})).error((function(){window.location.reload()}))}function setDisplayOfErrorCheckout(e){if(sendMetric("MP_THREE_DS_ERROR",e,threedsTarget),"blocks_checkout_form"!==window.mpFormId){removeElementsByClass("woocommerce-NoticeGroup-checkout");var o=document.createElement("div");o.className="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout",o.innerHTML='
'+"- ".concat(e).concat("
- ")+"
",mpCheckoutForm.prepend(o),window.scrollTo(0,0)}}function removeElementsByClass(e){const o=document.getElementsByClassName(e);for(;o.length>0;)o[0].parentNode.removeChild(o[0])}function sendMetric(e,o,t){const r={name:e,message:o,target:t,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(r))}mpCheckoutForm?mpCheckoutForm.id=mpFormId:mpFormId="order_review",jQuery("form.checkout").on("checkout_place_order_woo-mercado-pago-custom",mercadoPagoFormHandler),jQuery("body").on("payment_method_selected",(function(){triggeredPaymentMethodSelectedEvent||cardFormLoad()})),jQuery("form#order_review").submit((function(e){const o=document.getElementById("payment_method_woo-mercado-pago-custom");if(o&&o.checked)return e.preventDefault(),mercadoPagoFormHandler();cardFormLoad()})),jQuery(document.body).on("checkout_error",(()=>{hasToken=!1,mercado_pago_submit=!1})),jQuery(document).on("updated_checkout",(function(){const e=document.getElementById("payment_method_woo-mercado-pago-custom");if(e&&e.checked)return cardFormMounted&&cardForm.unmount(),void handleCardFormLoad()})),jQuery(document).ready((()=>{setCardFormLoadInterval()})),triggeredPaymentMethodSelectedEvent||jQuery("body").trigger("payment_method_selected"),window.addEventListener("message",(e=>{"COMPLETE"===e.data.status&&(sendMetric("MP_THREE_DS_SUCCESS","3DS iframe Closed",threedsTarget),document.getElementById("mp-3ds-modal-content").innerHTML="",addLoadSpinner3dsSubmit(),redirectAfter3dsChallenge())}));
\ No newline at end of file
+var cardForm,triggeredPaymentMethodSelectedEvent,cardFormMounted,mercado_pago_submit,hasToken=!1,mpFormId="checkout",threedsTarget="mp_custom_checkout_security_fields_client",mpCheckoutForm=document.querySelector("form[name=checkout]");function mercadoPagoFormHandler(){if(document.querySelector("form[id=order_review]")){document.querySelector(".mp-checkout-custom-container").querySelectorAll("input-helper").forEach((e=>{"none"!==e.querySelector("div").style.display&&removeBlockOverlay()}))}return setMercadoPagoSessionId(),!!mercado_pago_submit||("wallet_button"===jQuery("#mp_checkout_type").val()||(jQuery("#mp_checkout_type").val("custom"),!(!CheckoutPage.validateInputsCreateToken()||hasToken)&&createToken()))}function createToken(){return cardForm.createCardToken().then((e=>{if(!e.token)throw new Error("cardToken is empty");if(!hasToken)return document.querySelector("#cardTokenId").value=e.token,mercado_pago_submit=!0,hasToken=!0,"order_review"===mpFormId?(handle3dsPayOrderFormSubmission(),!1):void jQuery("form.checkout").submit()})).catch((e=>{console.warn("Token creation error: ",e)})),!1}function initCardForm(e=getAmount()){const o=new MercadoPago(wc_mercadopago_custom_checkout_params.public_key);return new Promise(((t,r)=>{cardForm=o.cardForm({amount:e,iframe:!0,form:{id:mpFormId,cardNumber:{id:"form-checkout__cardNumber-container",placeholder:"0000 0000 0000 0000",style:{"font-size":"16px",height:"40px",padding:"14px"}},cardholderName:{id:"form-checkout__cardholderName",placeholder:"Ex.: María López"},cardExpirationDate:{id:"form-checkout__expirationDate-container",placeholder:wc_mercadopago_custom_checkout_params.placeholders.cardExpirationDate,mode:"short",style:{"font-size":"16px",height:"40px",padding:"14px"}},securityCode:{id:"form-checkout__securityCode-container",placeholder:"123",style:{"font-size":"16px",height:"40px",padding:"14px"}},identificationType:{id:"form-checkout__identificationType"},identificationNumber:{id:"form-checkout__identificationNumber"},issuer:{id:"form-checkout__issuer",placeholder:wc_mercadopago_custom_checkout_params.placeholders.issuer},installments:{id:"form-checkout__installments",placeholder:wc_mercadopago_custom_checkout_params.placeholders.installments}},callbacks:{onReady:()=>{removeLoadSpinner(),t()},onFormMounted:function(e){cardFormMounted=!0,e&&console.log("Callback to handle the error: creating the CardForm",e)},onFormUnmounted:function(e){cardFormMounted=!1,CheckoutPage.clearInputs(),e&&console.log("Callback to handle the error: unmounting the CardForm",e)},onInstallmentsReceived:(e,o)=>{if(e){const o=wc_mercadopago_custom_checkout_params.error_messages;return addErrorAlert(o.installments[e.message]??o.default),void console.warn("Installments handling error: ",e)}CheckoutPage.setChangeEventOnInstallments(CheckoutPage.getCountry(),o)},onCardTokenReceived:e=>{e&&console.warn("Token handling error: ",e)},onPaymentMethodsReceived:(e,o)=>{try{if(o){CheckoutPage.setValue("paymentMethodId",o[0].id),CheckoutPage.setCvvHint(o[0].settings[0].security_code),CheckoutPage.changeCvvPlaceHolder(o[0].settings[0].security_code.length),CheckoutPage.clearInputs(),CheckoutPage.setDisplayOfError("fcCardNumberContainer","remove","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","none"),CheckoutPage.setImageCard(o[0].secure_thumbnail||o[0].thumbnail),CheckoutPage.installment_amount(o[0].payment_type_id);const e=CheckoutPage.loadAdditionalInfo(o[0].additional_info_needed);CheckoutPage.additionalInfoHandler(e)}else CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")}catch(e){CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")}},onSubmit:function(e){e.preventDefault()},onValidityChange:function(e,o){if(e){let t=CheckoutPage.getHelperMessage(o),r=wc_mercadopago_custom_checkout_params.input_helper_message[o][e[0].code];t.innerHTML=r||wc_mercadopago_custom_checkout_params.input_helper_message[o].invalid_length,"cardNumber"===o&&"invalid_length"!==e[0].code&&(CheckoutPage.setBackground("fcCardNumberContainer","no-repeat #fff"),CheckoutPage.removeAdditionFields(),CheckoutPage.clearInputs());let a=CheckoutPage.findContainerField(o);return CheckoutPage.setDisplayOfError(a,"add","mp-error"),CheckoutPage.setDisplayOfInputHelper(CheckoutPage.inputHelperName(o),"flex")}let t=CheckoutPage.findContainerField(o);return CheckoutPage.setDisplayOfError(t,"removed","mp-error"),CheckoutPage.setDisplayOfInputHelper(CheckoutPage.inputHelperName(o),"none")},onError:function(e){e.forEach((e=>(removeBlockOverlay(),e.message.includes("timed out")?r(e):e.message.includes("cardNumber")?(CheckoutPage.setDisplayOfError("fcCardNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-number","flex")):e.message.includes("cardholderName")?(CheckoutPage.setDisplayOfError("fcCardholderName","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-card-holder-name","flex")):e.message.includes("expirationMonth")||e.message.includes("expirationYear")?(CheckoutPage.setDisplayOfError("fcCardExpirationDateContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-expiration-date","flex")):e.message.includes("securityCode")?(CheckoutPage.setDisplayOfError("fcSecurityNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-security-code","flex")):e.message.includes("identificationNumber")?(CheckoutPage.setDisplayOfError("fcIdentificationNumberContainer","add","mp-error"),CheckoutPage.setDisplayOfInputHelper("mp-doc-number","flex")):r(e))))}}})}))}function getAmount(){const e=parseFloat(document.getElementById("mp-amount").value.replace(",","."));return String(e)}function setMercadoPagoSessionId(){try{document.querySelector("#mpCardSessionId").value=MP_DEVICE_SESSION_ID}catch(e){console.warn(e)}}function removeBlockOverlay(){jQuery("form#order_review").length>0&&jQuery(".blockOverlay").css("display","none")}function cardFormLoad(){const e=document.getElementById("payment_method_woo-mercado-pago-custom")||document.querySelector("input[value=woo-mercado-pago-custom]");e&&e.checked?setTimeout((()=>{cardFormMounted||(createLoadSpinner(),handleCardFormLoad())}),2500):cardFormMounted&&cardForm.unmount()}function setCardFormLoadInterval(){var e=setInterval((()=>{const o=document.getElementById("payment_method_woo-mercado-pago-custom")||document.querySelector("input[value=woo-mercado-pago-custom]"),t=document.getElementById("form-checkout__cardNumber-container");o&&o.checked?t&&t.childElementCount>0?clearInterval(e):cardFormMounted&&(cardForm.unmount(),cardFormLoad()):clearInterval(e)}),1500)}function handleCardFormLoad(){initCardForm().then((()=>{sendMetric("MP_CARDFORM_SUCCESS","Security fields loaded",threedsTarget)})).catch((e=>{const o=handleCardFormErrors(e);sendMetric("MP_CARDFORM_ERROR",o,threedsTarget),console.error("Mercado Pago cardForm error: ",o)}))}function handleCardFormErrors(e){if(e.length){const o=[];return e.forEach((e=>{o.push(e.description||e.message)})),o.join(",")}return e.description||e.message}function createLoadSpinner(){document.querySelector(".mp-checkout-custom-container").style.display="none",document.querySelector(".mp-checkout-custom-load").style.display="flex"}function removeLoadSpinner(){document.querySelector(".mp-checkout-custom-container").style.display="block",document.querySelector(".mp-checkout-custom-load").style.display="none"}function removeLoadSpinner3ds(){var e=document.getElementById("mp-loading-container-3ds");e&&e.remove()}function addLoadSpinner3dsSubmit(){document.getElementById("mp-3ds-modal-content").innerHTML='
'+wc_mercadopago_custom_checkout_params.threeDsText.title_loading_response+"
"}function removeModal3ds(){CheckoutPage.clearInputs(),document.getElementById("mp-3ds-modal-container").remove()}function threeDSHandler(e,o){try{if(null==e||null==o)return removeModal3ds(),sendMetric("MP_THREE_DS_ERROR","3DS URL or CRED not set",threedsTarget),void console.log("Invalid parameters for 3ds");var t=document.createElement("div");t.className="mp-card-info",t.innerHTML='
'+wc_mercadopago_custom_checkout_params.threeDsText.title_frame+"
";var r=document.getElementById("mp-3ds-modal-content"),a=document.createElement("iframe");a.name="mp-3ds-frame",a.id="mp-3ds-frame",a.onload=()=>removeLoadSpinner3ds(),document.getElementById("mp-3ds-title").innerText=wc_mercadopago_custom_checkout_params.threeDsText.tooltip_frame,r.appendChild(t),r.appendChild(a);var n=a.contentWindow.document,c=n.createElement("form");c.name="mp-3ds-frame",c.className="mp-modal",c.setAttribute("target","mp-3ds-frame"),c.setAttribute("method","post"),c.setAttribute("action",e);var d=n.createElement("input");d.setAttribute("type","hidden"),d.setAttribute("name","creq"),d.setAttribute("value",o),c.appendChild(d),a.appendChild(c),c.submit()}catch(e){console.log(e),sendMetric("MP_THREE_DS_ERROR","3DS Loading error: "+e,threedsTarget),alert("Error doing Challenge, try again later.")}}function load3DSFlow(e){var o=document.createElement("div");o.setAttribute("id","mp-3ds-modal-container"),o.className="mp-3ds-modal";var t=document.createElement("div");t.id="mp-3ds-modal-content",t.innerHTML='
×
'+wc_mercadopago_custom_checkout_params.threeDsText.title_loading+"
("+document.getElementById("paymentMethodId").value+"****"+e+") "+wc_mercadopago_custom_checkout_params.threeDsText.title_loading2+'
'+wc_mercadopago_custom_checkout_params.threeDsText.text_loading+"
",o.appendChild(t),document.body.appendChild(o),document.querySelector("#mp-3ds-modal-close").addEventListener("click",(function(){setDisplayOfErrorCheckout(wc_mercadopago_custom_checkout_params.threeDsText.message_close),removeModal3ds()})),jQuery.post(woocommerce_params.wc_ajax_url.replace("%%endpoint%%","mp_get_3ds_from_session")).done((function(e){e.success?threeDSHandler(e.data.data["3ds_url"],e.data.data["3ds_creq"]):(console.error("Error POST:",e),window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!0}})),removeModal3ds())})).fail((function(e,o,t){console.error("Failed to make POST:",o,t),window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!0}})),removeModal3ds()}))}function redirectAfter3dsChallenge(){jQuery.post(woocommerce_params.wc_ajax_url.replace("%%endpoint%%","mp_redirect_after_3ds_challenge")).done((function(e){e.data.redirect?(window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:!1}})),sendMetric("MP_THREE_DS_SUCCESS","3DS challenge complete",threedsTarget),removeModal3ds(),window.location.href=e.data.redirect):(window.dispatchEvent(new CustomEvent("completed_3ds",{detail:{error:e.data.data.error}})),setDisplayOfErrorCheckout(e.data.data.error),removeModal3ds())}))}function handle3dsPayOrderFormSubmission(){var e=jQuery("#order_review").serialize();jQuery.post("#",e).done((function(e){e.three_ds_flow?load3DSFlow(e.last_four_digits):(e.redirect&&(window.location.href=e.redirect),window.location.reload())})).error((function(){window.location.reload()}))}function setDisplayOfErrorCheckout(e){sendMetric("MP_THREE_DS_ERROR",e,threedsTarget),"blocks_checkout_form"!==window.mpFormId&&addErrorAlert(e)}function addErrorAlert(e){removeElementsByClass("woocommerce-NoticeGroup-checkout"),jQuery(mpCheckoutForm).prepend(`\n
\n `),window.scrollTo(0,0)}function removeElementsByClass(e){const o=document.getElementsByClassName(e);for(;o.length>0;)o[0].parentNode.removeChild(o[0])}function sendMetric(e,o,t){const r={name:e,message:o,target:t,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(r))}mpCheckoutForm?mpCheckoutForm.id=mpFormId:mpFormId="order_review",jQuery("form.checkout").on("checkout_place_order_woo-mercado-pago-custom",mercadoPagoFormHandler),jQuery("body").on("payment_method_selected",(function(){triggeredPaymentMethodSelectedEvent||cardFormLoad()})),jQuery("form#order_review").submit((function(e){const o=document.getElementById("payment_method_woo-mercado-pago-custom")||document.querySelector("input[value=woo-mercado-pago-custom]");if(o&&o.checked)return e.preventDefault(),mercadoPagoFormHandler();cardFormLoad()})),jQuery(document.body).on("checkout_error",(()=>{hasToken=!1,mercado_pago_submit=!1})),jQuery(document).on("updated_checkout",(function(){const e=document.getElementById("payment_method_woo-mercado-pago-custom")||document.querySelector("input[value=woo-mercado-pago-custom]");if(e&&e.checked)return cardFormMounted&&cardForm.unmount(),void handleCardFormLoad()})),jQuery(document).ready((()=>{setCardFormLoadInterval()})),window.addEventListener("message",(e=>{"COMPLETE"===e.data.status&&(sendMetric("MP_THREE_DS_SUCCESS","3DS iframe Closed",threedsTarget),document.getElementById("mp-3ds-modal-content").innerHTML="",addLoadSpinner3dsSubmit(),redirectAfter3dsChallenge())})),triggeredPaymentMethodSelectedEvent||jQuery("body").trigger("payment_method_selected");
\ No newline at end of file
diff --git a/assets/js/checkouts/mp-plugins-components.min.js b/assets/js/checkouts/mp-plugins-components.min.js
index a0d6d441e..ed48c5eac 100644
--- a/assets/js/checkouts/mp-plugins-components.min.js
+++ b/assets/js/checkouts/mp-plugins-components.min.js
@@ -1 +1 @@
-(()=>{class t extends HTMLElement{static get observedAttributes(){return["title","description","retryButtonText"]}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){const t=this.createAlertDetails(),e=this.createCardContent();t.appendChild(e),this.appendChild(t)}createAlertDetails(){const t=document.createElement("div");return t.classList.add("mp-alert-details-card"),t}createCardContent(){const t=document.createElement("div");t.classList.add("mp-alert-details-card-content");const e=document.createElement("div");e.classList.add("mp-alert-details-card-content-left");const n=document.createElement("div");n.classList.add("mp-alert-details-card-content-right"),t.appendChild(e),t.appendChild(n);const i=this.createBadge(),a=this.createTitle(),s=this.createDescription(),r=this.createRetryButton();return e.appendChild(i),n.appendChild(a),n.appendChild(s),n.appendChild(r),t}createBadge(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-alert-details-badge"),t}createTitle(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("title"),t.classList.add("mp-alert-details-title"),t}createDescription(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("description"),t.classList.add("mp-alert-details-description"),t}createRetryButton(){const t=this.getAttribute("retryButtonText"),e=document.createElement("button");return e.classList.add("mp-alert-details-retry-button"),e.innerHTML=t,e.onclick=()=>document.location.reload(),e}}customElements.define("alert-details",t)})(),(()=>{class t extends HTMLElement{tabNumber=1;connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-benefits-list-container"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");t.classList.add("mp-checkout-benefits-list-title"),t.innerHTML=this.getAttribute("title"),t.tabIndex=this.tabNumber,this.tabNumber++;const e=this.getAttribute("title-align");return"center"===e&&t.style.setProperty("text-align","center","important"),"left"===e&&t.style.setProperty("text-align","left","important"),t}createList(){const t=JSON.parse(this.getAttribute("items")),e=document.createElement("div");return e.classList.add("mp-checkout-benefits-list"),t.forEach(((t,n)=>{e.appendChild(this.createItem(t,n))})),e}createItem(t,e){const n=document.createElement("div");return n.classList.add("mp-checkout-benefits-list-item"),n.appendChild(this.createCountItem(e)),n.appendChild(this.createSimpleText(t)),n}createSimpleText(t){const e=document.createElement("span");return e.innerHTML=t,e.tabIndex=this.tabNumber,this.tabNumber++,e}createCountItem(t){const e=document.createElement("p");return e.innerText=1+t+".",e.classList.add("mp-checkout-benefits-list-count-list-item"),e}}customElements.define("checkout-benefits-list",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-benefits-container"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");t.classList.add("mp-checkout-benefits-title"),t.innerHTML=this.getAttribute("title");const e=this.getAttribute("title-align");return"center"===e&&t.style.setProperty("text-align","center","important"),"left"===e&&t.style.setProperty("text-align","left","important"),t}createList(){const t=JSON.parse(this.getAttribute("items")),e=document.createElement("div");return e.classList.add("mp-checkout-benefits-container-list"),t.forEach(((t,n)=>{e.appendChild(this.createItem(t,n))})),e}createItem(t,e){const n=document.createElement("div");n.classList.add("mp-checkout-benefits-item");const i=this.getAttribute("list-mode");return"count"===i?(n.appendChild(this.createCountList(e)),n.appendChild(this.createSimpleText(t)),n):"bullet"===i?(n.appendChild(this.createBulletList()),n.appendChild(this.createSimpleText(t)),n):"image"===i&&"object"==typeof t?(n.appendChild(this.createImageList(t)),n.appendChild(this.createCompositeText(t)),n):n}createSimpleText(t){const e=document.createElement("span");return e.innerHTML=t,e}createCompositeText({title:t,subtitle:e}){const n=document.createElement("p");n.classList.add("mp-checkout-benefits-item-title"),n.innerHTML=t;const i=document.createElement("p");i.classList.add("mp-checkout-benefits-item-subtitle"),i.innerHTML=e;const a=document.createElement("span");return a.appendChild(n),a.appendChild(i),a}createCountList(t){const e=document.createElement("p");e.innerText=1+t,e.classList.add("mp-checkout-benefits-count-list-item");const n=document.createElement("div");return n.classList.add("mp-checkout-benefits-count-list-div"),n.appendChild(e),n}createBulletList(){const t=document.createElement("div");t.classList.add("mp-checkout-benefits-tick-mark-container");const e=document.createElement("div");return e.classList.add("mp-checkout-benefits-tick-mark"),t.appendChild(e),t}createImageList({image:t}){const e=document.createElement("div");return e.classList.add("mp-checkout-benefits-image-list"),e.appendChild(this.createImage(t)),e}createImage({src:t,alt:e}){const n=document.createElement("img");return n.classList.add("mp-checkout-benefits-image"),n.setAttribute("src",t),n.setAttribute("alt",e),n}}customElements.define("checkout-benefits",t)})(),(()=>{class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.render()}render(){const t=document.createElement("div");t.classList.add("mp-info-notification");const e=document.createElement("div");e.classList.add("content");const n=document.createElement("img");n.src=this.getAttribute("src"),n.alt="Icone de informação",n.classList.add("icon");const i=document.createElement("div");i.classList.add("message"),i.textContent=this.getAttribute("message")||"Mensagem de informação",e.appendChild(n),e.appendChild(i),t.appendChild(e);const a=document.createElement("div");a.classList.add("footer");const s=document.createElement("img");s.src=this.getAttribute("icon"),s.alt="Footer Icon",s.classList.add("footer-icon"),a.appendChild(s),a.appendChild(document.createTextNode(this.getAttribute("footer-text")||"Procesado por Mercado Pago")),this.shadowRoot.append(t),this.shadowRoot.append(a),this.applyStyles()}applyStyles(){const t=document.createElement("style");t.textContent="\n .mp-info-notification {\n display: flex !important;\n flex-direction: column !important;\n padding: 12px !important;\n background-color: #f7f7f7 !important;\n border-radius: 8px !important;\n border-left: 4px solid #009ee3 !important;\n margin-bottom: 16px !important;\n }\n\n .content {\n display: flex !important;\n align-items: center !important;\n }\n\n .icon {\n max-width: 16px !important;\n max-height: 16px !important;\n margin-right: 8px !important;\n }\n\n @media (max-width: 600px) {\n .icon {\n margin-bottom: 15px !important;\n }\n }\n\n @media (max-width: 300px) {\n .icon {\n margin-bottom: 35px !important;\n }\n }\n\n .message {\n flex-grow: 1 !important;\n color: #333 !important;\n padding: 10px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 14px !important;\n font-weight: 400 !important;\n line-height: 18px !important;\n text-align: left !important;\n }\n\n .footer {\n display: flex !important;\n align-items: center !important;\n color: #999 !important;\n margin-top: 24px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 15px !important;\n text-align: left !important;\n }\n\n .footer-icon {\n max-width: 20px !important;\n margin-right: 8px !important;\n }\n ",this.shadowRoot.appendChild(t)}}customElements.define("checkout-notice",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v2-container"),t.setAttribute("data-cy","checkout-redirect-v2-container"),t.appendChild(this.createImage()),t.appendChild(this.createText()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-v2-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createText(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v2-text"),t.innerHTML=this.getAttribute("text"),t}}customElements.define("checkout-redirect-v2",t)})(),(()=>{class t extends HTMLElement{tabNumber=5;connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v3-container"),t.setAttribute("data-cy","checkout-redirect-v3-container"),t.appendChild(this.createTitleContainer()),t.appendChild(this.createDescription()),t}createTitleContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v3-title-container"),t.appendChild(this.createMPLogoImage()),t.appendChild(this.createTitle()),t}createMPLogoImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-v3-mp-logo-image"),t.setAttribute("aria-hidden","true"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v3-title"),t.innerHTML=this.getAttribute("title"),t.tabIndex=this.tabNumber,this.tabNumber++,t}createDescription(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v3-description"),t.innerHTML=this.getAttribute("description"),t.tabIndex=this.tabNumber,this.tabNumber++,t}}customElements.define("checkout-redirect-v3",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-container"),t.setAttribute("data-cy","checkout-redirect-container"),t.appendChild(this.createImage()),t.appendChild(this.createText()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createText(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-text"),t.innerHTML=this.getAttribute("text"),t}}customElements.define("checkout-redirect",t)})(),(()=>{class t extends HTMLElement{helper=this.createHelper();inputContainer=this.createInputContainer();connectedCallback(){this.build()}build(){const t=document.createElement("div");t.classList.add("mp-yape-input-code-container");const e=document.createElement("div");e.classList.add("mp-yape-label-container");const n=document.createElement("label");n.setAttribute("id","yape-input-code-label"),n.textContent=this.getAttribute("label")||"Código de aprobación";const i=document.createElement("div");i.classList.add("mp-yape-icon-wrapper");const a=document.createElement("img");a.src=this.getAttribute("src"),a.alt="Icone de ajuda",a.classList.add("mp-yape-icon");const s=document.createElement("div");s.classList.add("mp-yape-tooltip"),s.textContent=this.getAttribute("tooltip-text")||"Encuéntralo en el menú de la app de Yape.",i.appendChild(a),i.appendChild(s),e.appendChild(n),e.appendChild(i),t.appendChild(e),this.inputs=[];for(let t=0;t<6;t+=1){const e=document.createElement("input");e.type="text",e.maxLength="1",e.classList.add("mp-yape-code-input"),e.setAttribute("input-index",t),this.inputs.push(e),e.addEventListener("input",(e=>{/\d/.test(e.target.value)?1===e.target.value.length&&t<5&&this.inputs[t+1].focus():e.target.value="",this.updateClassesOnInput()})),e.addEventListener("keydown",(t=>{const e=parseInt(t.target.getAttribute("input-index"));"ArrowLeft"===t.key&&e>0?this.inputs[e-1].focus():"ArrowRight"===t.key&&e<5?this.inputs[e+1].focus():"Backspace"===t.key&&e>0&&!t.target.value&&this.inputs[e-1].focus()})),0===t&&e.addEventListener("paste",(t=>this.handlePaste(t))),e.addEventListener("focus",(()=>{e.classList.add("mp-input-code-focus"),e.classList.remove("mp-input-code-error"),this.helper.firstElementChild.style.display="none",document.getElementById("yape-input-code-label").style.color="#111111"})),e.addEventListener("blur",(()=>{setTimeout((()=>{this.validate()}),100)})),this.inputContainer.appendChild(e)}t.appendChild(this.inputContainer),this.appendChild(t),this.appendChild(this.helper),this.applyStyles()}validate(){this.checkForErrors(this.helper,this.inputContainer)}handlePaste(t){if(t.preventDefault(),!Array.isArray(this.inputs))return;const e=((t.clipboardData||window.clipboardData).getData("text")||"").split("").filter((t=>/\d/.test(t)));e.length>0&&e.forEach(((t,e)=>{e
{t.classList.remove("mp-input-code-error"),t.classList.add("mp-input-code-focus")}))}checkForErrors(t,e){const n=e.querySelectorAll("input"),i=Array.from(n).every((t=>""!==t.value)),a=Array.from(n).some((t=>""!==t.value));document.activeElement.classList.contains("mp-yape-code-input")||i||(n.forEach((t=>t.classList.add("mp-input-code-error"))),t.firstElementChild.style.display="flex",document.getElementById("yape-input-code-label").style.color="#f23d4f",document.getElementById("helper-approval-code").childNodes[1].innerHTML=a?document.querySelector("input-code").getAttribute("invalid-error-message"):document.querySelector("input-code").getAttribute("empty-error-message"))}applyStyles(){const t=document.createElement("style");t.textContent="\n .mp-yape-input-code-container {\n display: flex !important;\n flex-direction: column !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n }\n\n .mp-yape-label-container {\n display: flex !important;\n align-items: flex-start !important;\n margin-bottom: -8px !important;\n font-style: normal !important;\n font-weight: 400 !important;\n height: 30px !important;\n line-height: 18px !important;\n font-size: 14px !important;\n padding-left: 6px !important\n }\n\n .mp-yape-icon-wrapper {\n position: relative !important;\n display: flex !important;\n align-items: center !important;\n }\n\n .mp-yape-icon {\n max-width: 20px !important;\n margin-left: 4px !important;\n cursor: pointer !important;\n }\n\n .mp-yape-tooltip {\n display: none !important;\n position: absolute !important;\n top: -55px !important;\n left: 50% !important;\n transform: translateX(-50%) !important;\n background-color: white !important;\n padding: 8px !important;\n border-radius: 8px !important;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;\n z-index: 100 !important;\n white-space: nowrap !important;\n pointer-events: none !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 14px !important;\n font-weight: 400 !important;\n line-height: 28px !important;\n text-align: left !important;\n\n }\n\n .mp-yape-tooltip::after {\n content: \"\";\n position: absolute;\n bottom: -8px;\n left: 51%;\n transform: translateX(-70%);\n border-width: 8px 8px 0 8px;\n border-style: solid;\n z-index: 101;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n clip-path: polygon(100% 0%, 0% 0%, 50% 100%);\n color: white;\n }\n\n .mp-yape-icon-wrapper:hover .mp-yape-tooltip {\n display: block !important;\n }\n\n .mp-yape-input-container {\n display: flex !important;\n gap: 8px !important;\n }\n\n .mp-yape-code-input {\n width: 38px !important;\n height: 53px !important;\n text-align: center !important;\n font-size: 24px !important;\n border: 1px solid #ccc !important;\n border-radius: 4px !important;\n font-size: 16px !important;\n line-height: 20px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-weight: 400 !important;\n }\n\n .mp-yape-code-input:nth-child(4) {\n margin-left: 10px !important;\n }\n\n .mp-input-code-focus {\n border: 1px solid #7f54b3 !important;\n }\n\n .mp-input-code-error {\n border: 1px solid #f23d4f !important;\n }\n ",this.appendChild(t)}createInputContainer(){const t=document.createElement("div");return t.classList.add("mp-yape-input-container"),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible",!1),t.setAttribute("message","error"),t.setAttribute("input-id","helper-approval-code"),t}}customElements.define("input-code",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){const t=this.createInputDocument();this.appendChild(t)}createInputDocument(){const t=document.createElement("div");t.classList.add("mp-input-document"),t.setAttribute("data-cy","input-document-container");const e=this.createLabel(this.getAttribute("label-message")),n=this.createHelper(this.getAttribute("helper-message")),i=this.createHiddenField(this.getAttribute("hidden-id")),a=this.createInput(n,i);return t.appendChild(e),t.appendChild(a),t.appendChild(i),t.appendChild(n),t}createLabel(t){const e=document.createElement("input-label");return e.setAttribute("message",t),e.setAttribute("isOptional","false"),e}createInput(t,e){const n=document.createElement("div");n.classList.add("mp-input"),n.setAttribute("id","form-checkout__identificationNumber-container");const i=JSON.parse(this.getAttribute("documents")),a=this.getAttribute("validate"),s=this.createVerticalLine(),r=this.createSelect(n,t,i,a),c=this.createDocument(n,r,t);return r.addEventListener("change",(()=>{n.classList.remove("mp-focus"),n.classList.remove("mp-error"),this.setInpuProperties(r,c),this.setMaskInputDocument(r,c,e)})),n.appendChild(r),n.appendChild(s),n.appendChild(c),this.setMaskInputDocument(r,c,e),n}setInpuProperties(t,e){"CPF"===t.value?(e.value="",e.setAttribute("maxlength","14"),e.setAttribute("placeholder","999.999.999-99")):"CNPJ"===t.value?(e.value="",e.setAttribute("maxlength","18"),e.setAttribute("placeholder","99.999.999/0001-99")):"CI"===t.value?(e.value="",e.setAttribute("maxlength","8"),e.setAttribute("placeholder","99999999")):(e.value="",e.setAttribute("maxlength","20"),e.setAttribute("placeholder",""))}createSelect(t,e,n,i){const a=document.createElement("select");return a.classList.add("mp-document-select"),a.setAttribute("name",this.getAttribute("select-name")),a.setAttribute("id",this.getAttribute("select-id")),a.setAttribute("data-checkout",this.getAttribute("select-data-checkout")),a.setAttribute("data-cy","select-document"),n&&n.forEach((t=>{this.createOption(a,t)})),i&&(a.addEventListener("focus",(()=>{t.classList.add("mp-focus"),e.firstElementChild.style.display="none"})),a.addEventListener("focusout",(()=>{t.classList.remove("mp-focus"),e.firstElementChild.style.display="none"}))),a}createOption(t,e){const n=document.createElement("option");n.innerHTML=e,n.value=e,t.appendChild(n)}createHiddenField(t){const e=document.createElement("input");return e.setAttribute("type","hidden"),e.setAttribute("id",t),e}createVerticalLine(){const t=document.createElement("div");return t.classList.add("mp-vertical-line"),t}isValidCPF(t){if("string"!=typeof t)return!1;if(!(t=t.replace(/[\s.-]*/gim,""))||11!==t.length||"00000000000"===t||"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t)return!1;let e,n=0;for(let e=1;e<=9;e+=1)n+=parseInt(t.substring(e-1,e))*(11-e);if(e=10*n%11,10!==e&&11!==e||(e=0),e!==parseInt(t.substring(9,10)))return!1;n=0;for(let e=1;e<=10;e+=1)n+=parseInt(t.substring(e-1,e))*(12-e);return e=10*n%11,10!==e&&11!==e||(e=0),e===parseInt(t.substring(10,11))}isValidCNPJ(t){if(""===(t=t.replace(/[^\d]+/g,"")))return!1;if(14!==t.length)return!1;if("00000000000000"===t||"11111111111111"===t||"22222222222222"===t||"33333333333333"===t||"44444444444444"===t||"55555555555555"===t||"66666666666666"===t||"77777777777777"===t||"88888888888888"===t||"99999999999999"===t)return!1;let e=t.length-2,n=t.substring(0,e);const i=t.substring(e);let a=0,s=e-7;for(let t=e;t>=1;t-=1)a+=n.charAt(e-t)*s--,s<2&&(s=9);let r=a%11<2?0:11-a%11;if(r!==Number(i.charAt(0)))return!1;e+=1,n=t.substring(0,e),a=0,s=e-7;for(let t=e;t>=1;t-=1)a+=n.charAt(e-t)*s--,s<2&&(s=9);return r=a%11<2?0:11-a%11,r===Number(i.charAt(1))}isValidCI(t){let e=0,n=0,i=0;const a=t[t.length-1];if(t.length<=6)for(n=t.length;n<7;n+=1)t=`0${t}`;for(n=0;n<7;n+=1)e+=parseInt("2987634"[n],10)*parseInt(t[n],10)%10;return i=e%10==0?0:10-e%10,a===i.toString()}isValidCC(t){return"string"==typeof t&&t.length>0}isValidCE(t){return"string"==typeof t&&t.length>0}isValidNIT(t){return"string"==typeof t&&t.length>0}setMaskInputDocument(t,e,n){const i={CPF:t=>t.replace(/\D+/g,"").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1"),CNPJ:t=>t.replace(/\D+/g,"").replace(/(\d{2})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1/$2").replace(/(\d{4})(\d)/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1"),CI:t=>t.replace(/\D+/g,"")};e.addEventListener("input",(e=>{if(void 0!==i[t.value]&&(e.target.value=i[t.value](e.target.value)),n){const t=e.target.value.replace(/[^\w\s]/gi,"");n.value=t}}))}createDocument(t,e,n){const i=document.createElement("input");return i.setAttribute("name",this.getAttribute("input-name")),i.setAttribute("data-checkout",this.getAttribute("input-data-checkout")),i.setAttribute("data-cy","input-document"),i.classList.add("mp-document"),i.type="text",i.inputMode="text",this.setInpuProperties(e,i),i.addEventListener("focus",(()=>{t.classList.add("mp-focus"),t.classList.remove("mp-error"),n.firstElementChild.style.display="none"})),i.addEventListener("focusout",(()=>{t.classList.remove("mp-focus");const a={CPF:t=>this.isValidCPF(t),CNPJ:t=>this.isValidCNPJ(t),CI:t=>this.isValidCI(t),CC:t=>this.isValidCC(t),CE:t=>this.isValidCE(t),NIT:t=>this.isValidNIT(t)};void 0!==a[e.value]&&(a[e.value](i.value)?(t.classList.remove("mp-error"),n.firstElementChild.style.display="none",i.setAttribute("name",this.getAttribute("input-name"))):(t.classList.add("mp-error"),n.firstElementChild.style.display="flex",i.setAttribute("name",this.getAttribute("flag-error"))))})),i}createHelper(t){const e=document.createElement("input-helper");return e.setAttribute("isVisible",!1),e.setAttribute("message",t),e.setAttribute("input-id","mp-doc-number-helper"),e}}customElements.define("input-document",t)})(),(()=>{class t extends HTMLElement{helper=this.createHelper();input=this.createInput();connectedCallback(){this.build()}build(){const t=this.createInputField();this.appendChild(t)}createInputField(){const t=document.createElement("div");t.classList.add("mp-yape-input-field"),t.setAttribute("data-cy","input-field-container");const e=this.createLabel(this.getAttribute("label-message"));return t.appendChild(e),t.appendChild(this.input),t.appendChild(this.helper),t}createLabel(t){const e=document.createElement("input-label");return e.setAttribute("message",t),e.setAttribute("isOptional","true"),e}validate(){""===this.input.value?(this.helper.firstElementChild.style.display="flex",document.getElementById("helper-input-field").childNodes[1].innerHTML=document.querySelector("input-field").getAttribute("empty-error-message"),this.input.classList.add("mp-input-field-error"),document.querySelector('[data-cy="input-label"]').style.setProperty("color","#f23d4f","important")):this.input.value.length<11?(this.helper.firstElementChild.style.display="flex",document.getElementById("helper-input-field").childNodes[1].innerHTML=document.querySelector("input-field").getAttribute("invalid-error-message"),this.input.classList.add("mp-input-field-error"),document.querySelector('[data-cy="input-label"]').style.setProperty("color","#f23d4f","important")):(this.helper.firstElementChild.style.display="none",document.querySelector('[data-cy="input-label"]').style.setProperty("color","#111111","important"))}createInput(){const t=document.createElement("input");return t.classList.add("mp-yape-input"),t.setAttribute("id","checkout__yapePhoneNumber"),t.setAttribute("maxlength","11"),t.setAttribute("placeholder","Ej.: 872 123 432"),t.setAttribute("aria-hidden","true"),t.setAttribute("data-cy","input-field"),t.setAttribute("name","phoneNumber"),t.setAttribute("required","true"),t.addEventListener("input",(()=>{const e=t.value.replace(/\D/g,"");let n="";for(let t=0;t{t.classList.add("mp-input-field-focus"),t.classList.remove("mp-input-field-error"),this.helper.firstElementChild.style.display="none"})),t.addEventListener("blur",(()=>{this.validate()})),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible","false"),t.setAttribute("message","error"),t.setAttribute("input-id","helper-input-field"),t}}customElements.define("input-field",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createHelper())}createHelper(){const t=document.createElement("div");t.classList.add("mp-helper"),t.setAttribute("id",this.getAttribute("input-id")),t.setAttribute("data-cy","helper-container"),this.validateVisibility(t);const e=this.createIcon(),n=this.getAttribute("message"),i=this.createHelperMessage(n);return t.appendChild(e),t.appendChild(i),t}createIcon(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-helper-icon"),t}createHelperMessage(t){const e=document.createElement("div");return e.innerHTML=t,e.classList.add("mp-helper-message"),e.setAttribute("data-cy","helper-message"),e}validateVisibility(t){let e=this.getAttribute("isVisible");"string"==typeof e&&(e="false"!==e),t.style.display=e?"flex":"none"}}customElements.define("input-helper",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createLabel())}createLabel(){const t=document.createElement("div");t.classList.add("mp-input-label"),t.setAttribute("data-cy","input-label");const e=this.getAttribute("message");t.innerHTML=e;let n=this.getAttribute("isOptional");if("string"==typeof n&&(n="false"!==n),!n){const e=document.createElement("b");e.innerHTML="*",e.style="color: red",t.appendChild(e)}return t}}customElements.define("input-label",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-input-radio-container"),t.appendChild(this.createRadio()),t.appendChild(this.createLabel()),t}createRadio(){const t=document.createElement("input"),e=this.getAttribute("dataRate");return t.classList.add("mp-input-radio-radio"),t.type="radio",t.id=this.getAttribute("identification"),t.name=this.getAttribute("name"),t.value=this.getAttribute("value"),t.setAttribute("data-cy","input-radio"),e&&t.setAttribute("dataRate",e),t}createLabel(){const t=document.createElement("label");return t.classList.add("mp-input-radio-label"),t.htmlFor=this.getAttribute("identification"),t}}customElements.define("input-radio",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-input-select-container"),t.appendChild(this.createLabel()),t.appendChild(this.createInput()),t.appendChild(this.createHelper()),t}createInput(){const t=document.createElement("div");return t.classList.add("mp-input-select-input"),t.appendChild(this.createSelect()),t}createSelect(){const t=document.createElement("select"),e=this.getAttribute("name");t.classList.add("mp-input-select-select"),t.setAttribute("id",e),t.setAttribute("name",e);const n=this.getAttribute("options")&&JSON.parse(this.getAttribute("options"));if(this.getAttribute("default-option")){const e=document.createElement("option");e.setAttribute("selected","selected"),e.setAttribute("hidden","hidden"),e.innerHTML=this.getAttribute("default-option"),t.appendChild(e)}return n&&0!==n.length&&n.forEach((e=>{t.appendChild(this.createOption(e))})),t}createOption(t){const e=document.createElement("option");return e.innerHTML=t.description,e.value=t.id,e}createLabel(){const t=document.createElement("input-label"),e=this.getAttribute("optional");return t.setAttribute("message",this.getAttribute("label")),"false"===e?t.setAttribute("isOptional",e):t.setAttribute("isOptional","true"),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible",!1),t.setAttribute("message",this.getAttribute("helper-message")),t.setAttribute("input-id","mp-doc-number-helper"),t}createHiddenField(t){const e=document.createElement("input");return e.setAttribute("type","hidden"),e.setAttribute("id",t),e}}customElements.define("input-select",t)})(),(()=>{class t extends HTMLElement{static get observedAttributes(){return["columns","name","button-name","bank-interest-text"]}constructor(){super(),this.index=0,this.limit=5,this.offset=this.limit,this.columns=null,this.total=0}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){this.appendChild(this.createContainer())}setColumns(){return this.columns=JSON.parse(this.getAttribute("columns")),this}setTotal(){return this.total=this.columns.length,this}createContainer(){const t=document.createElement("div");return this.setColumns(),this.columns&&(this.setTotal(),t.classList.add("mp-input-table-container"),t.setAttribute("data-cy","input-table-container"),t.appendChild(this.createList()),t.appendChild(this.createBankInterestDisclaimer())),t}createList(){const t=document.createElement("div");t.classList.add("mp-input-table-list"),t.setAttribute("data-cy","input-table-list");const e=this.createLink();return e.onclick=()=>this.appendItems(this.columns,t,e,!0),this.appendItems(this.columns,t,e,!1),t.appendChild(e),t}createItem(t){const e=document.createElement("div");return e.classList.add("mp-input-table-item"),e.appendChild(this.createLabel(t)),e}createLabel(t){const{id:e,value:n,rowText:i,rowObs:a,highlight:s,img:r,alt:c,dataRate:d}=t,l=this.getAttribute("name"),o=document.createElement("div");return o.classList.add("mp-input-table-label"),o.appendChild(this.createOption(e,l,n,i,r,c,d)),a&&o.appendChild(this.createRowObs(a,s)),o.onclick=()=>{document.getElementById(e).checked=!0},o}createOption(t,e,n,i,a,s,r){const c=document.createElement("div");return c.classList.add("mp-input-table-option"),c.appendChild(this.createRadio(t,e,n,r)),a?c.appendChild(this.createRowTextWithImg(i,a,s)):c.appendChild(this.createRowText(i)),c}createRadio(t,e,n,i){const a=document.createElement("input-radio");return a.setAttribute("name",e),a.setAttribute("value",n),a.setAttribute("identification",t),a.setAttribute("dataRate",i),a}createRowText(t){const e=document.createElement("span");return e.classList.add("mp-input-table-row-text"),e.innerHTML=t,e}createRowTextWithImg(t,e,n){const i=document.createElement("span"),a=document.createElement("payment-method-logo");return a.setAttribute("src",e),a.setAttribute("alt",n),a.style.marginRight="10px",i.classList.add("mp-input-table-row-text-image"),i.innerHTML=t,i.appendChild(a),i}createRowObs(t,e){const n=document.createElement("span");return e?n.classList.add("mp-input-table-row-obs-highlight"):n.classList.add("mp-input-table-row-obs"),n.innerHTML=t,n}createLink(){const t=document.createElement("div");t.classList.add("mp-input-table-container-link");const e=document.createElement("a");return e.setAttribute("id","more-options"),e.classList.add("mp-input-table-link"),e.innerHTML=this.getAttribute("button-name"),t.appendChild(e),t}createBankInterestDisclaimer(){const t=document.createElement("div");t.classList.add("mp-input-table-bank-interest-container");const e=document.createElement("p");return e.classList.add("mp-input-table-bank-interest-text"),e.innerText=this.getAttribute("bank-interest-text"),t.appendChild(e),t}appendItems(t,e,n,i){this.validateLimit();for(let a=this.index;a=this.total&&n.style.setProperty("display","none","important"),this.index+=this.offset,this.limit+=this.offset,this.validateLimit()}validateLimit(){this.limit>this.total&&(this.limit=this.total)}}customElements.define("input-table",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-method-logo-slider-container"),t.appendChild(this.createContent()),t}createContent(){const t=JSON.parse(this.getAttribute("methods")),e=document.createElement("div");e.classList.add("mp-payment-method-logo-slider-content"),e.appendChild(this.createImage(t[0]));const n=e.firstChild;return this.createSlider(n,t),e}createImage({src:t,alt:e}){const n=document.createElement("payment-method-logo");return n.setAttribute("src",t),n.setAttribute("alt",e),n}createSlider(t,e,n=0){t.setAttribute("src",e[n].src),t.setAttribute("alt",e[n].alt),n=n{this.createSlider(t,e,n)}),2e3)}}customElements.define("payment-method-logo-slider",t)})(),(()=>{class t extends HTMLElement{static get observedAttributes(){return["src","alt"]}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-method-logo-container"),t.appendChild(this.createImage()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-payment-method-logo-image"),t.alt=this.getAttribute("alt"),t.src=this.getAttribute("src"),t.onerror=t=>t.target?.parentNode?.parentNode?.parentNode?.removeChild(t.target.parentNode.parentNode),t}}customElements.define("payment-method-logo",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-container"),t.appendChild(this.createContent()),t}createContent(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-content"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-payment-methods-v2-title"),t.innerHTML=this.getAttribute("title"),t}createList(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-list"),this.handleMethodsList(t)}handleMethodsList(t){const e=JSON.parse(this.getAttribute("methods"));let n=!1;if(e.forEach(((i,a)=>{a<=9||11===e.length?t.appendChild(this.createLogo(i)):n=!0})),n){const n=Object.entries(e).slice(10).map((t=>t[1]));t.appendChild(this.createSlider(JSON.stringify(n)))}return t}createLogo({src:t,alt:e}){const n=document.createElement("payment-method-logo");return n.setAttribute("src",t),n.setAttribute("alt",e),n}createSlider(t){const e=document.createElement("payment-method-logo-slider");return e.setAttribute("methods",t),e}}customElements.define("payment-methods-v2",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=JSON.parse(this.getAttribute("methods")),e=document.createElement("div");return e.classList.add("mp-payment-methods-container"),t.forEach((t=>{e.appendChild(this.createPaymentMethodType(t))})),e}createPaymentMethodType(t){const{title:e,label:n,payment_methods:i}=t,a=document.createElement("div");return a.classList.add("mp-payment-method-type-container"),i&&0!==i.length&&(a.appendChild(this.createHeader(e,n)),a.appendChild(this.createContent(i))),a}createHeader(t,e){const n=document.createElement("div");return n.classList.add("mp-payment-methods-header"),t&&n.appendChild(this.createTitle(t)),e&&n.appendChild(this.createBadge(e)),n}createTitle(t){const e=document.createElement("p");return e.classList.add("mp-payment-methods-title"),e.innerHTML=t,e}createBadge(t){const e=document.createElement("div"),n=document.createElement("span");return n.classList.add("mp-payment-methods-badge-text"),n.innerHTML=t,e.classList.add("mp-payment-methods-badge"),e.appendChild(n),e}createContent(t){const e=document.createElement("div");return e.classList.add("mp-payment-methods-content"),t.forEach((t=>{e.appendChild(this.createImage(t))})),e}createImage(t){const{src:e,alt:n}=t,i=document.createElement("payment-method-logo");return i.setAttribute("src",e),i.setAttribute("alt",n),i}}customElements.define("payment-methods",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-pix-template-container"),t.setAttribute("data-cy","pix-template-container"),t.appendChild(this.createImage()),t.appendChild(this.createTitle()),t.appendChild(this.createSubtitle()),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-pix-template-title"),t.innerText=this.getAttribute("title"),t}createSubtitle(){const t=document.createElement("p");return t.classList.add("mp-pix-template-subtitle"),t.innerText=this.getAttribute("subtitle"),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-pix-template-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}}customElements.define("pix-template",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-terms-and-conditions-container"),t.setAttribute("data-cy","terms-and-conditions-container"),t.appendChild(this.createText()),t.appendChild(this.createLink()),t}createText(){const t=document.createElement("span");return t.classList.add("mp-terms-and-conditions-text"),t.innerHTML=this.getAttribute("description"),t}createLink(){const t=document.createElement("a");return t.classList.add("mp-terms-and-conditions-link"),t.innerHTML=this.getAttribute("link-text"),t.href=this.getAttribute("link-src"),t.target="blank",t}}customElements.define("terms-and-conditions",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){const t=this.createTestMode(),e=this.createCardHeader(),n=this.createCardContent();t.appendChild(e),t.appendChild(n),this.appendChild(t)}createTestMode(){const t=document.createElement("div");return t.classList.add("mp-test-mode-card"),t.setAttribute("data-cy","test-mode-card"),t}createCardContent(){const t=document.createElement("div");t.classList.add("mp-test-mode-card-content");const e=document.createElement("p");e.innerHTML=this.getAttribute("description"),e.classList.add("mp-test-mode-description"),e.setAttribute("data-cy","test-mode-description"),t.appendChild(e);const n=this.getAttribute("link-text"),i=this.getAttribute("link-src"),a=document.createElement("a");return a.classList.add("mp-test-mode-link"),a.innerHTML=n,a.href=i,a.target="blank",e.appendChild(a),t}createCardHeader(){const t=document.createElement("div");t.classList.add("mp-test-mode-card-content");const e=this.createBadge(),n=this.createTitle();return t.appendChild(e),t.appendChild(n),t}createBadge(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-test-mode-badge"),t}createTitle(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("title"),t.classList.add("mp-test-mode-title"),t.setAttribute("data-cy","test-mode-title"),t}}customElements.define("test-mode",t)})();
\ No newline at end of file
+(()=>{class t extends HTMLElement{static get observedAttributes(){return["title","description","retryButtonText"]}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){const t=this.createAlertDetails(),e=this.createCardContent();t.appendChild(e),this.appendChild(t)}createAlertDetails(){const t=document.createElement("div");return t.classList.add("mp-alert-details-card"),t}createCardContent(){const t=document.createElement("div");t.classList.add("mp-alert-details-card-content");const e=document.createElement("div");e.classList.add("mp-alert-details-card-content-left");const n=document.createElement("div");n.classList.add("mp-alert-details-card-content-right"),t.appendChild(e),t.appendChild(n);const i=this.createBadge(),a=this.createTitle(),s=this.createDescription(),r=this.createRetryButton();return e.appendChild(i),n.appendChild(a),n.appendChild(s),n.appendChild(r),t}createBadge(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-alert-details-badge"),t}createTitle(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("title"),t.classList.add("mp-alert-details-title"),t}createDescription(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("description"),t.classList.add("mp-alert-details-description"),t}createRetryButton(){const t=this.getAttribute("retryButtonText"),e=document.createElement("button");return e.classList.add("mp-alert-details-retry-button"),e.innerHTML=t,e.onclick=()=>document.location.reload(),e}}customElements.define("alert-details",t)})(),(()=>{class t extends HTMLElement{tabNumber=1;connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-benefits-list-container"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");t.classList.add("mp-checkout-benefits-list-title"),t.innerHTML=this.getAttribute("title"),t.tabIndex=this.tabNumber,this.tabNumber++;const e=this.getAttribute("title-align");return"center"===e&&t.style.setProperty("text-align","center","important"),"left"===e&&t.style.setProperty("text-align","left","important"),t}createList(){const t=JSON.parse(this.getAttribute("items")),e=document.createElement("div");return e.classList.add("mp-checkout-benefits-list"),t.forEach(((t,n)=>{e.appendChild(this.createItem(t,n))})),e}createItem(t,e){const n=document.createElement("div");return n.classList.add("mp-checkout-benefits-list-item"),n.appendChild(this.createCountItem(e)),n.appendChild(this.createSimpleText(t)),n}createSimpleText(t){const e=document.createElement("span");return e.innerHTML=t,e.tabIndex=this.tabNumber,this.tabNumber++,e}createCountItem(t){const e=document.createElement("p");return e.innerText=1+t+".",e.classList.add("mp-checkout-benefits-list-count-list-item"),e}}customElements.define("checkout-benefits-list",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-benefits-container"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");t.classList.add("mp-checkout-benefits-title"),t.innerHTML=this.getAttribute("title");const e=this.getAttribute("title-align");return"center"===e&&t.style.setProperty("text-align","center","important"),"left"===e&&t.style.setProperty("text-align","left","important"),t}createList(){const t=JSON.parse(this.getAttribute("items")),e=document.createElement("div");return e.classList.add("mp-checkout-benefits-container-list"),t.forEach(((t,n)=>{e.appendChild(this.createItem(t,n))})),e}createItem(t,e){const n=document.createElement("div");n.classList.add("mp-checkout-benefits-item");const i=this.getAttribute("list-mode");return"count"===i?(n.appendChild(this.createCountList(e)),n.appendChild(this.createSimpleText(t)),n):"bullet"===i?(n.appendChild(this.createBulletList()),n.appendChild(this.createSimpleText(t)),n):"image"===i&&"object"==typeof t?(n.appendChild(this.createImageList(t)),n.appendChild(this.createCompositeText(t)),n):n}createSimpleText(t){const e=document.createElement("span");return e.innerHTML=t,e}createCompositeText({title:t,subtitle:e}){const n=document.createElement("p");n.classList.add("mp-checkout-benefits-item-title"),n.innerHTML=t;const i=document.createElement("p");i.classList.add("mp-checkout-benefits-item-subtitle"),i.innerHTML=e;const a=document.createElement("span");return a.appendChild(n),a.appendChild(i),a}createCountList(t){const e=document.createElement("p");e.innerText=1+t,e.classList.add("mp-checkout-benefits-count-list-item");const n=document.createElement("div");return n.classList.add("mp-checkout-benefits-count-list-div"),n.appendChild(e),n}createBulletList(){const t=document.createElement("div");t.classList.add("mp-checkout-benefits-tick-mark-container");const e=document.createElement("div");return e.classList.add("mp-checkout-benefits-tick-mark"),t.appendChild(e),t}createImageList({image:t}){const e=document.createElement("div");return e.classList.add("mp-checkout-benefits-image-list"),e.appendChild(this.createImage(t)),e}createImage({src:t,alt:e}){const n=document.createElement("img");return n.classList.add("mp-checkout-benefits-image"),n.setAttribute("src",t),n.setAttribute("alt",e),n}}customElements.define("checkout-benefits",t)})(),(()=>{class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.render()}render(){const t=document.createElement("div");t.classList.add("mp-info-notification");const e=document.createElement("div");e.classList.add("content");const n=document.createElement("img");n.src=this.getAttribute("src"),n.alt="Icone de informação",n.classList.add("icon");const i=document.createElement("div");i.classList.add("message"),i.textContent=this.getAttribute("message")||"Mensagem de informação",e.appendChild(n),e.appendChild(i),t.appendChild(e);const a=document.createElement("div");a.classList.add("footer");const s=document.createElement("img");s.src=this.getAttribute("icon"),s.alt="Footer Icon",s.classList.add("footer-icon"),a.appendChild(s),a.appendChild(document.createTextNode(this.getAttribute("footer-text")||"Procesado por Mercado Pago")),this.shadowRoot.append(t),this.shadowRoot.append(a),this.applyStyles()}applyStyles(){const t=document.createElement("style");t.textContent="\n .mp-info-notification {\n display: flex !important;\n flex-direction: column !important;\n padding: 12px !important;\n background-color: #f7f7f7 !important;\n border-radius: 8px !important;\n border-left: 4px solid #009ee3 !important;\n margin-bottom: 16px !important;\n }\n\n .content {\n display: flex !important;\n align-items: center !important;\n }\n\n .icon {\n max-width: 16px !important;\n max-height: 16px !important;\n margin-right: 8px !important;\n }\n\n @media (max-width: 600px) {\n .icon {\n margin-bottom: 15px !important;\n }\n }\n\n @media (max-width: 300px) {\n .icon {\n margin-bottom: 35px !important;\n }\n }\n\n .message {\n flex-grow: 1 !important;\n color: #333 !important;\n padding: 10px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 14px !important;\n font-weight: 400 !important;\n line-height: 18px !important;\n text-align: left !important;\n }\n\n .footer {\n display: flex !important;\n align-items: center !important;\n color: #999 !important;\n margin-top: 24px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 15px !important;\n text-align: left !important;\n }\n\n .footer-icon {\n max-width: 20px !important;\n margin-right: 8px !important;\n }\n ",this.shadowRoot.appendChild(t)}}customElements.define("checkout-notice",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v2-container"),t.setAttribute("data-cy","checkout-redirect-v2-container"),t.appendChild(this.createImage()),t.appendChild(this.createText()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-v2-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createText(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v2-text"),t.innerHTML=this.getAttribute("text"),t}}customElements.define("checkout-redirect-v2",t)})(),(()=>{class t extends HTMLElement{tabNumber=5;connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v3-container"),t.setAttribute("data-cy","checkout-redirect-v3-container"),t.appendChild(this.createTitleContainer()),t.appendChild(this.createDescription()),t}createTitleContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-v3-title-container"),t.appendChild(this.createMPLogoImage()),t.appendChild(this.createTitle()),t}createMPLogoImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-v3-mp-logo-image"),t.setAttribute("aria-hidden","true"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v3-title"),t.innerHTML=this.getAttribute("title"),t.tabIndex=this.tabNumber,this.tabNumber++,t}createDescription(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-v3-description"),t.innerHTML=this.getAttribute("description"),t.tabIndex=this.tabNumber,this.tabNumber++,t}}customElements.define("checkout-redirect-v3",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-checkout-redirect-container"),t.setAttribute("data-cy","checkout-redirect-container"),t.appendChild(this.createImage()),t.appendChild(this.createText()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-checkout-redirect-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}createText(){const t=document.createElement("p");return t.classList.add("mp-checkout-redirect-text"),t.innerHTML=this.getAttribute("text"),t}}customElements.define("checkout-redirect",t)})(),(()=>{class t extends HTMLElement{helper=this.createHelper();inputContainer=this.createInputContainer();connectedCallback(){this.build()}build(){const t=document.createElement("div");t.classList.add("mp-yape-input-code-container");const e=document.createElement("div");e.classList.add("mp-yape-label-container");const n=document.createElement("label");n.setAttribute("id","yape-input-code-label"),n.textContent=this.getAttribute("label")||"Código de aprobación";const i=document.createElement("div");i.classList.add("mp-yape-icon-wrapper");const a=document.createElement("img");a.src=this.getAttribute("src"),a.alt="Icone de ajuda",a.classList.add("mp-yape-icon");const s=document.createElement("div");s.classList.add("mp-yape-tooltip"),s.textContent=this.getAttribute("tooltip-text")||"Encuéntralo en el menú de la app de Yape.",i.appendChild(a),i.appendChild(s),e.appendChild(n),e.appendChild(i),t.appendChild(e),this.inputs=[];for(let t=0;t<6;t+=1){const e=document.createElement("input");e.type="text",e.maxLength="1",e.classList.add("mp-yape-code-input"),e.setAttribute("input-index",t),this.inputs.push(e),e.addEventListener("input",(e=>{/\d/.test(e.target.value)?1===e.target.value.length&&t<5&&this.inputs[t+1].focus():e.target.value="",this.updateClassesOnInput()})),e.addEventListener("keydown",(t=>{const e=parseInt(t.target.getAttribute("input-index"));"ArrowLeft"===t.key&&e>0?this.inputs[e-1].focus():"ArrowRight"===t.key&&e<5?this.inputs[e+1].focus():"Backspace"===t.key&&e>0&&!t.target.value&&this.inputs[e-1].focus()})),0===t&&e.addEventListener("paste",(t=>this.handlePaste(t))),e.addEventListener("focus",(()=>{e.classList.add("mp-input-code-focus"),e.classList.remove("mp-input-code-error"),this.helper.firstElementChild.style.display="none",document.getElementById("yape-input-code-label").style.color="#111111"})),e.addEventListener("blur",(()=>{setTimeout((()=>{this.validate()}),100)})),this.inputContainer.appendChild(e)}t.appendChild(this.inputContainer),this.appendChild(t),this.appendChild(this.helper),this.applyStyles()}validate(){this.checkForErrors(this.helper,this.inputContainer)}handlePaste(t){if(t.preventDefault(),!Array.isArray(this.inputs))return;const e=((t.clipboardData||window.clipboardData).getData("text")||"").split("").filter((t=>/\d/.test(t)));e.length>0&&e.forEach(((t,e)=>{e{t.classList.remove("mp-input-code-error"),t.classList.add("mp-input-code-focus")}))}checkForErrors(t,e){const n=e.querySelectorAll("input"),i=Array.from(n).every((t=>""!==t.value)),a=Array.from(n).some((t=>""!==t.value));document.activeElement.classList.contains("mp-yape-code-input")||i||(n.forEach((t=>t.classList.add("mp-input-code-error"))),t.firstElementChild.style.display="flex",document.getElementById("yape-input-code-label").style.color="#f23d4f",document.getElementById("helper-approval-code").childNodes[1].innerHTML=a?document.querySelector("input-code").getAttribute("invalid-error-message"):document.querySelector("input-code").getAttribute("empty-error-message"))}applyStyles(){const t=document.createElement("style");t.textContent="\n .mp-yape-input-code-container {\n display: flex !important;\n flex-direction: column !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n }\n\n .mp-yape-label-container {\n display: flex !important;\n align-items: flex-start !important;\n margin-bottom: -8px !important;\n font-style: normal !important;\n font-weight: 400 !important;\n height: 30px !important;\n line-height: 18px !important;\n font-size: 14px !important;\n padding-left: 6px !important\n }\n\n .mp-yape-icon-wrapper {\n position: relative !important;\n display: flex !important;\n align-items: center !important;\n }\n\n .mp-yape-icon {\n max-width: 20px !important;\n margin-left: 4px !important;\n cursor: pointer !important;\n }\n\n .mp-yape-tooltip {\n display: none !important;\n position: absolute !important;\n top: -55px !important;\n left: 50% !important;\n transform: translateX(-50%) !important;\n background-color: white !important;\n padding: 8px !important;\n border-radius: 8px !important;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;\n z-index: 100 !important;\n white-space: nowrap !important;\n pointer-events: none !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-size: 14px !important;\n font-weight: 400 !important;\n line-height: 28px !important;\n text-align: left !important;\n\n }\n\n .mp-yape-tooltip::after {\n content: \"\";\n position: absolute;\n bottom: -8px;\n left: 51%;\n transform: translateX(-70%);\n border-width: 8px 8px 0 8px;\n border-style: solid;\n z-index: 101;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n clip-path: polygon(100% 0%, 0% 0%, 50% 100%);\n color: white;\n }\n\n .mp-yape-icon-wrapper:hover .mp-yape-tooltip {\n display: block !important;\n }\n\n .mp-yape-input-container {\n display: flex !important;\n gap: 8px !important;\n }\n\n .mp-yape-code-input {\n width: 38px !important;\n height: 53px !important;\n text-align: center !important;\n font-size: 24px !important;\n border: 1px solid #ccc !important;\n border-radius: 4px !important;\n font-size: 16px !important;\n line-height: 20px !important;\n font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;\n font-weight: 400 !important;\n }\n\n .mp-yape-code-input:nth-child(4) {\n margin-left: 10px !important;\n }\n\n .mp-input-code-focus {\n border: 1px solid #7f54b3 !important;\n }\n\n .mp-input-code-error {\n border: 1px solid #f23d4f !important;\n }\n ",this.appendChild(t)}createInputContainer(){const t=document.createElement("div");return t.classList.add("mp-yape-input-container"),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible",!1),t.setAttribute("message","error"),t.setAttribute("input-id","helper-approval-code"),t}}customElements.define("input-code",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){const t=this.createInputDocument();this.appendChild(t)}createInputDocument(){const t=document.createElement("div");t.classList.add("mp-input-document"),t.setAttribute("data-cy","input-document-container");const e=this.createLabel(this.getAttribute("label-message")),n=this.createHelper(this.getAttribute("helper-empty")),i=this.createHiddenField(this.getAttribute("hidden-id")),a=this.createInput(n,i);return t.appendChild(e),t.appendChild(a),t.appendChild(i),t.appendChild(n),t}createLabel(t){const e=document.createElement("input-label");return e.setAttribute("message",t),e.setAttribute("isOptional","false"),e}createInput(t,e){const n=document.createElement("div");n.classList.add("mp-input"),n.setAttribute("id","form-checkout__identificationNumber-container");const i=JSON.parse(this.getAttribute("documents")),a=this.getAttribute("validate"),s=this.createVerticalLine(),r=this.createSelect(n,t,i,a),c=this.createDocument(n,r,t);return r.addEventListener("change",(()=>{n.classList.remove("mp-focus"),n.classList.remove("mp-error"),this.setInpuProperties(r,c),this.setMaskInputDocument(r,c,e)})),n.appendChild(r),n.appendChild(s),n.appendChild(c),this.setMaskInputDocument(r,c,e),n}setInpuProperties(t,e){"CPF"===t.value?(e.value="",e.setAttribute("maxlength","14"),e.setAttribute("placeholder","999.999.999-99")):"CNPJ"===t.value?(e.value="",e.setAttribute("maxlength","18"),e.setAttribute("placeholder","99.999.999/0001-99")):"CI"===t.value?(e.value="",e.setAttribute("maxlength","8"),e.setAttribute("placeholder","99999999")):(e.value="",e.setAttribute("maxlength","20"),e.setAttribute("placeholder",""))}createSelect(t,e,n,i){const a=document.createElement("select");return a.classList.add("mp-document-select"),a.setAttribute("name",this.getAttribute("select-name")),a.setAttribute("id",this.getAttribute("select-id")),a.setAttribute("data-checkout",this.getAttribute("select-data-checkout")),a.setAttribute("data-cy","select-document"),n&&n.forEach((t=>{this.createOption(a,t)})),i&&(a.addEventListener("focus",(()=>{t.classList.add("mp-focus"),e.firstElementChild.style.display="none"})),a.addEventListener("focusout",(()=>{t.classList.remove("mp-focus"),e.firstElementChild.style.display="none"}))),a}createOption(t,e){const n=document.createElement("option");n.innerHTML=e,n.value=e,t.appendChild(n)}createHiddenField(t){const e=document.createElement("input");return e.setAttribute("type","hidden"),e.setAttribute("id",t),e}createVerticalLine(){const t=document.createElement("div");return t.classList.add("mp-vertical-line"),t}isValidCPF(t,e){if("string"!=typeof t)return!1;if(!(t=t.replace(/[\s.-]*/gim,""))||0===t.length)return this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1;if("00000000000"===t||"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t)return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;if(0===parseInt(t,10))return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;if(!t||11!==t.length)return this.updateHelperErrorMessage(e,this.getAttribute("helper-invalid")),!1;let n,i=0;for(let e=1;e<=9;e+=1)i+=parseInt(t.substring(e-1,e))*(11-e);if(n=10*i%11,10!==n&&11!==n||(n=0),n!==parseInt(t.substring(9,10)))return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;i=0;for(let e=1;e<=10;e+=1)i+=parseInt(t.substring(e-1,e))*(12-e);return n=10*i%11,10!==n&&11!==n||(n=0),n===parseInt(t.substring(10,11))||(this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1)}isValidCNPJ(t,e){if(""===(t=t.replace(/[^\d]+/g,"")))return this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1;if("00000000000000"===t||"11111111111111"===t||"22222222222222"===t||"33333333333333"===t||"44444444444444"===t||"55555555555555"===t||"66666666666666"===t||"77777777777777"===t||"88888888888888"===t||"99999999999999"===t)return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;if(0===parseInt(t,10))return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;if(14!==t.length)return this.updateHelperErrorMessage(e,this.getAttribute("helper-invalid")),!1;let n=t.length-2,i=t.substring(0,n);const a=t.substring(n);let s=0,r=n-7;for(let t=n;t>=1;t-=1)s+=i.charAt(n-t)*r--,r<2&&(r=9);let c=s%11<2?0:11-s%11;if(c!==Number(a.charAt(0)))return this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1;n+=1,i=t.substring(0,n),s=0,r=n-7;for(let t=n;t>=1;t-=1)s+=i.charAt(n-t)*r--,r<2&&(r=9);return c=s%11<2?0:11-s%11,c===Number(a.charAt(1))||(this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1)}isValidCI(t,e){if("string"!=typeof t||0===t.length)return this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1;let n=0,i=0,a=0;const s=t[t.length-1];if(t.length<=6)for(i=t.length;i<7;i+=1)t=`0${t}`;for(i=0;i<7;i+=1)n+=parseInt("2987634"[i],10)*parseInt(t[i],10)%10;return a=n%10==0?0:10-n%10,s===a.toString()||(this.updateHelperErrorMessage(e,this.getAttribute("helper-wrong")),!1)}isValidCC(t,e){return"string"==typeof t&&0!==t.length||(this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1)}isValidCE(t,e){return"string"==typeof t&&0!==t.length||(this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1)}isValidNIT(t,e){return"string"==typeof t&&0!==t.length||(this.updateHelperErrorMessage(e,this.getAttribute("helper-empty")),!1)}setMaskInputDocument(t,e,n){const i={CPF:t=>t.replace(/\D+/g,"").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1"),CNPJ:t=>t.replace(/\D+/g,"").replace(/(\d{2})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1/$2").replace(/(\d{4})(\d)/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1"),CI:t=>t.replace(/\D+/g,"")};e.addEventListener("input",(e=>{if(void 0!==i[t.value]&&(e.target.value=i[t.value](e.target.value)),n){const t=e.target.value.replace(/[^\w\s]/gi,"");n.value=t}}))}createDocument(t,e,n){const i=document.createElement("input");return i.setAttribute("name",this.getAttribute("input-name")),i.setAttribute("data-checkout",this.getAttribute("input-data-checkout")),i.setAttribute("data-cy","input-document"),i.classList.add("mp-document"),i.type="text",i.inputMode="text",this.setInpuProperties(e,i),i.addEventListener("focus",(()=>{t.classList.add("mp-focus"),t.classList.remove("mp-error"),n.firstElementChild.style.display="none",i.setAttribute("name",this.getAttribute("input-name"))})),i.addEventListener("focusout",(()=>{t.classList.remove("mp-focus");const a={CPF:t=>this.isValidCPF(t,n),CNPJ:t=>this.isValidCNPJ(t,n),CI:t=>this.isValidCI(t,n),CC:t=>this.isValidCC(t,n),CE:t=>this.isValidCE(t,n),NIT:t=>this.isValidNIT(t,n)};void 0!==a[e.value]&&(a[e.value](i.value)?(t.classList.remove("mp-error"),n.firstElementChild.style.display="none",i.setAttribute("name",this.getAttribute("input-name"))):(t.classList.add("mp-error"),n.firstElementChild.style.display="flex",i.setAttribute("name",this.getAttribute("flag-error"))))})),i}updateHelperErrorMessage(t,e){t.setAttribute("message",e),t.querySelector(".mp-helper-message").innerHTML=e}createHelper(t){const e=document.createElement("input-helper");return e.setAttribute("isVisible",!1),e.setAttribute("message",t),e.setAttribute("input-id","mp-doc-number-helper"),e}}customElements.define("input-document",t)})(),(()=>{class t extends HTMLElement{helper=this.createHelper();input=this.createInput();connectedCallback(){this.build()}build(){const t=this.createInputField();this.appendChild(t)}createInputField(){const t=document.createElement("div");t.classList.add("mp-yape-input-field"),t.setAttribute("data-cy","input-field-container");const e=this.createLabel(this.getAttribute("label-message"));return t.appendChild(e),t.appendChild(this.input),t.appendChild(this.helper),t}createLabel(t){const e=document.createElement("input-label");return e.setAttribute("message",t),e.setAttribute("isOptional","true"),e}validate(){""===this.input.value?(this.helper.firstElementChild.style.display="flex",document.getElementById("helper-input-field").childNodes[1].innerHTML=document.querySelector("input-field").getAttribute("empty-error-message"),this.input.classList.add("mp-input-field-error"),document.querySelector('[data-cy="input-label"]').style.setProperty("color","#f23d4f","important")):this.input.value.length<11?(this.helper.firstElementChild.style.display="flex",document.getElementById("helper-input-field").childNodes[1].innerHTML=document.querySelector("input-field").getAttribute("invalid-error-message"),this.input.classList.add("mp-input-field-error"),document.querySelector('[data-cy="input-label"]').style.setProperty("color","#f23d4f","important")):(this.helper.firstElementChild.style.display="none",document.querySelector('[data-cy="input-label"]').style.setProperty("color","#111111","important"))}createInput(){const t=document.createElement("input");return t.classList.add("mp-yape-input"),t.setAttribute("id","checkout__yapePhoneNumber"),t.setAttribute("maxlength","11"),t.setAttribute("placeholder","Ej.: 872 123 432"),t.setAttribute("aria-hidden","true"),t.setAttribute("data-cy","input-field"),t.setAttribute("name","phoneNumber"),t.setAttribute("required","true"),t.addEventListener("input",(()=>{const e=t.value.replace(/\D/g,"");let n="";for(let t=0;t{t.classList.add("mp-input-field-focus"),t.classList.remove("mp-input-field-error"),this.helper.firstElementChild.style.display="none"})),t.addEventListener("blur",(()=>{this.validate()})),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible","false"),t.setAttribute("message","error"),t.setAttribute("input-id","helper-input-field"),t}}customElements.define("input-field",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createHelper())}createHelper(){const t=document.createElement("div");t.classList.add("mp-helper"),t.setAttribute("id",this.getAttribute("input-id")),t.setAttribute("data-cy","helper-container"),this.validateVisibility(t);const e=this.createIcon(),n=this.getAttribute("message"),i=this.createHelperMessage(n);return t.appendChild(e),t.appendChild(i),t}createIcon(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-helper-icon"),t}createHelperMessage(t){const e=document.createElement("div");return e.innerHTML=t,e.classList.add("mp-helper-message"),e.setAttribute("data-cy","helper-message"),e}validateVisibility(t){let e=this.getAttribute("isVisible");"string"==typeof e&&(e="false"!==e),t.style.display=e?"flex":"none"}}customElements.define("input-helper",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createLabel())}createLabel(){const t=document.createElement("div");t.classList.add("mp-input-label"),t.setAttribute("data-cy","input-label");const e=this.getAttribute("message");t.innerHTML=e;let n=this.getAttribute("isOptional");if("string"==typeof n&&(n="false"!==n),!n){const e=document.createElement("b");e.innerHTML="*",e.style="color: red",t.appendChild(e)}return t}}customElements.define("input-label",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-input-radio-container"),t.appendChild(this.createRadio()),t.appendChild(this.createLabel()),t}createRadio(){const t=document.createElement("input"),e=this.getAttribute("dataRate");return t.classList.add("mp-input-radio-radio"),t.type="radio",t.id=this.getAttribute("identification"),t.name=this.getAttribute("name"),t.value=this.getAttribute("value"),t.setAttribute("data-cy","input-radio"),e&&t.setAttribute("dataRate",e),t}createLabel(){const t=document.createElement("label");return t.classList.add("mp-input-radio-label"),t.htmlFor=this.getAttribute("identification"),t}}customElements.define("input-radio",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-input-select-container"),t.appendChild(this.createLabel()),t.appendChild(this.createInput()),t.appendChild(this.createHelper()),t}createInput(){const t=document.createElement("div");return t.classList.add("mp-input-select-input"),t.appendChild(this.createSelect()),t}createSelect(){const t=document.createElement("select"),e=this.getAttribute("name");t.classList.add("mp-input-select-select"),t.setAttribute("id",e),t.setAttribute("name",e);const n=this.getAttribute("options")&&JSON.parse(this.getAttribute("options"));if(this.getAttribute("default-option")){const e=document.createElement("option");e.setAttribute("selected","selected"),e.setAttribute("hidden","hidden"),e.innerHTML=this.getAttribute("default-option"),t.appendChild(e)}return n&&0!==n.length&&n.forEach((e=>{t.appendChild(this.createOption(e))})),t}createOption(t){const e=document.createElement("option");return e.innerHTML=t.description,e.value=t.id,e}createLabel(){const t=document.createElement("input-label"),e=this.getAttribute("optional");return t.setAttribute("message",this.getAttribute("label")),"false"===e?t.setAttribute("isOptional",e):t.setAttribute("isOptional","true"),t}createHelper(){const t=document.createElement("input-helper");return t.setAttribute("isVisible",!1),t.setAttribute("message",this.getAttribute("helper-message")),t.setAttribute("input-id","mp-doc-number-helper"),t}createHiddenField(t){const e=document.createElement("input");return e.setAttribute("type","hidden"),e.setAttribute("id",t),e}}customElements.define("input-select",t)})(),(()=>{class t extends HTMLElement{static get observedAttributes(){return["columns","name","button-name","bank-interest-text"]}constructor(){super(),this.index=0,this.limit=5,this.offset=this.limit,this.columns=null,this.total=0}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){this.appendChild(this.createContainer())}setColumns(){return this.columns=JSON.parse(this.getAttribute("columns")),this}setTotal(){return this.total=this.columns.length,this}createContainer(){const t=document.createElement("div");return this.setColumns(),this.columns&&(this.setTotal(),t.classList.add("mp-input-table-container"),t.setAttribute("data-cy","input-table-container"),t.appendChild(this.createList()),t.appendChild(this.createBankInterestDisclaimer())),t}createList(){const t=document.createElement("div");t.classList.add("mp-input-table-list"),t.setAttribute("data-cy","input-table-list");const e=this.createLink();return e.onclick=()=>this.appendItems(this.columns,t,e,!0),this.appendItems(this.columns,t,e,!1),t.appendChild(e),t}createItem(t){const e=document.createElement("div");return e.classList.add("mp-input-table-item"),e.appendChild(this.createLabel(t)),e}createLabel(t){const{id:e,value:n,rowText:i,rowObs:a,highlight:s,img:r,alt:c,dataRate:d}=t,l=this.getAttribute("name"),o=document.createElement("div");return o.classList.add("mp-input-table-label"),o.appendChild(this.createOption(e,l,n,i,r,c,d)),a&&o.appendChild(this.createRowObs(a,s)),o.onclick=()=>{document.getElementById(e).checked=!0},o}createOption(t,e,n,i,a,s,r){const c=document.createElement("div");return c.classList.add("mp-input-table-option"),c.appendChild(this.createRadio(t,e,n,r)),a?c.appendChild(this.createRowTextWithImg(i,a,s)):c.appendChild(this.createRowText(i)),c}createRadio(t,e,n,i){const a=document.createElement("input-radio");return a.setAttribute("name",e),a.setAttribute("value",n),a.setAttribute("identification",t),a.setAttribute("dataRate",i),a}createRowText(t){const e=document.createElement("span");return e.classList.add("mp-input-table-row-text"),e.innerHTML=t,e}createRowTextWithImg(t,e,n){const i=document.createElement("span"),a=document.createElement("payment-method-logo");return a.setAttribute("src",e),a.setAttribute("alt",n),a.style.marginRight="10px",i.classList.add("mp-input-table-row-text-image"),i.innerHTML=t,i.appendChild(a),i}createRowObs(t,e){const n=document.createElement("span");return e?n.classList.add("mp-input-table-row-obs-highlight"):n.classList.add("mp-input-table-row-obs"),n.innerHTML=t,n}createLink(){const t=document.createElement("div");t.classList.add("mp-input-table-container-link");const e=document.createElement("a");return e.setAttribute("id","more-options"),e.classList.add("mp-input-table-link"),e.innerHTML=this.getAttribute("button-name"),t.appendChild(e),t}createBankInterestDisclaimer(){const t=document.createElement("div");t.classList.add("mp-input-table-bank-interest-container");const e=document.createElement("p");return e.classList.add("mp-input-table-bank-interest-text"),e.innerText=this.getAttribute("bank-interest-text"),t.appendChild(e),t}appendItems(t,e,n,i){this.validateLimit();for(let a=this.index;a=this.total&&n.style.setProperty("display","none","important"),this.index+=this.offset,this.limit+=this.offset,this.validateLimit()}validateLimit(){this.limit>this.total&&(this.limit=this.total)}}customElements.define("input-table",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-method-logo-slider-container"),t.appendChild(this.createContent()),t}createContent(){const t=JSON.parse(this.getAttribute("methods")),e=document.createElement("div");e.classList.add("mp-payment-method-logo-slider-content"),e.appendChild(this.createImage(t[0]));const n=e.firstChild;return this.createSlider(n,t),e}createImage({src:t,alt:e}){const n=document.createElement("payment-method-logo");return n.setAttribute("src",t),n.setAttribute("alt",e),n}createSlider(t,e,n=0){t.setAttribute("src",e[n].src),t.setAttribute("alt",e[n].alt),n=n{this.createSlider(t,e,n)}),2e3)}}customElements.define("payment-method-logo-slider",t)})(),(()=>{class t extends HTMLElement{static get observedAttributes(){return["src","alt"]}connectedCallback(){this.build()}attributeChangedCallback(){this.firstElementChild&&(this.removeChild(this.firstElementChild),this.build())}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-method-logo-container"),t.appendChild(this.createImage()),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-payment-method-logo-image"),t.alt=this.getAttribute("alt"),t.src=this.getAttribute("src"),t.onerror=t=>t.target?.parentNode?.parentNode?.parentNode?.removeChild(t.target.parentNode.parentNode),t}}customElements.define("payment-method-logo",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-container"),t.appendChild(this.createContent()),t}createContent(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-content"),t.appendChild(this.createTitle()),t.appendChild(this.createList()),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-payment-methods-v2-title"),t.innerHTML=this.getAttribute("title"),t}createList(){const t=document.createElement("div");return t.classList.add("mp-payment-methods-v2-list"),this.handleMethodsList(t)}handleMethodsList(t){const e=JSON.parse(this.getAttribute("methods"));let n=!1;if(e.forEach(((i,a)=>{a<=9||11===e.length?t.appendChild(this.createLogo(i)):n=!0})),n){const n=Object.entries(e).slice(10).map((t=>t[1]));t.appendChild(this.createSlider(JSON.stringify(n)))}return t}createLogo({src:t,alt:e}){const n=document.createElement("payment-method-logo");return n.setAttribute("src",t),n.setAttribute("alt",e),n}createSlider(t){const e=document.createElement("payment-method-logo-slider");return e.setAttribute("methods",t),e}}customElements.define("payment-methods-v2",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=JSON.parse(this.getAttribute("methods")),e=document.createElement("div");return e.classList.add("mp-payment-methods-container"),t.forEach((t=>{e.appendChild(this.createPaymentMethodType(t))})),e}createPaymentMethodType(t){const{title:e,label:n,payment_methods:i}=t,a=document.createElement("div");return a.classList.add("mp-payment-method-type-container"),i&&0!==i.length&&(a.appendChild(this.createHeader(e,n)),a.appendChild(this.createContent(i))),a}createHeader(t,e){const n=document.createElement("div");return n.classList.add("mp-payment-methods-header"),t&&n.appendChild(this.createTitle(t)),e&&n.appendChild(this.createBadge(e)),n}createTitle(t){const e=document.createElement("p");return e.classList.add("mp-payment-methods-title"),e.innerHTML=t,e}createBadge(t){const e=document.createElement("div"),n=document.createElement("span");return n.classList.add("mp-payment-methods-badge-text"),n.innerHTML=t,e.classList.add("mp-payment-methods-badge"),e.appendChild(n),e}createContent(t){const e=document.createElement("div");return e.classList.add("mp-payment-methods-content"),t.forEach((t=>{e.appendChild(this.createImage(t))})),e}createImage(t){const{src:e,alt:n}=t,i=document.createElement("payment-method-logo");return i.setAttribute("src",e),i.setAttribute("alt",n),i}}customElements.define("payment-methods",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-pix-template-container"),t.setAttribute("data-cy","pix-template-container"),t.appendChild(this.createImage()),t.appendChild(this.createTitle()),t.appendChild(this.createSubtitle()),t}createTitle(){const t=document.createElement("p");return t.classList.add("mp-pix-template-title"),t.innerText=this.getAttribute("title"),t}createSubtitle(){const t=document.createElement("p");return t.classList.add("mp-pix-template-subtitle"),t.innerText=this.getAttribute("subtitle"),t}createImage(){const t=document.createElement("img");return t.classList.add("mp-pix-template-image"),t.src=this.getAttribute("src"),t.alt=this.getAttribute("alt"),t}}customElements.define("pix-template",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){this.appendChild(this.createContainer())}createContainer(){const t=document.createElement("div");return t.classList.add("mp-terms-and-conditions-container"),t.setAttribute("data-cy","terms-and-conditions-container"),t.appendChild(this.createText()),t.appendChild(this.createLink()),t}createText(){const t=document.createElement("span");return t.classList.add("mp-terms-and-conditions-text"),t.innerHTML=this.getAttribute("description"),t}createLink(){const t=document.createElement("a");return t.classList.add("mp-terms-and-conditions-link"),t.innerHTML=this.getAttribute("link-text"),t.href=this.getAttribute("link-src"),t.target="blank",t}}customElements.define("terms-and-conditions",t)})(),(()=>{class t extends HTMLElement{connectedCallback(){this.build()}build(){const t=this.createTestMode(),e=this.createCardHeader(),n=this.createCardContent();t.appendChild(e),t.appendChild(n),this.appendChild(t)}createTestMode(){const t=document.createElement("div");return t.classList.add("mp-test-mode-card"),t.setAttribute("data-cy","test-mode-card"),t}createCardContent(){const t=document.createElement("div");t.classList.add("mp-test-mode-card-content");const e=document.createElement("p");e.innerHTML=this.getAttribute("description"),e.classList.add("mp-test-mode-description"),e.setAttribute("data-cy","test-mode-description"),t.appendChild(e);const n=this.getAttribute("link-text"),i=this.getAttribute("link-src"),a=document.createElement("a");return a.classList.add("mp-test-mode-link"),a.innerHTML=n,a.href=i,a.target="blank",e.appendChild(a),t}createCardHeader(){const t=document.createElement("div");t.classList.add("mp-test-mode-card-content");const e=this.createBadge(),n=this.createTitle();return t.appendChild(e),t.appendChild(n),t}createBadge(){const t=document.createElement("div");return t.innerHTML="!",t.classList.add("mp-test-mode-badge"),t}createTitle(){const t=document.createElement("p");return t.innerHTML=this.getAttribute("title"),t.classList.add("mp-test-mode-title"),t.setAttribute("data-cy","test-mode-title"),t}}customElements.define("test-mode",t)})();
\ No newline at end of file
diff --git a/assets/js/checkouts/ticket/mp-ticket-checkout.js b/assets/js/checkouts/ticket/mp-ticket-checkout.js
index f3a6bea86..32ed4dbe0 100644
--- a/assets/js/checkouts/ticket/mp-ticket-checkout.js
+++ b/assets/js/checkouts/ticket/mp-ticket-checkout.js
@@ -1,104 +1,393 @@
-/* jshint es3: false */
/* globals wc_mercadopago_ticket_checkout_params, CheckoutTicketElements, CheckoutTicketPage */
-(function ($) {
- 'use strict';
- $(function () {
- var mercado_pago_submit_ticket = false;
+class CheckoutTicketPageController {
+ constructor(params) {
+ this.siteId = params.site_id;
+ this.errorMessages = params.error_messages;
+ this.initElements();
+ this.addEventListeners();
+ }
- // Handler form submit
- function mercadoPagoFormHandlerTicket() {
- if (!document.getElementById('payment_method_woo-mercado-pago-ticket').checked) {
- return true;
- }
+ initElements() {
+ this.checkboxUseShippingData = document.getElementById('form-checkout__address_checkbox');
+ this.addressElements = {
+ state: document.getElementById("form-checkout__address_federal_unit"),
+ city: document.getElementById("form-checkout__address_city"),
+ zipCode: document.getElementById("form-checkout__address_zip_code"),
+ streetName: document.getElementById("form-checkout__address_street_name"),
+ number: document.getElementById("form-checkout__address_street_number"),
+ numberDiv: document.getElementsByClassName('mp-checkout-ticket-billing-input-number')[0],
+ neighborhood: document.getElementById("form-checkout__address_neighborhood"),
+ numberToggle: document.getElementById("form-checkout__address_number_toggle"),
+ complement: document.getElementById("form-checkout__address_complement")
+ };
+ this.errorContainers = {
+ zipCode: document.getElementById('form-checkout__address_zip_code_error'),
+ state: document.getElementById('form-checkout__address_federal_unit_error'),
+ city: document.getElementById('form-checkout__address_city_error'),
+ neighborhood: document.getElementById('form-checkout__address_neighborhood_error'),
+ streetName: document.getElementById('form-checkout__address_street_name_error'),
+ streetNumber: document.getElementById('form-checkout__address_street_number_error')
+ };
+ }
+
+ addEventListeners() {
+ this.checkboxUseShippingData?.addEventListener('input', this.fillTicketAddressFieldsFromWoocommerce.bind(this));
+ this.addressElements?.zipCode?.addEventListener('input', this.handleZipCodeInput.bind(this));
+ this.addressElements?.zipCode?.addEventListener('focusout', this.validateZipCodeError.bind(this));
+ this.addressElements?.state?.addEventListener('input', this.handleStateInput.bind(this));
+ this.addressElements?.state?.addEventListener('focusout', this.validateStateError.bind(this));
+ this.addressElements?.city?.addEventListener('input', this.handleCityInput.bind(this));
+ this.addressElements?.city?.addEventListener('focusout', this.validateCityError.bind(this));
+ this.addressElements?.neighborhood?.addEventListener('input', this.handleNeighborhoodInput.bind(this));
+ this.addressElements?.neighborhood?.addEventListener('focusout', this.validateNeighborhoodError.bind(this));
+ this.addressElements?.streetName?.addEventListener('input', this.handleStreetNameInput.bind(this));
+ this.addressElements?.streetName?.addEventListener('focusout', this.validateStreetNameError.bind(this));
+ this.addressElements?.number?.addEventListener('input', this.handleStreetNumberInput.bind(this));
+ this.addressElements?.number?.addEventListener('focus', this.handleStreetNumberFocus.bind(this));
+ this.addressElements?.number?.addEventListener('focusout', this.validateStreetNumberError.bind(this));
+ this.addressElements?.numberToggle?.addEventListener('click', this.handleNumberToggle.bind(this));
+ this.addressElements?.complement?.addEventListener('input', this.removeCheckedFromShippingDataCheckbox.bind(this));
+ this.handleSubmitEvents();
+ this.listenToRemoveErrorFromPaymentMethod();
+ }
- let ticketContent = document.querySelector(CheckoutTicketElements.ticketContent);
- let ticketHelpers = ticketContent.querySelectorAll('input-helper');
+ fillTicketAddressFieldsFromWoocommerce() {
+ if (!this.checkboxUseShippingData.checked) {
+ Object.values(this.addressElements).forEach(element => element.value = '');
+ return;
+ }
- if (wc_mercadopago_ticket_checkout_params.site_id === 'MLB' || wc_mercadopago_ticket_checkout_params.site_id === 'MLU') {
- verifyDocument(ticketContent, ticketHelpers);
+ const getWooCommerceFieldValue = (fieldIds) => {
+ for (const id of fieldIds) {
+ const element = document.getElementById(id);
+ if (element && element.value) {
+ return element.value;
+ }
}
+ return '';
+ };
+
+ this.addressElements.city.value = getWooCommerceFieldValue(["billing-city", "billing_city", "shipping-city", "shipping_city"]);
+ this.addressElements.zipCode.value = this.validateZipCodeMask(
+ getWooCommerceFieldValue(["billing-postcode", "billing_postcode", "shipping-postcode", "shipping_postcode"])
+ );
+ this.addressElements.streetName.value = getWooCommerceFieldValue(["billing-address_1", "billing_address_1", "shipping-address_1", "shipping_address_1"]);
+ this.addressElements.complement.value = getWooCommerceFieldValue(["billing-address_2", "billing_address_2", "shipping-address_2", "shipping_address_2"]);
+
+ const wooAddressStateAcronym = getWooCommerceFieldValue(["billing-state", "billing_state", "shipping-state", "shipping_state"]);
+ const wooAddressStateText = getWooCommerceFieldValue(["components-form-token-input-1", "select2-billing_state-container"]);
+
+ if (wooAddressStateAcronym) {
+ this.addressElements.state.value = wooAddressStateAcronym;
+ } else if (wooAddressStateText) {
+ const valueForFederalUnit = Array.from(this.addressElements.state.options).find(option => option.textContent.includes(wooAddressStateText)).value;
+ this.addressElements.state.value = valueForFederalUnit;
+ }
+
+ this.addressFieldsFromTicketRowAreValid();
+ this.validateDocument();
+ }
+
+ removeCheckedFromShippingDataCheckbox() {
+ if (this.checkboxUseShippingData.checked) {
+ this.checkboxUseShippingData.checked = false;
+ }
+ }
+
+ validateDocument() {
+ let documentElement = document.querySelector('.mp-checkout-ticket-container');
+
+ if (documentElement.querySelector('.mp-document')?.value === '') {
+ documentElement.querySelector('.mp-input').classList.add('mp-error');
+ documentElement.querySelector('input-document').querySelector('input-helper').querySelector('.mp-helper').style.display = 'flex';
+ }
+ }
+
+ validateZipCodeMask(zipCode) {
+ return zipCode.replace(/\D/g, '').replace(/(\d{5})(\d)/, '$1-$2');
+ }
+
+ handleZipCodeInput() {
+ this.removeCheckedFromShippingDataCheckbox();
+ this.addressElements.zipCode.value = this.validateZipCodeMask(this.addressElements.zipCode.value);
+ this.validateZipCodeError(false);
+ }
+
+ validateZipCodeError(canChangeErrorState = true) {
+ const zipCodeValue = this.addressElements.zipCode.value.replace('-', '');
+ if (!zipCodeValue) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.zipCode, this.errorContainers.zipCode, this.errorMessages.postalcode_error_empty);
+ return false;
+ }
+ if (parseInt(zipCodeValue, 10) === 0) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.zipCode, this.errorContainers.zipCode, this.errorMessages.postalcode_error_invalid);
+ return false;
+ }
+ if (zipCodeValue.length < 8) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.zipCode, this.errorContainers.zipCode, this.errorMessages.postalcode_error_partial);
+ return false;
+ }
+ this.clearError(this.addressElements.zipCode, this.errorContainers.zipCode);
+ return true;
+ }
- verifyPaymentMethods(ticketContent);
+ handleStateInput() {
+ this.removeCheckedFromShippingDataCheckbox();
+ this.validateStateError(false);
+ }
+
+ validateStateError(canChangeErrorState = true) {
+ if (!this.addressElements.state.value) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.state, this.errorContainers.state, this.errorMessages.state_error_unselected);
+ return false;
+ }
+ this.clearError(this.addressElements.state, this.errorContainers.state);
+ return true;
+ }
+
+ handleCityInput() {
+ this.removeCheckedFromShippingDataCheckbox();
+ this.validateCityError(false);
+ }
+
+ validateCityError(canChangeErrorState = true) {
+ if (!this.addressElements.city.value) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.city, this.errorContainers.city, this.errorMessages.city_error_empty);
+ return false;
+ }
+ if (this.addressElements.city.value.length < 3) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.city, this.errorContainers.city, this.errorMessages.city_error_invalid);
+ return false;
+ }
+ this.clearError(this.addressElements.city, this.errorContainers.city);
+ return true;
+ }
+
+ handleNeighborhoodInput() {
+ this.validateNeighborhoodError(false);
+ }
+
+ validateNeighborhoodError(canChangeErrorState = true) {
+ if (!this.addressElements.neighborhood.value) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.neighborhood, this.errorContainers.neighborhood, this.errorMessages.neighborhood_error_empty);
+ return false;
+ }
+ if (this.addressElements.neighborhood.value.length < 2) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.neighborhood, this.errorContainers.neighborhood, this.errorMessages.neighborhood_error_invalid);
+ return false;
+ }
+ this.clearError(this.addressElements.neighborhood, this.errorContainers.neighborhood);
+ return true;
+ }
+
+ handleStreetNameInput() {
+ this.removeCheckedFromShippingDataCheckbox();
+ this.validateStreetNameError(false);
+ }
+
+ validateStreetNameError(canChangeErrorState = true) {
+ if (!this.addressElements.streetName.value) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.streetName, this.errorContainers.streetName, this.errorMessages.address_error_empty);
+ return false;
+ }
+ if (this.addressElements.streetName.value.length < 3) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.streetName, this.errorContainers.streetName, this.errorMessages.address_error_invalid);
+ return false;
+ }
+ this.clearError(this.addressElements.streetName, this.errorContainers.streetName);
+ return true;
+ }
- if (checkForErrors(ticketHelpers)) {
- removeBlockOverlay();
+ handleStreetNumberInput() {
+ if (this.validateStreetNumberError(false)) {
+ this.clearError(this.addressElements.numberDiv, this.errorContainers.streetNumber, false);
+ this.addressElements.numberDiv.classList.add('mp-checkout-ticket-billing-input-number-focused');
+ }
+ }
+
+ validateStreetNumberError(canChangeErrorState = true) {
+ if (canChangeErrorState &&
+ this.addressElements.numberDiv.classList.contains('mp-checkout-ticket-billing-input-number-focused-error-on-focus')) {
+ this.addressElements.numberDiv.classList.remove('mp-checkout-ticket-billing-input-number-focused-error-on-focus');
+ }
+
+ if (this.addressElements.numberToggle.checked) {
+ this.clearError(this.addressElements.numberDiv, this.errorContainers.streetNumber, false);
+ return true;
+ }
+ if (!this.addressElements.number.value) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.numberDiv, this.errorContainers.streetNumber, this.errorMessages.number_error_empty);
+ return false;
+ }
+ if (parseInt(this.addressElements.number.value, 10) === 0) {
+ canChangeErrorState &&
+ this.showError(this.addressElements.numberDiv, this.errorContainers.streetNumber, this.errorMessages.number_error_invalid);
+ return false;
+ }
+
+ canChangeErrorState && this.clearError(this.addressElements.numberDiv, this.errorContainers.streetNumber, false);
+ canChangeErrorState && this.toggleFocusedClass(this.addressElements.numberDiv, false);
+ return true;
+ }
+
+ handleStreetNumberFocus() {
+ this.toggleFocusedClass(this.addressElements.numberDiv, true);
+ }
+
+ handleNumberToggle() {
+ this.addressElements.number.disabled = this.addressElements.numberToggle.checked;
+ if (this.addressElements.number.disabled) {
+ this.addressElements.number.value = '';
+ this.addressElements.numberDiv.classList.remove('mp-checkout-andes-input');
+ this.addressElements.numberDiv.classList.add('mp-checkout-ticket-billing-input-number-disabled');
+ this.toggleFocusedClass(this.addressElements.numberDiv, false);
+ this.clearError(this.addressElements.numberDiv, this.errorContainers.streetNumber, false);
+ } else {
+ this.addressElements.numberDiv.classList.remove('mp-checkout-ticket-billing-input-number-disabled');
+ this.addressElements.numberDiv.classList.add('mp-checkout-andes-input');
+ }
+ }
+
+ toggleFocusedClass(element, add) {
+ if (add) {
+ if (element.classList.contains('mp-checkout-ticket-billing-input-number-focused-error')) {
+ element.classList.add('mp-checkout-ticket-billing-input-number-focused-error-on-focus');
+ } else if (element.classList.contains('mp-checkout-andes-input-error')) {
+ element.classList.add('mp-checkout-ticket-billing-input-number-focused-error');
} else {
- mercado_pago_submit_ticket = true;
+ element.classList.add('mp-checkout-ticket-billing-input-number-focused');
}
+ } else {
+ element.classList.remove('mp-checkout-ticket-billing-input-number-focused');
+ }
+ }
- return mercado_pago_submit_ticket;
+ showError(element, errorContainer, message) {
+ element.classList.remove('mp-checkout-andes-input');
+ element.classList.add('mp-checkout-andes-input-error');
+ const errorMessageElement = errorContainer.querySelector('.mp-helper-message');
+ if (errorMessageElement) {
+ errorMessageElement.textContent = message;
}
+ errorContainer.style.display = 'flex';
+ }
- function checkForErrors(ticketHelpers) {
- let hasError = false;
+ clearError(element, errorContainer, addAndesInputClass = true) {
+ addAndesInputClass && element.classList.add('mp-checkout-andes-input');
+ element.classList.remove('mp-checkout-andes-input-error');
+ element.classList.remove('mp-checkout-ticket-billing-input-number-focused');
+ element.classList.remove('mp-checkout-ticket-billing-input-number-focused-error');
+ element.classList.remove('mp-checkout-ticket-billing-input-number-focused-error-on-focus');
+ errorContainer.style.display = 'none';
+ }
- ticketHelpers.forEach((item) => {
- let inputHelper = item.querySelector('div');
- if (inputHelper.style.display !== 'none') {
- hasError = true;
- }
- });
+ handleSubmitEvents() {
+ jQuery('form.checkout').on('checkout_place_order_woo-mercado-pago-ticket', () => this.shouldSubmitTicketForm())
+
+ // If payment fail, retry on next checkout page
+ jQuery('form#order_review').submit(() => this.shouldSubmitTicketForm());
+ }
- return hasError;
+ shouldSubmitTicketForm() {
+ if (!document.getElementById('payment_method_woo-mercado-pago-ticket')?.checked) {
+ return true;
}
- function verifyDocument(ticketContent, ticketHelpers) {
- let documentElement = ticketContent.querySelector('.mp-document');
+ if (this.siteId === 'MLB' || this.siteId === 'MLU') {
+ this.validateDocument();
+ }
+ this.verifyPaymentMethods();
- if (documentElement.value === '') {
- ticketContent.querySelector('.mp-input').classList.add('mp-error');
- let child = ticketHelpers[0].querySelector('div');
- child.style.display = 'flex';
+ const errorOnAddressFields = this.siteId === 'MLB' && !this.addressFieldsFromTicketRowAreValid();
+ const hasError = this.checkForErrors() || errorOnAddressFields;
+ hasError && this.removeBlockOverlay();
+ return !hasError;
+ }
+
+ checkForErrors() {
+ let hasError = false;
+
+ document.querySelectorAll('input-helper').forEach((item) => {
+ let inputHelper = item.querySelector('div');
+ if (inputHelper.style.display !== 'none') {
+ hasError = true;
}
- }
+ });
- function verifyPaymentMethods(ticketContent) {
- ticketContent.querySelector('#more-options').addEventListener('click', () => {
- setTimeout(() => {
- removeErrorFromInputTableContainer(ticketContent);
- }, 300);
- });
+ return hasError;
+ }
- let paymentOptionSelected = false;
- ticketContent.querySelectorAll('.mp-input-radio-radio').forEach((item) => {
+ verifyPaymentMethods() {
+ let paymentOptionSelected = false;
+ let documentElement = document.querySelector('.mp-checkout-ticket-container');
+ documentElement
+ .querySelectorAll('.mp-input-radio-radio')
+ .forEach((item) => {
if (item.checked) {
paymentOptionSelected = true;
}
- });
-
- if (paymentOptionSelected === false) {
- CheckoutTicketPage.setDisplayOfError('fcInputTableContainer', 'add', 'mp-error', 'ticketContent');
- CheckoutTicketPage.setDisplayOfInputHelper('mp-payment-method', 'flex', 'ticketContent');
- }
+ });
- removeErrorFromInputTableContainer(ticketContent);
+ if (paymentOptionSelected === false) {
+ CheckoutTicketPage.setDisplayOfError('fcInputTableContainer', 'add', 'mp-error', 'ticketContent');
+ CheckoutTicketPage.setDisplayOfInputHelper('mp-payment-method', 'flex', 'ticketContent');
}
+ }
- function removeErrorFromInputTableContainer(ticketContent) {
- ticketContent.querySelectorAll('.mp-input-table-label').forEach((item) => {
- item.addEventListener('click', () => {
- CheckoutTicketPage.setDisplayOfError('fcInputTableContainer', 'remove', 'mp-error', 'ticketContent');
- CheckoutTicketPage.setDisplayOfInputHelper('mp-payment-method', 'none', 'ticketContent');
- });
+ listenToRemoveErrorFromPaymentMethod() {
+ let ticketContent = document.querySelector(CheckoutTicketElements.ticketContent);
+ ticketContent?.querySelectorAll('.mp-input-table-label')?.forEach((item) => {
+ item.addEventListener('click', () => {
+ CheckoutTicketPage.setDisplayOfError('fcInputTableContainer', 'remove', 'mp-error', 'ticketContent');
+ CheckoutTicketPage.setDisplayOfInputHelper('mp-payment-method', 'none', 'ticketContent');
});
+ });
+ }
+
+ removeBlockOverlay() {
+ if (document.querySelector('form#order_review')) {
+ document.querySelector('.blockOverlay').style.display = 'none';
}
+ }
- // Process when submit the checkout form
- $('form.checkout').on('checkout_place_order_woo-mercado-pago-ticket', function () {
- return mercadoPagoFormHandlerTicket();
- });
+ addressFieldsFromTicketRowAreValid() {
+ return [
+ this.validateZipCodeError(),
+ this.validateStateError(),
+ this.validateCityError(),
+ this.validateNeighborhoodError(),
+ this.validateStreetNameError(),
+ this.validateStreetNumberError()
+ ].every(Boolean);
+ }
+}
- // If payment fail, retry on next checkout page
- $('form#order_review').submit(function () {
- return mercadoPagoFormHandlerTicket();
- });
+document.addEventListener('DOMContentLoaded', function () {
+ const ticketFormLoadInterval = setInterval(function () {
+ const checkoutTicketPaymentMethodElement =
+ document.getElementById('payment_method_woo-mercado-pago-ticket') ??
+ document.getElementById('radio-control-wc-payment-method-options-woo-mercado-pago-ticket') ??
+ document.querySelectorAll("input[value=woo-mercado-pago-ticket]")[0];
- // Remove Block Overlay from Order Review page
- function removeBlockOverlay() {
- if ($('form#order_review').length > 0) {
- $('.blockOverlay').css('display', 'none');
- }
+ if (!checkoutTicketPaymentMethodElement) {
+ clearInterval(ticketFormLoadInterval);
+ return;
}
- });
-})(jQuery);
+
+ const checkoutTicketPageController = new CheckoutTicketPageController(wc_mercadopago_ticket_checkout_params);
+ // Define a global function for ticket.block.js to be able to call the addressFieldsFromTicketRowAreValid method
+ window.addressFieldsFromTicketRowAreValid = checkoutTicketPageController.addressFieldsFromTicketRowAreValid.bind(checkoutTicketPageController);
+ }, 1000);
+});
diff --git a/assets/js/checkouts/ticket/mp-ticket-checkout.min.js b/assets/js/checkouts/ticket/mp-ticket-checkout.min.js
index f0383de89..5a7d282fd 100644
--- a/assets/js/checkouts/ticket/mp-ticket-checkout.min.js
+++ b/assets/js/checkouts/ticket/mp-ticket-checkout.min.js
@@ -1 +1 @@
-!function(e){"use strict";e((function(){var t=!1;function o(){if(!document.getElementById("payment_method_woo-mercado-pago-ticket").checked)return!0;let o=document.querySelector(CheckoutTicketElements.ticketContent),c=o.querySelectorAll("input-helper");return"MLB"!==wc_mercadopago_ticket_checkout_params.site_id&&"MLU"!==wc_mercadopago_ticket_checkout_params.site_id||function(e,t){let o=e.querySelector(".mp-document");if(""===o.value){e.querySelector(".mp-input").classList.add("mp-error"),t[0].querySelector("div").style.display="flex"}}(o,c),function(e){e.querySelector("#more-options").addEventListener("click",(()=>{setTimeout((()=>{r(e)}),300)}));let t=!1;e.querySelectorAll(".mp-input-radio-radio").forEach((e=>{e.checked&&(t=!0)})),!1===t&&(CheckoutTicketPage.setDisplayOfError("fcInputTableContainer","add","mp-error","ticketContent"),CheckoutTicketPage.setDisplayOfInputHelper("mp-payment-method","flex","ticketContent"));r(e)}(o),!function(e){let t=!1;return e.forEach((e=>{"none"!==e.querySelector("div").style.display&&(t=!0)})),t}(c)?t=!0:e("form#order_review").length>0&&e(".blockOverlay").css("display","none"),t}function r(e){e.querySelectorAll(".mp-input-table-label").forEach((e=>{e.addEventListener("click",(()=>{CheckoutTicketPage.setDisplayOfError("fcInputTableContainer","remove","mp-error","ticketContent"),CheckoutTicketPage.setDisplayOfInputHelper("mp-payment-method","none","ticketContent")}))}))}e("form.checkout").on("checkout_place_order_woo-mercado-pago-ticket",(function(){return o()})),e("form#order_review").submit((function(){return o()}))}))}(jQuery);
\ No newline at end of file
+class CheckoutTicketPageController{constructor(e){this.siteId=e.site_id,this.errorMessages=e.error_messages,this.initElements(),this.addEventListeners()}initElements(){this.checkboxUseShippingData=document.getElementById("form-checkout__address_checkbox"),this.addressElements={state:document.getElementById("form-checkout__address_federal_unit"),city:document.getElementById("form-checkout__address_city"),zipCode:document.getElementById("form-checkout__address_zip_code"),streetName:document.getElementById("form-checkout__address_street_name"),number:document.getElementById("form-checkout__address_street_number"),numberDiv:document.getElementsByClassName("mp-checkout-ticket-billing-input-number")[0],neighborhood:document.getElementById("form-checkout__address_neighborhood"),numberToggle:document.getElementById("form-checkout__address_number_toggle"),complement:document.getElementById("form-checkout__address_complement")},this.errorContainers={zipCode:document.getElementById("form-checkout__address_zip_code_error"),state:document.getElementById("form-checkout__address_federal_unit_error"),city:document.getElementById("form-checkout__address_city_error"),neighborhood:document.getElementById("form-checkout__address_neighborhood_error"),streetName:document.getElementById("form-checkout__address_street_name_error"),streetNumber:document.getElementById("form-checkout__address_street_number_error")}}addEventListeners(){this.checkboxUseShippingData?.addEventListener("input",this.fillTicketAddressFieldsFromWoocommerce.bind(this)),this.addressElements?.zipCode?.addEventListener("input",this.handleZipCodeInput.bind(this)),this.addressElements?.zipCode?.addEventListener("focusout",this.validateZipCodeError.bind(this)),this.addressElements?.state?.addEventListener("input",this.handleStateInput.bind(this)),this.addressElements?.state?.addEventListener("focusout",this.validateStateError.bind(this)),this.addressElements?.city?.addEventListener("input",this.handleCityInput.bind(this)),this.addressElements?.city?.addEventListener("focusout",this.validateCityError.bind(this)),this.addressElements?.neighborhood?.addEventListener("input",this.handleNeighborhoodInput.bind(this)),this.addressElements?.neighborhood?.addEventListener("focusout",this.validateNeighborhoodError.bind(this)),this.addressElements?.streetName?.addEventListener("input",this.handleStreetNameInput.bind(this)),this.addressElements?.streetName?.addEventListener("focusout",this.validateStreetNameError.bind(this)),this.addressElements?.number?.addEventListener("input",this.handleStreetNumberInput.bind(this)),this.addressElements?.number?.addEventListener("focus",this.handleStreetNumberFocus.bind(this)),this.addressElements?.number?.addEventListener("focusout",this.validateStreetNumberError.bind(this)),this.addressElements?.numberToggle?.addEventListener("click",this.handleNumberToggle.bind(this)),this.addressElements?.complement?.addEventListener("input",this.removeCheckedFromShippingDataCheckbox.bind(this)),this.handleSubmitEvents(),this.listenToRemoveErrorFromPaymentMethod()}fillTicketAddressFieldsFromWoocommerce(){if(!this.checkboxUseShippingData.checked)return void Object.values(this.addressElements).forEach((e=>e.value=""));const e=e=>{for(const t of e){const e=document.getElementById(t);if(e&&e.value)return e.value}return""};this.addressElements.city.value=e(["billing-city","billing_city","shipping-city","shipping_city"]),this.addressElements.zipCode.value=this.validateZipCodeMask(e(["billing-postcode","billing_postcode","shipping-postcode","shipping_postcode"])),this.addressElements.streetName.value=e(["billing-address_1","billing_address_1","shipping-address_1","shipping_address_1"]),this.addressElements.complement.value=e(["billing-address_2","billing_address_2","shipping-address_2","shipping_address_2"]);const t=e(["billing-state","billing_state","shipping-state","shipping_state"]),s=e(["components-form-token-input-1","select2-billing_state-container"]);if(t)this.addressElements.state.value=t;else if(s){const e=Array.from(this.addressElements.state.options).find((e=>e.textContent.includes(s))).value;this.addressElements.state.value=e}this.addressFieldsFromTicketRowAreValid(),this.validateDocument()}removeCheckedFromShippingDataCheckbox(){this.checkboxUseShippingData.checked&&(this.checkboxUseShippingData.checked=!1)}validateDocument(){let e=document.querySelector(".mp-checkout-ticket-container");""===e.querySelector(".mp-document")?.value&&(e.querySelector(".mp-input").classList.add("mp-error"),e.querySelector("input-document").querySelector("input-helper").querySelector(".mp-helper").style.display="flex")}validateZipCodeMask(e){return e.replace(/\D/g,"").replace(/(\d{5})(\d)/,"$1-$2")}handleZipCodeInput(){this.removeCheckedFromShippingDataCheckbox(),this.addressElements.zipCode.value=this.validateZipCodeMask(this.addressElements.zipCode.value),this.validateZipCodeError(!1)}validateZipCodeError(e=!0){const t=this.addressElements.zipCode.value.replace("-","");return t?0===parseInt(t,10)?(e&&this.showError(this.addressElements.zipCode,this.errorContainers.zipCode,this.errorMessages.postalcode_error_invalid),!1):t.length<8?(e&&this.showError(this.addressElements.zipCode,this.errorContainers.zipCode,this.errorMessages.postalcode_error_partial),!1):(this.clearError(this.addressElements.zipCode,this.errorContainers.zipCode),!0):(e&&this.showError(this.addressElements.zipCode,this.errorContainers.zipCode,this.errorMessages.postalcode_error_empty),!1)}handleStateInput(){this.removeCheckedFromShippingDataCheckbox(),this.validateStateError(!1)}validateStateError(e=!0){return this.addressElements.state.value?(this.clearError(this.addressElements.state,this.errorContainers.state),!0):(e&&this.showError(this.addressElements.state,this.errorContainers.state,this.errorMessages.state_error_unselected),!1)}handleCityInput(){this.removeCheckedFromShippingDataCheckbox(),this.validateCityError(!1)}validateCityError(e=!0){return this.addressElements.city.value?this.addressElements.city.value.length<3?(e&&this.showError(this.addressElements.city,this.errorContainers.city,this.errorMessages.city_error_invalid),!1):(this.clearError(this.addressElements.city,this.errorContainers.city),!0):(e&&this.showError(this.addressElements.city,this.errorContainers.city,this.errorMessages.city_error_empty),!1)}handleNeighborhoodInput(){this.validateNeighborhoodError(!1)}validateNeighborhoodError(e=!0){return this.addressElements.neighborhood.value?this.addressElements.neighborhood.value.length<2?(e&&this.showError(this.addressElements.neighborhood,this.errorContainers.neighborhood,this.errorMessages.neighborhood_error_invalid),!1):(this.clearError(this.addressElements.neighborhood,this.errorContainers.neighborhood),!0):(e&&this.showError(this.addressElements.neighborhood,this.errorContainers.neighborhood,this.errorMessages.neighborhood_error_empty),!1)}handleStreetNameInput(){this.removeCheckedFromShippingDataCheckbox(),this.validateStreetNameError(!1)}validateStreetNameError(e=!0){return this.addressElements.streetName.value?this.addressElements.streetName.value.length<3?(e&&this.showError(this.addressElements.streetName,this.errorContainers.streetName,this.errorMessages.address_error_invalid),!1):(this.clearError(this.addressElements.streetName,this.errorContainers.streetName),!0):(e&&this.showError(this.addressElements.streetName,this.errorContainers.streetName,this.errorMessages.address_error_empty),!1)}handleStreetNumberInput(){this.validateStreetNumberError(!1)&&(this.clearError(this.addressElements.numberDiv,this.errorContainers.streetNumber,!1),this.addressElements.numberDiv.classList.add("mp-checkout-ticket-billing-input-number-focused"))}validateStreetNumberError(e=!0){return e&&this.addressElements.numberDiv.classList.contains("mp-checkout-ticket-billing-input-number-focused-error-on-focus")&&this.addressElements.numberDiv.classList.remove("mp-checkout-ticket-billing-input-number-focused-error-on-focus"),this.addressElements.numberToggle.checked?(this.clearError(this.addressElements.numberDiv,this.errorContainers.streetNumber,!1),!0):this.addressElements.number.value?0===parseInt(this.addressElements.number.value,10)?(e&&this.showError(this.addressElements.numberDiv,this.errorContainers.streetNumber,this.errorMessages.number_error_invalid),!1):(e&&this.clearError(this.addressElements.numberDiv,this.errorContainers.streetNumber,!1),e&&this.toggleFocusedClass(this.addressElements.numberDiv,!1),!0):(e&&this.showError(this.addressElements.numberDiv,this.errorContainers.streetNumber,this.errorMessages.number_error_empty),!1)}handleStreetNumberFocus(){this.toggleFocusedClass(this.addressElements.numberDiv,!0)}handleNumberToggle(){this.addressElements.number.disabled=this.addressElements.numberToggle.checked,this.addressElements.number.disabled?(this.addressElements.number.value="",this.addressElements.numberDiv.classList.remove("mp-checkout-andes-input"),this.addressElements.numberDiv.classList.add("mp-checkout-ticket-billing-input-number-disabled"),this.toggleFocusedClass(this.addressElements.numberDiv,!1),this.clearError(this.addressElements.numberDiv,this.errorContainers.streetNumber,!1)):(this.addressElements.numberDiv.classList.remove("mp-checkout-ticket-billing-input-number-disabled"),this.addressElements.numberDiv.classList.add("mp-checkout-andes-input"))}toggleFocusedClass(e,t){t?e.classList.contains("mp-checkout-ticket-billing-input-number-focused-error")?e.classList.add("mp-checkout-ticket-billing-input-number-focused-error-on-focus"):e.classList.contains("mp-checkout-andes-input-error")?e.classList.add("mp-checkout-ticket-billing-input-number-focused-error"):e.classList.add("mp-checkout-ticket-billing-input-number-focused"):e.classList.remove("mp-checkout-ticket-billing-input-number-focused")}showError(e,t,s){e.classList.remove("mp-checkout-andes-input"),e.classList.add("mp-checkout-andes-input-error");const r=t.querySelector(".mp-helper-message");r&&(r.textContent=s),t.style.display="flex"}clearError(e,t,s=!0){s&&e.classList.add("mp-checkout-andes-input"),e.classList.remove("mp-checkout-andes-input-error"),e.classList.remove("mp-checkout-ticket-billing-input-number-focused"),e.classList.remove("mp-checkout-ticket-billing-input-number-focused-error"),e.classList.remove("mp-checkout-ticket-billing-input-number-focused-error-on-focus"),t.style.display="none"}handleSubmitEvents(){jQuery("form.checkout").on("checkout_place_order_woo-mercado-pago-ticket",(()=>this.shouldSubmitTicketForm())),jQuery("form#order_review").submit((()=>this.shouldSubmitTicketForm()))}shouldSubmitTicketForm(){if(!document.getElementById("payment_method_woo-mercado-pago-ticket")?.checked)return!0;"MLB"!==this.siteId&&"MLU"!==this.siteId||this.validateDocument(),this.verifyPaymentMethods();const e="MLB"===this.siteId&&!this.addressFieldsFromTicketRowAreValid(),t=this.checkForErrors()||e;return t&&this.removeBlockOverlay(),!t}checkForErrors(){let e=!1;return document.querySelectorAll("input-helper").forEach((t=>{"none"!==t.querySelector("div").style.display&&(e=!0)})),e}verifyPaymentMethods(){let e=!1;document.querySelector(".mp-checkout-ticket-container").querySelectorAll(".mp-input-radio-radio").forEach((t=>{t.checked&&(e=!0)})),!1===e&&(CheckoutTicketPage.setDisplayOfError("fcInputTableContainer","add","mp-error","ticketContent"),CheckoutTicketPage.setDisplayOfInputHelper("mp-payment-method","flex","ticketContent"))}listenToRemoveErrorFromPaymentMethod(){let e=document.querySelector(CheckoutTicketElements.ticketContent);e?.querySelectorAll(".mp-input-table-label")?.forEach((e=>{e.addEventListener("click",(()=>{CheckoutTicketPage.setDisplayOfError("fcInputTableContainer","remove","mp-error","ticketContent"),CheckoutTicketPage.setDisplayOfInputHelper("mp-payment-method","none","ticketContent")}))}))}removeBlockOverlay(){document.querySelector("form#order_review")&&(document.querySelector(".blockOverlay").style.display="none")}addressFieldsFromTicketRowAreValid(){return[this.validateZipCodeError(),this.validateStateError(),this.validateCityError(),this.validateNeighborhoodError(),this.validateStreetNameError(),this.validateStreetNumberError()].every(Boolean)}}document.addEventListener("DOMContentLoaded",(function(){const e=setInterval((function(){if(!(document.getElementById("payment_method_woo-mercado-pago-ticket")??document.getElementById("radio-control-wc-payment-method-options-woo-mercado-pago-ticket")??document.querySelectorAll("input[value=woo-mercado-pago-ticket]")[0]))return void clearInterval(e);const t=new CheckoutTicketPageController(wc_mercadopago_ticket_checkout_params);window.addressFieldsFromTicketRowAreValid=t.addressFieldsFromTicketRowAreValid.bind(t)}),1e3)}));
\ No newline at end of file
diff --git a/build/basic.block.asset.php b/build/basic.block.asset.php
index 805304edd..b2fe28d49 100644
--- a/build/basic.block.asset.php
+++ b/build/basic.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '1f11fe1cdfce07e5b067');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '19bf6a42555d0bf89ed6');
diff --git a/build/basic.block.js b/build/basic.block.js
index ff3d50ec5..53b3dd25d 100644
--- a/build/basic.block.js
+++ b/build/basic.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,c=window.wc.wcSettings,n=window.wp.element,o=window.wp.htmlEntities,s="mercadopago_blocks_update_cart",a=({title:t,items:c,titleAlign:n="center",listMode:o="image"})=>(0,e.createElement)("checkout-benefits",{title:t,"title-align":n,items:c,"list-mode":o}),r=({text:t,src:c,alt:n})=>(0,e.createElement)("div",{className:"mp-checkout-pro-redirect"},(0,e.createElement)("checkout-redirect-v2",{text:t,src:c,alt:n})),i=({title:t,methods:c})=>(0,e.createElement)("div",{className:"mp-checkout-pro-payment-methods"},(0,e.createElement)("payment-methods-v2",{title:t,methods:c})),m=({description:t,linkText:c,linkSrc:n,checkoutClass:o="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${o}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":c,"link-src":n})),l=({title:t,description:c,linkText:n,linkSrc:o})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:c,"link-text":n,"link-src":o})),d=(e,t,c)=>{const n={name:e,message:t,target:c,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(n))};var p;const _="mp_checkout_blocks",u="woo-mercado-pago-basic",k=(0,c.getSetting)("woo-mercado-pago-basic_data",{}),h=(0,o.decodeEntities)(k.title)||"Checkout Pro",E=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:c,emitResponse:o}=e,{onPaymentSetup:a,onCheckoutSuccess:r,onCheckoutFail:i}=c;(0,n.useEffect)((()=>{((e,t)=>{e({namespace:s,data:{action:"add",gateway:t}})})(t,u);const e=a((()=>({type:o.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:s,data:{action:"remove",gateway:t}})})(t,u),e())}),[a]),(0,n.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return d("MP_BASIC_BLOCKS_SUCCESS",t.paymentStatus,_),{type:o.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,n.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return d("MP_BASIC_BLOCKS_ERROR",t.paymentStatus,_),{type:o.responseTypes.FAIL,messageContext:o.noticeContexts.PAYMENTS}}));return()=>e()}),[i])})(t);const{test_mode_title:c,test_mode_description:o,test_mode_link_text:p,test_mode_link_src:h,checkout_benefits_title:E,checkout_benefits_items:g,payment_methods_title:w,payment_methods_methods:S,method:y,checkout_redirect_text:v,checkout_redirect_src:C,checkout_redirect_alt:f,terms_and_conditions_description:x,terms_and_conditions_link_text:b,terms_and_conditions_link_src:N,test_mode:R,amount:P,message_error_amount:M}=k.params;return null==P?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},M)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-pro-container"},(0,e.createElement)("div",{className:"mp-checkout-pro-content"},R?(0,e.createElement)(l,{title:c,description:o,"link-text":p,"link-src":h}):null,(0,e.createElement)("div",{className:"mp-checkout-pro-checkout-benefits"},(0,e.createElement)(a,{title:E,items:g})),(0,e.createElement)(i,{title:w,methods:S}),"redirect"===y?(0,e.createElement)(r,{text:v,src:C,alt:f}):null)),(0,e.createElement)(m,{description:x,linkText:b,linkSrc:N}))},g={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:c}=t.components,n=(0,o.decodeEntities)(k?.params?.fee_title||""),s=`${h} ${n}`;return(0,e.createElement)(c,{text:s})}),null),content:(0,e.createElement)(E,null),edit:(0,e.createElement)(E,null),canMakePayment:()=>!0,ariaLabel:h,supports:{features:null!==(p=k?.supports)&&void 0!==p?p:[]}};(0,t.registerPaymentMethod)(g)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,c=window.wc.wcSettings,n=window.wp.element,o=window.wp.htmlEntities,s="mercadopago_blocks_update_cart",a=({title:t,items:c,titleAlign:n="center",listMode:o="image"})=>(0,e.createElement)("checkout-benefits",{title:t,"title-align":n,items:c,"list-mode":o}),r=({text:t,src:c,alt:n})=>(0,e.createElement)("div",{className:"mp-checkout-pro-redirect"},(0,e.createElement)("checkout-redirect-v2",{text:t,src:c,alt:n})),i=({title:t,methods:c})=>(0,e.createElement)("div",{className:"mp-checkout-pro-payment-methods"},(0,e.createElement)("payment-methods-v2",{title:t,methods:c})),m=({description:t,linkText:c,linkSrc:n,checkoutClass:o="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${o}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":c,"link-src":n})),l=({title:t,description:c,linkText:n,linkSrc:o})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:c,"link-text":n,"link-src":o})),d=(e,t,c)=>{const n={name:e,message:t,target:c,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(n))};var p;const _="mp_checkout_blocks",u="woo-mercado-pago-basic",k=(0,c.getSetting)("woo-mercado-pago-basic_data",{}),h=(0,o.decodeEntities)(k.title)||"Checkout Pro",E=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:c,emitResponse:o}=e,{onPaymentSetup:a,onCheckoutSuccess:r,onCheckoutFail:i}=c;(0,n.useEffect)((()=>{((e,t)=>{e({namespace:s,data:{action:"add",gateway:t}})})(t,u);const e=a((()=>({type:o.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:s,data:{action:"remove",gateway:t}})})(t,u),e())}),[a]),(0,n.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return d("MP_BASIC_BLOCKS_SUCCESS",t.paymentStatus,_),{type:o.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,n.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return d("MP_BASIC_BLOCKS_ERROR",t.paymentStatus,_),{type:o.responseTypes.FAIL,messageContext:o.noticeContexts.PAYMENTS}}));return()=>e()}),[i])})(t);const{test_mode_title:c,test_mode_description:o,test_mode_link_text:p,test_mode_link_src:h,checkout_benefits_title:E,checkout_benefits_items:g,payment_methods_title:w,payment_methods_methods:S,method:y,checkout_redirect_text:v,checkout_redirect_src:C,checkout_redirect_alt:f,terms_and_conditions_description:x,terms_and_conditions_link_text:b,terms_and_conditions_link_src:N,test_mode:R,amount:P,message_error_amount:M}=k.params;return null==P?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},M)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-pro-container"},(0,e.createElement)("div",{className:"mp-checkout-pro-content"},R?(0,e.createElement)(l,{title:c,description:o,"link-text":p,"link-src":h}):null,(0,e.createElement)("div",{className:"mp-checkout-pro-checkout-benefits"},(0,e.createElement)(a,{title:E,items:g})),(0,e.createElement)(i,{title:w,methods:S}),"redirect"===y?(0,e.createElement)(r,{text:v,src:C,alt:f}):null)),(0,e.createElement)(m,{description:x,linkText:b,linkSrc:N}))},g={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:c}=t.components,n=(0,o.decodeEntities)(k?.params?.fee_title||""),s=`${h} ${n}`;return(0,e.createElement)(c,{text:s})}),null),content:(0,e.createElement)(E,null),edit:(0,e.createElement)(E,null),canMakePayment:()=>!0,ariaLabel:h,supports:{features:null!==(p=k?.supports)&&void 0!==p?p:[]}};(0,t.registerPaymentMethod)(g)})();
\ No newline at end of file
diff --git a/build/credits.block.asset.php b/build/credits.block.asset.php
index c7c24b871..92531adcb 100644
--- a/build/credits.block.asset.php
+++ b/build/credits.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'b12dad067a3c500c4037');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '59b725fffd110a224c06');
diff --git a/build/credits.block.js b/build/credits.block.js
index e58d8c41a..e9a18849f 100644
--- a/build/credits.block.js
+++ b/build/credits.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wp.element,c=window.wc.wcBlocksRegistry,n=window.wp.htmlEntities,s=window.wc.wcSettings,i="mercadopago_blocks_update_cart",o=({title:t,description:c,linkText:n,linkSrc:s})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:c,"link-text":n,"link-src":s})),a=({title:t,description:c,src:n,alt:s})=>(0,e.createElement)("checkout-redirect-v3",{title:t,description:c,src:n,alt:s}),r=({title:t,items:c,titleAlign:n="left"})=>(0,e.createElement)("checkout-benefits-list",{title:t,"title-align":n,items:c}),l=({description:t,linkText:c,linkSrc:n,checkoutClass:s="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${s}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":c,"link-src":n})),m=({text:t,imgSrc:c})=>(0,e.createElement)("div",{style:{height:"18px",display:"flex",justifyContent:"space-between",alignContent:"center",alignItems:"center",flexDirection:"row"}},(0,e.createElement)("img",{style:{marginRight:"8px",height:"25px",width:"30px",padding:0},src:c}),(0,e.createElement)("p",{style:{fontFamily:'"Proxima Nova", -apple-system, "Helvetica Neue", Helvetica, "Roboto", Arial, sans-serif',fontSize:"18px",padding:0}},t)),d=(e,t,c)=>{const n={name:e,message:t,target:c,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(n))};var p;const _="mp_checkout_blocks",u="woo-mercado-pago-credits",k=(0,s.getSetting)("woo-mercado-pago-credits_data",{}),g=(0,n.decodeEntities)(k.title)||"Checkout Credits",h=c=>{(e=>{const{extensionCartUpdate:c}=wc.blocksCheckout,{eventRegistration:n,emitResponse:s}=e,{onPaymentSetup:o,onCheckoutSuccess:a,onCheckoutFail:r}=n;(0,t.useEffect)((()=>{((e,t)=>{e({namespace:i,data:{action:"add",gateway:t}})})(c,u);const e=o((()=>({type:s.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:i,data:{action:"remove",gateway:t}})})(c,u),e())}),[o]),(0,t.useEffect)((()=>{const e=a((async e=>{const t=e.processingResponse;return d("MP_CREDITS_BLOCKS_SUCCESS",t.paymentStatus,_),{type:s.responseTypes.SUCCESS}}));return()=>e()}),[a]),(0,t.useEffect)((()=>{const e=r((e=>{const t=e.processingResponse;return d("MP_CREDITS_BLOCKS_ERROR",t.paymentStatus,_),{type:s.responseTypes.FAIL,messageContext:s.noticeContexts.PAYMENTS}}));return()=>e()}),[r])})(c);const{test_mode_title:n,test_mode_description:s,test_mode_link_text:m,test_mode_link_src:p,checkout_benefits_title:g,checkout_benefits_items:h,checkout_redirect_title:E,checkout_redirect_description:w,checkout_redirect_src:S,checkout_redirect_alt:f,terms_and_conditions_description:y,terms_and_conditions_link_text:v,terms_and_conditions_link_src:x,test_mode:C,amount:R,message_error_amount:b}=k.params;return null==R?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},b)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-credits-container"},(0,e.createElement)("div",{className:"mp-checkout-credits-content"},C?(0,e.createElement)(o,{title:n,description:s,linkText:m,linkSrc:p}):null,(0,e.createElement)("div",{class:"mp-credits-checkout-benefits"},(0,e.createElement)(r,{title:g,items:h,titleAlign:"left"})),(0,e.createElement)("div",{class:"mp-checkout-credits-redirect"},(0,e.createElement)(a,{title:E,description:w,src:S,alt:f})))),(0,e.createElement)(l,{description:y,linkText:v,linkSrc:x}))},E={name:u,label:(0,e.createElement)((()=>{const t=(0,n.decodeEntities)(k?.params?.fee_title||""),c=`${g} ${t}`;return(0,e.createElement)(m,{text:c,imgSrc:k.params.checkout_blocks_row_image_src})}),null),content:(0,e.createElement)(h,null),edit:(0,e.createElement)(h,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(p=k?.supports)&&void 0!==p?p:[]}};(0,c.registerPaymentMethod)(E)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wp.element,c=window.wc.wcBlocksRegistry,n=window.wp.htmlEntities,s=window.wc.wcSettings,i="mercadopago_blocks_update_cart",o=({title:t,description:c,linkText:n,linkSrc:s})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:c,"link-text":n,"link-src":s})),a=({title:t,description:c,src:n,alt:s})=>(0,e.createElement)("checkout-redirect-v3",{title:t,description:c,src:n,alt:s}),r=({title:t,items:c,titleAlign:n="left"})=>(0,e.createElement)("checkout-benefits-list",{title:t,"title-align":n,items:c}),l=({description:t,linkText:c,linkSrc:n,checkoutClass:s="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${s}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":c,"link-src":n})),m=({text:t,imgSrc:c,id:n})=>(0,e.createElement)("div",{id:n,className:"row-image-select"},(0,e.createElement)("img",{src:c}),(0,e.createElement)("p",null,t)),d=(e,t,c)=>{const n={name:e,message:t,target:c,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(n))};var p;const _="mp_checkout_blocks",u="woo-mercado-pago-credits",k=(0,s.getSetting)("woo-mercado-pago-credits_data",{}),g=(0,n.decodeEntities)(k.title)||"Checkout Credits",E=c=>{(e=>{const{extensionCartUpdate:c}=wc.blocksCheckout,{eventRegistration:n,emitResponse:s}=e,{onPaymentSetup:o,onCheckoutSuccess:a,onCheckoutFail:r}=n;(0,t.useEffect)((()=>{((e,t)=>{e({namespace:i,data:{action:"add",gateway:t}})})(c,u);const e=o((()=>({type:s.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:i,data:{action:"remove",gateway:t}})})(c,u),e())}),[o]),(0,t.useEffect)((()=>{const e=a((async e=>{const t=e.processingResponse;return d("MP_CREDITS_BLOCKS_SUCCESS",t.paymentStatus,_),{type:s.responseTypes.SUCCESS}}));return()=>e()}),[a]),(0,t.useEffect)((()=>{const e=r((e=>{const t=e.processingResponse;return d("MP_CREDITS_BLOCKS_ERROR",t.paymentStatus,_),{type:s.responseTypes.FAIL,messageContext:s.noticeContexts.PAYMENTS}}));return()=>e()}),[r])})(c);const{test_mode_title:n,test_mode_description:s,test_mode_link_text:m,test_mode_link_src:p,checkout_benefits_title:g,checkout_benefits_items:E,checkout_redirect_title:h,checkout_redirect_description:w,checkout_redirect_src:S,checkout_redirect_alt:v,terms_and_conditions_description:C,terms_and_conditions_link_text:f,terms_and_conditions_link_src:y,test_mode:x,amount:R,message_error_amount:b}=k.params;return null==R?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},b)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-credits-container"},(0,e.createElement)("div",{className:"mp-checkout-credits-content"},x?(0,e.createElement)(o,{title:n,description:s,linkText:m,linkSrc:p}):null,(0,e.createElement)("div",{class:"mp-credits-checkout-benefits"},(0,e.createElement)(r,{title:g,items:E,titleAlign:"left"})),(0,e.createElement)("div",{class:"mp-checkout-credits-redirect"},(0,e.createElement)(a,{title:h,description:w,src:S,alt:v})))),(0,e.createElement)(l,{description:C,linkText:f,linkSrc:y}))},h={name:u,label:(0,e.createElement)((()=>{const t=(0,n.decodeEntities)(k?.params?.fee_title||""),c=`${g} ${t}`;return(0,e.createElement)(m,{text:c,imgSrc:k.params.checkout_blocks_row_image_src})}),null),content:(0,e.createElement)(E,null),edit:(0,e.createElement)(E,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(p=k?.supports)&&void 0!==p?p:[]}};(0,c.registerPaymentMethod)(h)})();
\ No newline at end of file
diff --git a/build/custom.block.asset.php b/build/custom.block.asset.php
index 2542f9c07..dde921f12 100644
--- a/build/custom.block.asset.php
+++ b/build/custom.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '9ec7fae1942eec9aa50c');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '240bd7c57d4ab081a6b8');
diff --git a/build/custom.block.js b/build/custom.block.js
index 304c310d8..9edf4a4f0 100644
--- a/build/custom.block.js
+++ b/build/custom.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,a=window.wc.wcSettings,c=window.wp.element,n=window.wp.htmlEntities,o="mercadopago_blocks_update_cart";const s=({labelMessage:t,helperMessage:a,inputName:c,hiddenId:n,inputDataCheckout:o,selectId:s,selectName:m,selectDataCheckout:l,flagError:r,documents:i,validate:d})=>(0,e.createElement)("div",{className:"mp-checkout-ticket-input-document"},(0,e.createElement)("input-document",{"label-message":t,"helper-message":a,"input-name":c,"hidden-id":n,"input-data-checkout":o,"select-id":s,"select-name":m,"select-data-checkout":l,"flag-error":r,documents:i,validate:d})),m=({isVisible:t,message:a,inputId:c,id:n,dataMain:o})=>(0,e.createElement)("input-helper",{isVisible:t,message:a,"input-id":c,id:n,"data-main":o}),l=({isOptinal:t,message:a,forId:c})=>(0,e.createElement)("input-label",{isOptinal:t,message:a,for:c}),r=({methods:t})=>(0,e.createElement)("payment-methods",{methods:t}),i=({description:t,linkText:a,linkSrc:c,checkoutClass:n="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${n}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":a,"link-src":c})),d=({title:t,description:a,linkText:c,linkSrc:n})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:a,"link-text":c,"link-src":n})),p=(e,t,a)=>{const c={name:e,message:t,target:a,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(c))};var u;const _="mp_checkout_blocks",h="woo-mercado-pago-custom",k=(0,a.getSetting)("woo-mercado-pago-custom_data",{}),E=(0,n.decodeEntities)(k.title)||"Checkout Custom",y=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:a,emitResponse:n}=e,{onPaymentSetup:s}=a;(0,c.useEffect)((()=>{((e,t)=>{e({namespace:o,data:{action:"add",gateway:t}})})(t,h);const e=s((()=>({type:n.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:o,data:{action:"remove",gateway:t}})})(t,h),e())}),[s])})(t);const{test_mode:a,test_mode_title:n,test_mode_description:u,test_mode_link_text:E,test_mode_link_src:y,wallet_button:g,wallet_button_image:v,wallet_button_title:b,wallet_button_description:f,wallet_button_button_text:w,available_payments_title_icon:N,available_payments_title:x,available_payments_image:C,payment_methods_items:S,payment_methods_promotion_link:T,payment_methods_promotion_text:I,site_id:M,card_form_title:R,card_number_input_label:F,card_number_input_helper:O,card_holder_name_input_label:P,card_holder_name_input_helper:U,card_expiration_input_label:D,card_expiration_input_helper:L,card_security_code_input_label:V,card_security_code_input_helper:B,card_document_input_label:$,card_document_input_helper:q,card_installments_title:A,card_issuer_input_label:Y,card_installments_input_helper:j,terms_and_conditions_description:H,terms_and_conditions_link_text:K,terms_and_conditions_link_src:z,amount:J,currency_ratio:Q,message_error_amount:G}=k.params;if(null==J)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},G));const W=(0,c.useRef)(null),[X,Z]=(0,c.useState)("custom"),{eventRegistration:ee,emitResponse:te,onSubmit:ae}=t,{onPaymentSetup:ce,onCheckoutSuccess:ne,onCheckoutFail:oe}=ee;return window.mpFormId="blocks_checkout_form",window.mpCheckoutForm=document.querySelector(".wc-block-components-form.wc-block-checkout__form"),jQuery(window.mpCheckoutForm).prop("id",mpFormId),(0,c.useEffect)((()=>{var e,a;e=t.billing.cartTotal.value,a=t.billing.currency,cardFormMounted&&cardForm.unmount(),initCardForm(function(e,t){if(!Number.isInteger(e)||"object"!=typeof t)throw new Error("Invalid input");const a=(e/Math.pow(10,t.minorUnit)).toFixed(t.minorUnit).split(".");return`${a[0]}.${a[1]}`}(e,a))}),[t.billing.cartTotal.value]),(0,c.useEffect)((()=>{const e=ce((async()=>{const e=document.querySelector("#form-checkout__cardholderName"),t=document.querySelector("#mp-card-holder-name-helper");var a;if(""==e.value&&("flex",(a=t)&&a.style&&(a.style.display="flex")),"wallet_button"!==document.querySelector("#mp_checkout_type").value)try{if(!CheckoutPage.validateInputsCreateToken())return{type:te.responseTypes.ERROR};{const e=await cardForm.createCardToken();document.querySelector("#cardTokenId").value=e.token}}catch(e){console.warn("Token creation error: ",e)}const c=W.current,n={};return c.childNodes.forEach((e=>{"INPUT"===e.tagName&&e.name&&(n[e.name]=e.value)})),Z("custom"),{type:te.responseTypes.SUCCESS,meta:{paymentMethodData:n}}}));return()=>e()}),[ce,te.responseTypes.ERROR,te.responseTypes.SUCCESS]),(0,c.useEffect)((()=>{const e=ne((async e=>{const t=e.processingResponse,a=e.processingResponse.paymentDetails;if(a.three_ds_flow){const e=new Promise(((e,t)=>{window.addEventListener("completed_3ds",(a=>{a.detail.error&&(console.log("rejecting with "+a.detail.error),t(a.detail.error)),e()}))}));return load3DSFlow(a.last_four_digits),await e.then((()=>({type:te.responseTypes.SUCCESS}))).catch((e=>({type:te.responseTypes.FAIL,message:e,messageContext:te.noticeContexts.PAYMENTS})))}return p("MP_CUSTOM_BLOCKS_SUCCESS",t.paymentStatus,_),{type:te.responseTypes.SUCCESS}}));return()=>e()}),[ne]),(0,c.useEffect)((()=>{const e=oe((e=>{const t=e.processingResponse;return p("MP_CUSTOM_BLOCKS_ERROR",t.paymentStatus,_),{type:te.responseTypes.FAIL,messageContext:te.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[oe]),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"mp-checkout-custom-load"},(0,e.createElement)("div",{className:"spinner-card-form"})),(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-container"},a?(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)(d,{title:n,description:u,linkText:E,linkSrc:y})):null,"yes"===g?(0,e.createElement)("div",{className:"mp-wallet-button-container"},(0,e.createElement)("img",{src:v}),(0,e.createElement)("div",{className:"mp-wallet-button-title"},(0,e.createElement)("span",null,b)),(0,e.createElement)("div",{className:"mp-wallet-button-description"},f),(0,e.createElement)("div",{className:"mp-wallet-button-button"},(0,e.createElement)("button",{id:"mp-wallet-button",type:"button",onClick:e=>{e.preventDefault(),Z("wallet_button"),ae()}},w))):null,(0,e.createElement)("div",{id:"mp-custom-checkout-form-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments"},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-header",onClick:()=>{const e=document.getElementsByClassName("mp-checkout-custom-available-payments")[0],t=e.getElementsByClassName("mp-checkout-custom-available-payments-header")[0].getElementsByClassName("mp-checkout-custom-available-payments-collapsible")[0],a=e.getElementsByClassName("mp-checkout-custom-available-payments-content")[0];if(a.style.maxHeight)t.src=k.params.available_payments_chevron_down,a.style.maxHeight=null,a.style.padding="0px";else{let e=a.scrollHeight+15+"px";t.src=k.params.available_payments_chevron_up,a.style.setProperty("max-height",e,"important"),a.style.setProperty("padding","24px 0px 0px","important")}}},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-title"},(0,e.createElement)("img",{src:N,className:"mp-icon"}),(0,e.createElement)("p",{className:"mp-checkout-custom-available-payments-text"},x)),(0,e.createElement)("img",{src:C,className:"mp-checkout-custom-available-payments-collapsible"})),(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-content"},(0,e.createElement)(r,{methods:S}),"MLA"===M?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{id:"mp_promotion_link"}," | "),(0,e.createElement)("a",{href:T,id:"mp_checkout_link",className:"mp-checkout-link mp-pl-10",target:"_blank"},I)):null,(0,e.createElement)("hr",null))),(0,e.createElement)("div",{className:"mp-checkout-custom-card-form"},(0,e.createElement)("p",{className:"mp-checkout-custom-card-form-title"},R),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row"},(0,e.createElement)(l,{isOptinal:!1,message:F,forId:"mp-card-number"}),(0,e.createElement)("div",{className:"mp-checkout-custom-card-input",id:"form-checkout__cardNumber-container"}),(0,e.createElement)(m,{isVisible:!1,message:O,inputId:"mp-card-number-helper"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row",id:"mp-card-holder-div"},(0,e.createElement)(l,{message:P,isOptinal:!1}),(0,e.createElement)("input",{className:"mp-checkout-custom-card-input mp-card-holder-name",placeholder:"Ex.: María López",id:"form-checkout__cardholderName",name:"mp-card-holder-name","data-checkout":"cardholderName"}),(0,e.createElement)(m,{isVisible:!1,message:U,inputId:"mp-card-holder-name-helper",dataMain:"mp-card-holder-name"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row mp-checkout-custom-dual-column-row"},(0,e.createElement)("div",{className:"mp-checkout-custom-card-column"},(0,e.createElement)(l,{message:D,isOptinal:!1}),(0,e.createElement)("div",{id:"form-checkout__expirationDate-container",className:"mp-checkout-custom-card-input mp-checkout-custom-left-card-input"}),(0,e.createElement)(m,{isVisible:!1,message:L,inputId:"mp-expiration-date-helper"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-column"},(0,e.createElement)(l,{message:V,isOptinal:!1}),(0,e.createElement)("div",{id:"form-checkout__securityCode-container",className:"mp-checkout-custom-card-input"}),(0,e.createElement)("p",{id:"mp-security-code-info",className:"mp-checkout-custom-info-text"}),(0,e.createElement)(m,{isVisible:!1,message:B,inputId:"mp-security-code-helper"}))),(0,e.createElement)("div",{id:"mp-doc-div",className:"mp-checkout-custom-input-document",style:{display:"none"}},(0,e.createElement)(s,{labelMessage:$,helperMessage:q,inputName:"identificationNumber",hiddenId:"form-checkout__identificationNumber",inputDataCheckout:"docNumber",selectId:"form-checkout__identificationType",selectName:"identificationType",selectDataCheckout:"docType",flagError:"docNumberError"}))),(0,e.createElement)("div",{id:"mp-checkout-custom-installments",className:"mp-checkout-custom-installments-display-none"},(0,e.createElement)("p",{className:"mp-checkout-custom-card-form-title"},A),(0,e.createElement)("div",{id:"mp-checkout-custom-issuers-container",className:"mp-checkout-custom-issuers-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-card-row"},(0,e.createElement)(l,{isOptinal:!1,message:Y,forId:"mp-issuer"})),(0,e.createElement)("div",{className:"mp-input-select-input"},(0,e.createElement)("select",{name:"issuer",id:"form-checkout__issuer",className:"mp-input-select-select"}))),(0,e.createElement)("div",{id:"mp-checkout-custom-installments-container",className:"mp-checkout-custom-installments-container"}),(0,e.createElement)(m,{isVisible:!1,message:j,inputId:"mp-installments-helper"}),(0,e.createElement)("select",{style:{display:"none"},"data-checkout":"installments",name:"installments",id:"form-checkout__installments",className:"mp-input-select-select"}),(0,e.createElement)("div",{id:"mp-checkout-custom-box-input-tax-cft"},(0,e.createElement)("div",{id:"mp-checkout-custom-box-input-tax-tea"},(0,e.createElement)("div",{id:"mp-checkout-custom-tax-tea-text"})),(0,e.createElement)("div",{id:"mp-checkout-custom-tax-cft-text"}))),(0,e.createElement)("div",{className:"mp-checkout-custom-terms-and-conditions"},(0,e.createElement)(i,{description:H,linkText:K,linkSrc:z,checkoutClass:"custom"}))))),(0,e.createElement)("div",{ref:W,id:"mercadopago-utilities",style:{display:"none"}},(0,e.createElement)("input",{type:"hidden",id:"cardTokenId",name:"mercadopago_custom[token]"}),(0,e.createElement)("input",{type:"hidden",id:"mpCardSessionId",name:"mercadopago_custom[session_id]"}),(0,e.createElement)("input",{type:"hidden",id:"cardExpirationYear","data-checkout":"cardExpirationYear"}),(0,e.createElement)("input",{type:"hidden",id:"cardExpirationMonth","data-checkout":"cardExpirationMonth"}),(0,e.createElement)("input",{type:"hidden",id:"cardInstallments",name:"mercadopago_custom[installments]"}),(0,e.createElement)("input",{type:"hidden",id:"paymentMethodId",name:"mercadopago_custom[payment_method_id]"}),(0,e.createElement)("input",{type:"hidden",id:"mp-amount",defaultValue:J,name:"mercadopago_custom[amount]"}),(0,e.createElement)("input",{type:"hidden",id:"currency_ratio",defaultValue:Q,name:"mercadopago_custom[currency_ratio]"}),(0,e.createElement)("input",{type:"hidden",id:"mp_checkout_type",name:"mercadopago_custom[checkout_type]",value:X})))},g={name:h,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:a}=t.components,c=(0,n.decodeEntities)(k?.params?.fee_title||""),o=`${E} ${c}`;return(0,e.createElement)(a,{text:o})}),null),content:(0,e.createElement)(y,null),edit:(0,e.createElement)(y,null),canMakePayment:()=>!0,ariaLabel:E,supports:{features:null!==(u=k?.supports)&&void 0!==u?u:[]}};(0,t.registerPaymentMethod)(g)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,a=window.wc.wcSettings,c=window.wp.element,n=window.wp.htmlEntities,o="mercadopago_blocks_update_cart";const m=({labelMessage:t,helperInvalid:a,helperEmpty:c,helperWrong:n,inputName:o,hiddenId:m,inputDataCheckout:s,selectId:l,selectName:r,selectDataCheckout:i,flagError:p,documents:d,validate:u})=>(0,e.createElement)("div",{className:"mp-checkout-ticket-input-document"},(0,e.createElement)("input-document",{"label-message":t,"helper-invalid":a,"helper-empty":c,"helper-wrong":n,"input-name":o,"hidden-id":m,"input-data-checkout":s,"select-id":l,"select-name":r,"select-data-checkout":i,"flag-error":p,documents:d,validate:u})),s=({isVisible:t,message:a,inputId:c,id:n,dataMain:o})=>(0,e.createElement)("input-helper",{isVisible:t,message:a,"input-id":c,id:n,"data-main":o}),l=({isOptinal:t,message:a,forId:c})=>(0,e.createElement)("input-label",{isOptinal:t,message:a,for:c}),r=({methods:t})=>(0,e.createElement)("payment-methods",{methods:t}),i=({description:t,linkText:a,linkSrc:c,checkoutClass:n="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${n}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":a,"link-src":c})),p=({title:t,description:a,linkText:c,linkSrc:n})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:a,"link-text":c,"link-src":n})),d=(e,t,a)=>{const c={name:e,message:t,target:a,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(c))};var u;const _="mp_checkout_blocks",h="woo-mercado-pago-custom",E=(0,a.getSetting)("woo-mercado-pago-custom_data",{}),k=(0,n.decodeEntities)(E.title)||"Checkout Custom",y=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:a,emitResponse:n}=e,{onPaymentSetup:m}=a;(0,c.useEffect)((()=>{((e,t)=>{e({namespace:o,data:{action:"add",gateway:t}})})(t,h);const e=m((()=>({type:n.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:o,data:{action:"remove",gateway:t}})})(t,h),e())}),[m])})(t);const{test_mode:a,test_mode_title:n,test_mode_description:u,test_mode_link_text:k,test_mode_link_src:y,wallet_button:g,wallet_button_image:v,wallet_button_title:b,wallet_button_description:f,wallet_button_button_text:w,available_payments_title_icon:N,available_payments_title:x,available_payments_image:C,payment_methods_items:S,payment_methods_promotion_link:I,payment_methods_promotion_text:T,site_id:M,card_form_title:R,card_number_input_label:F,card_number_input_helper:O,card_holder_name_input_label:P,card_holder_name_input_helper:U,card_expiration_input_label:D,card_expiration_input_helper:L,card_security_code_input_label:V,card_security_code_input_helper:B,card_document_input_label:$,card_input_document_helper_invalid:q,card_input_document_helper_empty:A,card_input_document_helper_wrong:Y,card_installments_title:j,card_issuer_input_label:H,card_installments_input_helper:K,terms_and_conditions_description:W,terms_and_conditions_link_text:z,terms_and_conditions_link_src:J,amount:Q,currency_ratio:G,message_error_amount:X}=E.params;if(null==Q)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},X));const Z=(0,c.useRef)(null),[ee,te]=(0,c.useState)("custom"),{eventRegistration:ae,emitResponse:ce,onSubmit:ne}=t,{onPaymentSetup:oe,onCheckoutSuccess:me,onCheckoutFail:se}=ae;return window.mpFormId="blocks_checkout_form",window.mpCheckoutForm=document.querySelector(".wc-block-components-form.wc-block-checkout__form"),jQuery(window.mpCheckoutForm).prop("id",mpFormId),(0,c.useEffect)((()=>{var e,a;e=t.billing.cartTotal.value,a=t.billing.currency,cardFormMounted&&cardForm.unmount(),initCardForm(function(e,t){if(!Number.isInteger(e)||"object"!=typeof t)throw new Error("Invalid input");const a=(e/Math.pow(10,t.minorUnit)).toFixed(t.minorUnit).split(".");return`${a[0]}.${a[1]}`}(e,a))}),[t.billing.cartTotal.value]),(0,c.useEffect)((()=>{const e=oe((async()=>{const e=document.querySelector("#form-checkout__cardholderName"),t=document.querySelector("#mp-card-holder-name-helper");var a;if(""==e.value&&("flex",(a=t)&&a.style&&(a.style.display="flex")),"wallet_button"!==document.querySelector("#mp_checkout_type").value)try{if(!CheckoutPage.validateInputsCreateToken())return{type:ce.responseTypes.ERROR};{const e=await cardForm.createCardToken();document.querySelector("#cardTokenId").value=e.token}}catch(e){console.warn("Token creation error: ",e)}const c=Z.current,n={};return c.childNodes.forEach((e=>{"INPUT"===e.tagName&&e.name&&(n[e.name]=e.value)})),te("custom"),{type:ce.responseTypes.SUCCESS,meta:{paymentMethodData:n}}}));return()=>e()}),[oe,ce.responseTypes.ERROR,ce.responseTypes.SUCCESS]),(0,c.useEffect)((()=>{const e=me((async e=>{const t=e.processingResponse,a=e.processingResponse.paymentDetails;if(a.three_ds_flow){const e=new Promise(((e,t)=>{window.addEventListener("completed_3ds",(a=>{a.detail.error&&(console.log("rejecting with "+a.detail.error),t(a.detail.error)),e()}))}));return load3DSFlow(a.last_four_digits),await e.then((()=>({type:ce.responseTypes.SUCCESS}))).catch((e=>({type:ce.responseTypes.FAIL,message:e,messageContext:ce.noticeContexts.PAYMENTS})))}return d("MP_CUSTOM_BLOCKS_SUCCESS",t.paymentStatus,_),{type:ce.responseTypes.SUCCESS}}));return()=>e()}),[me]),(0,c.useEffect)((()=>{const e=se((e=>{const t=e.processingResponse;return d("MP_CUSTOM_BLOCKS_ERROR",t.paymentStatus,_),{type:ce.responseTypes.FAIL,messageContext:ce.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[se]),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"mp-checkout-custom-load"},(0,e.createElement)("div",{className:"spinner-card-form"})),(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-container"},a?(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)(p,{title:n,description:u,linkText:k,linkSrc:y})):null,"yes"===g?(0,e.createElement)("div",{className:"mp-wallet-button-container"},(0,e.createElement)("img",{src:v}),(0,e.createElement)("div",{className:"mp-wallet-button-title"},(0,e.createElement)("span",null,b)),(0,e.createElement)("div",{className:"mp-wallet-button-description"},f),(0,e.createElement)("div",{className:"mp-wallet-button-button"},(0,e.createElement)("button",{id:"mp-wallet-button",type:"button",onClick:e=>{e.preventDefault(),te("wallet_button"),ne()}},w))):null,(0,e.createElement)("div",{id:"mp-custom-checkout-form-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments"},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-header",onClick:()=>{const e=document.getElementsByClassName("mp-checkout-custom-available-payments")[0],t=e.getElementsByClassName("mp-checkout-custom-available-payments-header")[0].getElementsByClassName("mp-checkout-custom-available-payments-collapsible")[0],a=e.getElementsByClassName("mp-checkout-custom-available-payments-content")[0];if(a.style.maxHeight)t.src=E.params.available_payments_chevron_down,a.style.maxHeight=null,a.style.padding="0px";else{let e=a.scrollHeight+15+"px";t.src=E.params.available_payments_chevron_up,a.style.setProperty("max-height",e,"important"),a.style.setProperty("padding","24px 0px 0px","important")}}},(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-title"},(0,e.createElement)("img",{src:N,className:"mp-icon"}),(0,e.createElement)("p",{className:"mp-checkout-custom-available-payments-text"},x)),(0,e.createElement)("img",{src:C,className:"mp-checkout-custom-available-payments-collapsible"})),(0,e.createElement)("div",{className:"mp-checkout-custom-available-payments-content"},(0,e.createElement)(r,{methods:S}),"MLA"===M?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{id:"mp_promotion_link"}," | "),(0,e.createElement)("a",{href:I,id:"mp_checkout_link",className:"mp-checkout-link mp-pl-10",target:"_blank"},T)):null,(0,e.createElement)("hr",null))),(0,e.createElement)("div",{className:"mp-checkout-custom-card-form"},(0,e.createElement)("p",{className:"mp-checkout-custom-card-form-title"},R),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row"},(0,e.createElement)(l,{isOptinal:!1,message:F,forId:"mp-card-number"}),(0,e.createElement)("div",{className:"mp-checkout-custom-card-input",id:"form-checkout__cardNumber-container"}),(0,e.createElement)(s,{isVisible:!1,message:O,inputId:"mp-card-number-helper"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row",id:"mp-card-holder-div"},(0,e.createElement)(l,{message:P,isOptinal:!1}),(0,e.createElement)("input",{className:"mp-checkout-custom-card-input mp-card-holder-name",placeholder:"Ex.: María López",id:"form-checkout__cardholderName",name:"mp-card-holder-name","data-checkout":"cardholderName"}),(0,e.createElement)(s,{isVisible:!1,message:U,inputId:"mp-card-holder-name-helper",dataMain:"mp-card-holder-name"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-row mp-checkout-custom-dual-column-row"},(0,e.createElement)("div",{className:"mp-checkout-custom-card-column"},(0,e.createElement)(l,{message:D,isOptinal:!1}),(0,e.createElement)("div",{id:"form-checkout__expirationDate-container",className:"mp-checkout-custom-card-input mp-checkout-custom-left-card-input"}),(0,e.createElement)(s,{isVisible:!1,message:L,inputId:"mp-expiration-date-helper"})),(0,e.createElement)("div",{className:"mp-checkout-custom-card-column"},(0,e.createElement)(l,{message:V,isOptinal:!1}),(0,e.createElement)("div",{id:"form-checkout__securityCode-container",className:"mp-checkout-custom-card-input"}),(0,e.createElement)("p",{id:"mp-security-code-info",className:"mp-checkout-custom-info-text"}),(0,e.createElement)(s,{isVisible:!1,message:B,inputId:"mp-security-code-helper"}))),(0,e.createElement)("div",{id:"mp-doc-div",className:"mp-checkout-custom-input-document",style:{display:"none"}},(0,e.createElement)(m,{labelMessage:$,helperInvalid:q,helperEmpty:A,helperWrong:Y,inputName:"identificationNumber",hiddenId:"form-checkout__identificationNumber",inputDataCheckout:"docNumber",selectId:"form-checkout__identificationType",selectName:"identificationType",selectDataCheckout:"docType",flagError:"docNumberError"}))),(0,e.createElement)("div",{id:"mp-checkout-custom-installments",className:"mp-checkout-custom-installments-display-none"},(0,e.createElement)("p",{className:"mp-checkout-custom-card-form-title"},j),(0,e.createElement)("div",{id:"mp-checkout-custom-issuers-container",className:"mp-checkout-custom-issuers-container"},(0,e.createElement)("div",{className:"mp-checkout-custom-card-row"},(0,e.createElement)(l,{isOptinal:!1,message:H,forId:"mp-issuer"})),(0,e.createElement)("div",{className:"mp-input-select-input"},(0,e.createElement)("select",{name:"issuer",id:"form-checkout__issuer",className:"mp-input-select-select"}))),(0,e.createElement)("div",{id:"mp-checkout-custom-installments-container",className:"mp-checkout-custom-installments-container"}),(0,e.createElement)(s,{isVisible:!1,message:K,inputId:"mp-installments-helper"}),(0,e.createElement)("select",{style:{display:"none"},"data-checkout":"installments",name:"installments",id:"form-checkout__installments",className:"mp-input-select-select"}),(0,e.createElement)("div",{id:"mp-checkout-custom-box-input-tax-cft"},(0,e.createElement)("div",{id:"mp-checkout-custom-box-input-tax-tea"},(0,e.createElement)("div",{id:"mp-checkout-custom-tax-tea-text"})),(0,e.createElement)("div",{id:"mp-checkout-custom-tax-cft-text"}))),(0,e.createElement)("div",{className:"mp-checkout-custom-terms-and-conditions"},(0,e.createElement)(i,{description:W,linkText:z,linkSrc:J,checkoutClass:"custom"}))))),(0,e.createElement)("div",{ref:Z,id:"mercadopago-utilities",style:{display:"none"}},(0,e.createElement)("input",{type:"hidden",id:"cardTokenId",name:"mercadopago_custom[token]"}),(0,e.createElement)("input",{type:"hidden",id:"mpCardSessionId",name:"mercadopago_custom[session_id]"}),(0,e.createElement)("input",{type:"hidden",id:"cardExpirationYear","data-checkout":"cardExpirationYear"}),(0,e.createElement)("input",{type:"hidden",id:"cardExpirationMonth","data-checkout":"cardExpirationMonth"}),(0,e.createElement)("input",{type:"hidden",id:"cardInstallments",name:"mercadopago_custom[installments]"}),(0,e.createElement)("input",{type:"hidden",id:"paymentMethodId",name:"mercadopago_custom[payment_method_id]"}),(0,e.createElement)("input",{type:"hidden",id:"mp-amount",defaultValue:Q,name:"mercadopago_custom[amount]"}),(0,e.createElement)("input",{type:"hidden",id:"currency_ratio",defaultValue:G,name:"mercadopago_custom[currency_ratio]"}),(0,e.createElement)("input",{type:"hidden",id:"mp_checkout_type",name:"mercadopago_custom[checkout_type]",value:ee})))},g={name:h,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:a}=t.components,c=(0,n.decodeEntities)(E?.params?.fee_title||""),o=`${k} ${c}`;return(0,e.createElement)(a,{text:o})}),null),content:(0,e.createElement)(y,null),edit:(0,e.createElement)(y,null),canMakePayment:()=>!0,ariaLabel:k,supports:{features:null!==(u=E?.supports)&&void 0!==u?u:[]}};(0,t.registerPaymentMethod)(g)})();
\ No newline at end of file
diff --git a/build/pix.block.asset.php b/build/pix.block.asset.php
index e9f4e86d5..b732f8ff2 100644
--- a/build/pix.block.asset.php
+++ b/build/pix.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '5c9b1d072f01ce572d35');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '709c1cad2c6a4826a6a1');
diff --git a/build/pix.block.js b/build/pix.block.js
index 4b29d09b3..e9936a8d5 100644
--- a/build/pix.block.js
+++ b/build/pix.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wp.element,n=window.wc.wcBlocksRegistry,s=window.wp.htmlEntities,a=window.wc.wcSettings,c="mercadopago_blocks_update_cart",o=({title:t,description:n,linkText:s,linkSrc:a})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:n,"link-text":s,"link-src":a})),i=({title:t,subtitle:n,alt:s,linkSrc:a})=>(0,e.createElement)("pix-template",{title:t,subtitle:n,alt:s,src:a}),r=({description:t,linkText:n,linkSrc:s,checkoutClass:a="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${a}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":n,"link-src":s})),l=(e,t,n)=>{const s={name:e,message:t,target:n,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(s))};var m;const p="mp_checkout_blocks",d="woo-mercado-pago-pix",_=(0,a.getSetting)("woo-mercado-pago-pix_data",{}),u=(0,s.decodeEntities)(_.title)||"Checkout Pix",k=n=>{(e=>{const{extensionCartUpdate:n}=wc.blocksCheckout,{eventRegistration:s,emitResponse:a}=e,{onPaymentSetup:o,onCheckoutSuccess:i,onCheckoutFail:r}=s;(0,t.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(n,d);const e=o((()=>({type:a.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(n,d),e())}),[o]),(0,t.useEffect)((()=>{const e=i((async e=>{e.processingResponse.message=d;const t=e.processingResponse;return l("MP_PIX_BLOCKS_SUCCESS",t.paymentStatus,p),{type:a.responseTypes.SUCCESS}}));return()=>e()}),[i]),(0,t.useEffect)((()=>{const e=r((e=>{const t=e.processingResponse;return l("MP_PIX_BLOCKS_ERROR",t.paymentStatus,p),{type:a.responseTypes.FAIL,messageContext:a.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[r])})(n);const{test_mode_title:s,test_mode_description:a,pix_template_title:m,pix_template_subtitle:u,pix_template_src:k,pix_template_alt:g,terms_and_conditions_description:w,terms_and_conditions_link_text:E,terms_and_conditions_link_src:S,test_mode:h,amount:x,message_error_amount:y}=_.params;return null==x?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},y)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-pix-container"},(0,e.createElement)("div",{className:"mp-checkout-pix-content"},h?(0,e.createElement)(o,{title:s,description:a}):null,(0,e.createElement)(i,{title:m,subtitle:u,alt:g,linkSrc:k}))),(0,e.createElement)(r,{description:w,linkText:E,linkSrc:S,checkoutClass:"pix"}))},g={name:d,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components,a=(0,s.decodeEntities)(_?.params?.fee_title||""),c=`${u} ${a}`;return(0,e.createElement)(n,{text:c})}),null),content:(0,e.createElement)(k,null),edit:(0,e.createElement)(k,null),canMakePayment:()=>!0,ariaLabel:u,supports:{features:null!==(m=_?.supports)&&void 0!==m?m:[]}};(0,n.registerPaymentMethod)(g)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wp.element,n=window.wc.wcBlocksRegistry,s=window.wp.htmlEntities,a=window.wc.wcSettings,c="mercadopago_blocks_update_cart",o=({title:t,description:n,linkText:s,linkSrc:a})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:n,"link-text":s,"link-src":a})),i=({title:t,subtitle:n,alt:s,linkSrc:a})=>(0,e.createElement)("pix-template",{title:t,subtitle:n,alt:s,src:a}),r=({description:t,linkText:n,linkSrc:s,checkoutClass:a="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${a}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":n,"link-src":s})),l=(e,t,n)=>{const s={name:e,message:t,target:n,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(s))};var m;const p="mp_checkout_blocks",d="woo-mercado-pago-pix",_=(0,a.getSetting)("woo-mercado-pago-pix_data",{}),u=(0,s.decodeEntities)(_.title)||"Checkout Pix",k=n=>{(e=>{const{extensionCartUpdate:n}=wc.blocksCheckout,{eventRegistration:s,emitResponse:a}=e,{onPaymentSetup:o,onCheckoutSuccess:i,onCheckoutFail:r}=s;(0,t.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(n,d);const e=o((()=>({type:a.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(n,d),e())}),[o]),(0,t.useEffect)((()=>{const e=i((async e=>{e.processingResponse.message=d;const t=e.processingResponse;return l("MP_PIX_BLOCKS_SUCCESS",t.paymentStatus,p),{type:a.responseTypes.SUCCESS}}));return()=>e()}),[i]),(0,t.useEffect)((()=>{const e=r((e=>{const t=e.processingResponse;return l("MP_PIX_BLOCKS_ERROR",t.paymentStatus,p),{type:a.responseTypes.FAIL,messageContext:a.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[r])})(n);const{test_mode_title:s,test_mode_description:a,pix_template_title:m,pix_template_subtitle:u,pix_template_src:k,pix_template_alt:g,terms_and_conditions_description:w,terms_and_conditions_link_text:E,terms_and_conditions_link_src:S,test_mode:h,amount:x,message_error_amount:y}=_.params;return null==x?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},y)):(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-pix-container"},(0,e.createElement)("div",{className:"mp-checkout-pix-content"},h?(0,e.createElement)(o,{title:s,description:a}):null,(0,e.createElement)(i,{title:m,subtitle:u,alt:g,linkSrc:k}))),(0,e.createElement)(r,{description:w,linkText:E,linkSrc:S,checkoutClass:"pix"}))},g={name:d,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components,a=(0,s.decodeEntities)(_?.params?.fee_title||""),c=`${u} ${a}`;return(0,e.createElement)(n,{text:c})}),null),content:(0,e.createElement)(k,null),edit:(0,e.createElement)(k,null),canMakePayment:()=>!0,ariaLabel:u,supports:{features:null!==(m=_?.supports)&&void 0!==m?m:[]}};(0,n.registerPaymentMethod)(g)})();
\ No newline at end of file
diff --git a/build/pse.block.asset.php b/build/pse.block.asset.php
index 5ea9bdaff..afd287af6 100644
--- a/build/pse.block.asset.php
+++ b/build/pse.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '0dc48022977a91f311c9');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'aa6148c1c7b230bd94a5');
diff --git a/build/pse.block.js b/build/pse.block.js
index 1b9e56464..f5bd5d5c9 100644
--- a/build/pse.block.js
+++ b/build/pse.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,n=window.wc.wcSettings,a=window.wp.element,o=window.wp.htmlEntities,c="mercadopago_blocks_update_cart",s=({labelMessage:t,helperMessage:n,inputName:a,hiddenId:o,inputDataCheckout:c,selectId:s,selectName:r,selectDataCheckout:i,flagError:l,documents:p,validate:m})=>(0,e.createElement)("div",{className:"mp-checkout-ticket-input-document"},(0,e.createElement)("input-document",{"label-message":t,"helper-message":n,"input-name":a,"hidden-id":o,"input-data-checkout":c,"select-id":s,"select-name":r,"select-data-checkout":i,"flag-error":l,documents:p,validate:m})),r=({description:t,linkText:n,linkSrc:a,checkoutClass:o="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${o}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":n,"link-src":a})),i=({title:t,description:n,linkText:a,linkSrc:o})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:n,"link-text":a,"link-src":o})),l=(e,t,n)=>{const a={name:e,message:t,target:n,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))},p=({name:t,label:n,optional:a,options:o,helperMessage:c,hiddenId:s,defaultOption:r})=>(0,e.createElement)("input-select",{name:t,label:n,options:o,optional:a,"helper-message":c,"hidden-id":s,"default-option":r});var m;const d="mp_checkout_blocks",u="woo-mercado-pago-pse",_=(0,n.getSetting)("woo-mercado-pago-pse_data",{}),g=(0,o.decodeEntities)(_.title)||"Checkout Pse",k=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:n,emitResponse:o}=e,{onPaymentSetup:s,onCheckoutSuccess:r,onCheckoutFail:i}=n;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(t,u);const e=s((()=>({type:o.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(t,u),e())}),[s]),(0,a.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return l("MP_PSE_BLOCKS_SUCCESS",t.paymentStatus,d),{type:o.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,a.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return l("MP_PSE_BLOCKS_ERROR",t.paymentStatus,d),{type:o.responseTypes.FAIL,messageContext:o.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[i])})(t);const{test_mode_title:n,test_mode_description:o,test_mode_link_text:m,test_mode_link_src:g,input_document_label:k,input_document_helper:h,pse_text_label:y,person_type_label:E,amount:S,site_id:f,terms_and_conditions_description:v,terms_and_conditions_link_text:b,terms_and_conditions_link_src:w,test_mode:C,financial_institutions:N,financial_institutions_label:x,financial_institutions_helper:R,financial_placeholder:T,message_error_amount:M}=_.params;if(null==S)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},M));const P=(0,a.useRef)(null),{eventRegistration:q,emitResponse:O}=t,{onPaymentSetup:I}=q;let U={labelMessage:k,helperMessage:h,validate:"true",selectId:"doc_type",flagError:"mercadopago_pse[docNumberError]",inputName:"mercadopago_pse[docNumber]",selectName:"mercadopago_pse[docType]",documents:'["CC","CE","NIT"]'};return(0,a.useEffect)((()=>{const e=I((async()=>{const e=document.querySelector(".mp-checkout-pse-input-document").querySelector(".mp-input-document > input-helper > div"),t={"mercadopago_pse[site_id]":f,"mercadopago_pse[amount]":S.toString(),"mercadopago_pse[doc_type]":P.current.querySelector("#doc_type")?.value,"mercadopago_pse[doc_number]":P.current.querySelector("#form-checkout__identificationNumber-container > input")?.value,"mercadopago_pse[bank]":P.current.querySelector("#mercadopago_pse\\[bank\\]").value,"mercadopago_pse[person_type]":P.current.querySelector("#mercadopago_pse\\[person_type\\]").value};U.documents&&""===t["mercadopago_pse[doc_number]"]&&o(e,"flex");let n=document.querySelector("#mercadopago_pse\\[bank\\]"),a=document.querySelector(".mp-checkout-pse-bank").querySelector("input-helper > div");function o(e,t){e&&e.style&&(e.style.display=t)}function c(e){return e&&"flex"===e.style.display}return""!==n.value&&{financial_placeholder:T}!==n.value||o(a,"flex"),{type:c(a)||c(e)?O.responseTypes.ERROR:O.responseTypes.SUCCESS,meta:{paymentMethodData:t}}}));return()=>e()}),[O.responseTypes.ERROR,O.responseTypes.SUCCESS,I]),(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("p",{className:"mp-checkout-pse-text","data-cy":"checkout-pse-text"},y),(0,e.createElement)("div",{className:"mp-checkout-pse-container"},(0,e.createElement)("div",{ref:P,className:"mp-checkout-pse-content"},C?(0,e.createElement)(i,{title:n,description:o,"link-text":m,"link-src":g}):null,(0,e.createElement)("div",{className:"mp-checkout-pse-person"},(0,e.createElement)(p,{name:"mercadopago_pse[person_type]",label:E,optional:!1,options:'[{"id":"individual", "description": "individual"},{"id":"association", "description": "asociación"}]'})),(0,e.createElement)("div",{className:"mp-checkout-pse-input-document"},U.documents?(0,e.createElement)(s,{...U}):null),(0,e.createElement)("div",{className:"mp-checkout-pse-bank"},(0,e.createElement)(p,{name:"mercadopago_pse[bank]",label:x,optional:!1,options:N,"hidden-id":"hidden-financial-pse","helper-message":R,"default-option":T})),(0,e.createElement)("div",{id:"mp-box-loading"}))),(0,e.createElement)(r,{description:v,linkText:b,linkSrc:w,checkoutClass:"pse"}))},h={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components,a=(0,o.decodeEntities)(_?.params?.fee_title||""),c=`${g} ${a}`;return(0,e.createElement)(n,{text:c})}),null),content:(0,e.createElement)(k,null),edit:(0,e.createElement)(k,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(m=_?.supports)&&void 0!==m?m:[]}};(0,t.registerPaymentMethod)(h)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,n=window.wc.wcSettings,a=window.wp.element,o=window.wp.htmlEntities,c="mercadopago_blocks_update_cart",s=({labelMessage:t,helperInvalid:n,helperEmpty:a,helperWrong:o,inputName:c,hiddenId:s,inputDataCheckout:r,selectId:i,selectName:l,selectDataCheckout:p,flagError:m,documents:d,validate:u})=>(0,e.createElement)("div",{className:"mp-checkout-ticket-input-document"},(0,e.createElement)("input-document",{"label-message":t,"helper-invalid":n,"helper-empty":a,"helper-wrong":o,"input-name":c,"hidden-id":s,"input-data-checkout":r,"select-id":i,"select-name":l,"select-data-checkout":p,"flag-error":m,documents:d,validate:u})),r=({description:t,linkText:n,linkSrc:a,checkoutClass:o="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${o}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":n,"link-src":a})),i=({title:t,description:n,linkText:a,linkSrc:o})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:n,"link-text":a,"link-src":o})),l=(e,t,n)=>{const a={name:e,message:t,target:n,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))},p=({name:t,label:n,optional:a,options:o,helperMessage:c,hiddenId:s,defaultOption:r})=>(0,e.createElement)("input-select",{name:t,label:n,options:o,optional:a,"helper-message":c,"hidden-id":s,"default-option":r});var m;const d="mp_checkout_blocks",u="woo-mercado-pago-pse",_=(0,n.getSetting)("woo-mercado-pago-pse_data",{}),g=(0,o.decodeEntities)(_.title)||"Checkout Pse",h=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:n,emitResponse:o}=e,{onPaymentSetup:s,onCheckoutSuccess:r,onCheckoutFail:i}=n;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(t,u);const e=s((()=>({type:o.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(t,u),e())}),[s]),(0,a.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return l("MP_PSE_BLOCKS_SUCCESS",t.paymentStatus,d),{type:o.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,a.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return l("MP_PSE_BLOCKS_ERROR",t.paymentStatus,d),{type:o.responseTypes.FAIL,messageContext:o.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[i])})(t);const{test_mode_title:n,test_mode_description:o,test_mode_link_text:m,test_mode_link_src:g,input_document_label:h,input_document_helper_empty:k,input_document_helper_invalid:y,input_document_helper_wrong:E,pse_text_label:S,person_type_label:v,amount:f,site_id:w,terms_and_conditions_description:b,terms_and_conditions_link_text:C,terms_and_conditions_link_src:N,test_mode:x,financial_institutions:R,financial_institutions_label:T,financial_institutions_helper:P,financial_placeholder:M,message_error_amount:q}=_.params;if(null==f)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},q));const I=(0,a.useRef)(null),{eventRegistration:O,emitResponse:U}=t,{onPaymentSetup:L}=O;let $={labelMessage:h,helperInvalid:y,helperEmpty:k,helperWrong:E,validate:"true",selectId:"doc_type",flagError:"mercadopago_pse[docNumberError]",inputName:"mercadopago_pse[docNumber]",selectName:"mercadopago_pse[docType]",documents:'["CC","CE","NIT"]'};return(0,a.useEffect)((()=>{const e=L((async()=>{const e=document.querySelector(".mp-checkout-pse-input-document").querySelector(".mp-input-document > input-helper > div"),t={"mercadopago_pse[site_id]":w,"mercadopago_pse[amount]":f.toString(),"mercadopago_pse[doc_type]":I.current.querySelector("#doc_type")?.value,"mercadopago_pse[doc_number]":I.current.querySelector("#form-checkout__identificationNumber-container > input")?.value,"mercadopago_pse[bank]":I.current.querySelector("#mercadopago_pse\\[bank\\]").value,"mercadopago_pse[person_type]":I.current.querySelector("#mercadopago_pse\\[person_type\\]").value};$.documents&&""===t["mercadopago_pse[doc_number]"]&&o(e,"flex");let n=document.querySelector("#mercadopago_pse\\[bank\\]"),a=document.querySelector(".mp-checkout-pse-bank").querySelector("input-helper > div");function o(e,t){e&&e.style&&(e.style.display=t)}function c(e){return e&&"flex"===e.style.display}return""!==n.value&&{financial_placeholder:M}!==n.value||o(a,"flex"),{type:c(a)||c(e)?U.responseTypes.ERROR:U.responseTypes.SUCCESS,meta:{paymentMethodData:t}}}));return()=>e()}),[U.responseTypes.ERROR,U.responseTypes.SUCCESS,L]),(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("p",{className:"mp-checkout-pse-text","data-cy":"checkout-pse-text"},S),(0,e.createElement)("div",{className:"mp-checkout-pse-container"},(0,e.createElement)("div",{ref:I,className:"mp-checkout-pse-content"},x?(0,e.createElement)(i,{title:n,description:o,"link-text":m,"link-src":g}):null,(0,e.createElement)("div",{className:"mp-checkout-pse-person"},(0,e.createElement)(p,{name:"mercadopago_pse[person_type]",label:v,optional:!1,options:'[{"id":"individual", "description": "individual"},{"id":"association", "description": "asociación"}]'})),(0,e.createElement)("div",{className:"mp-checkout-pse-input-document"},$.documents?(0,e.createElement)(s,{...$}):null),(0,e.createElement)("div",{className:"mp-checkout-pse-bank"},(0,e.createElement)(p,{name:"mercadopago_pse[bank]",label:T,optional:!1,options:R,"hidden-id":"hidden-financial-pse","helper-message":P,"default-option":M})),(0,e.createElement)("div",{id:"mp-box-loading"}))),(0,e.createElement)(r,{description:b,linkText:C,linkSrc:N,checkoutClass:"pse"}))},k={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components,a=(0,o.decodeEntities)(_?.params?.fee_title||""),c=`${g} ${a}`;return(0,e.createElement)(n,{text:c})}),null),content:(0,e.createElement)(h,null),edit:(0,e.createElement)(h,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(m=_?.supports)&&void 0!==m?m:[]}};(0,t.registerPaymentMethod)(k)})();
\ No newline at end of file
diff --git a/build/ticket.block.asset.php b/build/ticket.block.asset.php
index 107e10711..8d65871fa 100644
--- a/build/ticket.block.asset.php
+++ b/build/ticket.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'e0c9a216a8cdf760ef02');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '9707df5c1ac2634dd38d');
diff --git a/build/ticket.block.js b/build/ticket.block.js
index c7ea0e31b..473228fe1 100644
--- a/build/ticket.block.js
+++ b/build/ticket.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,n=window.wc.wcSettings,a=window.wp.element,c=window.wp.htmlEntities,o="mercadopago_blocks_update_cart",s=({labelMessage:t,helperMessage:n,inputName:a,hiddenId:c,inputDataCheckout:o,selectId:s,selectName:r,selectDataCheckout:i,flagError:m,documents:l,validate:d})=>(0,e.createElement)("div",{className:"mp-checkout-ticket-input-document"},(0,e.createElement)("input-document",{"label-message":t,"helper-message":n,"input-name":a,"hidden-id":c,"input-data-checkout":o,"select-id":s,"select-name":r,"select-data-checkout":i,"flag-error":m,documents:l,validate:d})),r=({isVisible:t,message:n,inputId:a,id:c,dataMain:o})=>(0,e.createElement)("input-helper",{isVisible:t,message:n,"input-id":a,id:c,"data-main":o}),i=({name:t,buttonName:n,columns:a})=>(0,e.createElement)("input-table",{name:t,"button-name":n,columns:a}),m=({description:t,linkText:n,linkSrc:a,checkoutClass:c="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${c}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":n,"link-src":a})),l=({title:t,description:n,linkText:a,linkSrc:c})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:n,"link-text":a,"link-src":c})),d=(e,t,n)=>{const a={name:e,message:t,target:n,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))};var p;const u="mp_checkout_blocks",_="woo-mercado-pago-ticket",k=(0,n.getSetting)("woo-mercado-pago-ticket_data",{}),g=(0,c.decodeEntities)(k.title)||"Checkout Ticket",h=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:n,emitResponse:c}=e,{onPaymentSetup:s,onCheckoutSuccess:r,onCheckoutFail:i}=n;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:o,data:{action:"add",gateway:t}})})(t,_);const e=s((()=>({type:c.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:o,data:{action:"remove",gateway:t}})})(t,_),e())}),[s]),(0,a.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return d("MP_TICKET_BLOCKS_SUCCESS",t.paymentStatus,u),{type:c.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,a.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return d("MP_TICKET_BLOCKS_ERROR",t.paymentStatus,u),{type:c.responseTypes.FAIL,messageContext:c.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[i])})(t);const{test_mode_title:n,test_mode_description:c,test_mode_link_text:p,test_mode_link_src:g,input_document_label:h,input_document_helper:y,ticket_text_label:E,input_table_button:S,input_helper_label:f,payment_methods:w,amount:b,site_id:C,terms_and_conditions_description:v,terms_and_conditions_link_text:N,terms_and_conditions_link_src:T,test_mode:R,message_error_amount:x}=k.params;if(null==b)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",{className:"alert-message"},x));const M=(0,a.useRef)(null),{eventRegistration:I,emitResponse:P}=t,{onPaymentSetup:O}=I;let B={labelMessage:h,helperMessage:y,validate:"true",selectId:"docType",flagError:"mercadopago_ticket[docNumberError]",inputName:"mercadopago_ticket[docNumber]",selectName:"mercadopago_ticket[docType]",documents:function(e){switch(e){case"MLB":return'["CPF","CNPJ"]';case"MLU":return'["CI","OTRO"]';default:return null}}(C)};return(0,a.useEffect)((()=>{const e=O((async()=>{const e=document.getElementById("mp-doc-number-helper"),t=document.getElementById("mp-payment-method-helper"),n={"mercadopago_ticket[site_id]":C,"mercadopago_ticket[amount]":b.toString(),"mercadopago_ticket[doc_type]":M.current.querySelector("#docType")?.value,"mercadopago_ticket[doc_number]":M.current.querySelector("#form-checkout__identificationNumber-container > input")?.value},a=w.find((e=>{const t=`#${e.id}`,n=M.current.querySelector(t);return n&&n.checked}));function c(e,t){e&&e.style&&(e.style.display=t)}function o(e){return e&&"flex"===e.style.display}return a&&(n["mercadopago_ticket[payment_method_id]"]=M.current.querySelector(`#${a.id}`).value,t.style.display="none"),B.documents&&""===n["mercadopago_ticket[doc_number]"]&&c(e,"flex"),n["mercadopago_ticket[payment_method_id]"]||c(t,"flex"),{type:o(e)||o(t)?P.responseTypes.ERROR:P.responseTypes.SUCCESS,meta:{paymentMethodData:n}}}));return()=>e()}),[P.responseTypes.ERROR,P.responseTypes.SUCCESS,O]),(0,e.createElement)("div",{className:"mp-checkout-container"},(0,e.createElement)("div",{className:"mp-checkout-ticket-container"},(0,e.createElement)("div",{ref:M,className:"mp-checkout-ticket-content"},R?(0,e.createElement)(l,{title:n,description:c,"link-text":p,"link-src":g}):null,B.documents?(0,e.createElement)(s,{...B}):null,(0,e.createElement)("p",{className:"mp-checkout-ticket-text"},E),(0,e.createElement)(i,{name:"mercadopago_ticket[payment_method_id]",buttonName:S,columns:JSON.stringify(w)}),(0,e.createElement)(r,{isVisible:"false",message:f,inputId:"mp-payment-method-helper",id:"payment-method-helper"}),(0,e.createElement)("div",{id:"mp-box-loading"}))),(0,e.createElement)(m,{description:v,linkText:N,linkSrc:T,checkoutClass:"ticket"}))},y={name:_,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components,a=(0,c.decodeEntities)(k?.params?.fee_title||""),o=`${g} ${a}`;return(0,e.createElement)(n,{text:o})}),null),content:(0,e.createElement)(h,null),edit:(0,e.createElement)(h,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(p=k?.supports)&&void 0!==p?p:[]}};(0,t.registerPaymentMethod)(y)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,o=window.wc.wcSettings,a=window.wp.element,c=window.wp.htmlEntities,n="mercadopago_blocks_update_cart",s=(e,t,o)=>{const a={name:e,message:t,target:o,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))};var r;const m="mp_checkout_blocks",d="woo-mercado-pago-ticket",i=(0,o.getSetting)("woo-mercado-pago-ticket_data",{}),p=(0,c.decodeEntities)(i.title)||"Checkout Ticket",u=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:o,emitResponse:c}=e,{onPaymentSetup:r,onCheckoutSuccess:i,onCheckoutFail:p}=o;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:n,data:{action:"add",gateway:t}})})(t,d);const e=r((()=>({type:c.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:n,data:{action:"remove",gateway:t}})})(t,d),e())}),[r]),(0,a.useEffect)((()=>{const e=i((async e=>{const t=e.processingResponse;return s("MP_TICKET_BLOCKS_SUCCESS",t.paymentStatus,m),{type:c.responseTypes.SUCCESS}}));return()=>e()}),[i]),(0,a.useEffect)((()=>{const e=p((e=>{const t=e.processingResponse;return s("MP_TICKET_BLOCKS_ERROR",t.paymentStatus,m),{type:c.responseTypes.FAIL,messageContext:c.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[p])})(t);const{eventRegistration:o,emitResponse:c}=t,{onPaymentSetup:r}=o,p=["address_city","address_federal_unit","address_zip_code","address_street_name","address_street_number","address_neighborhood","address_complement"];return(0,a.useEffect)((()=>{const e=r((async()=>{var e;const t=document.querySelector(".mp-input"),o=document.getElementById("mp-doc-number-helper"),a=document.getElementById("mp-payment-method-helper"),n={"mercadopago_ticket[site_id]":document.getElementsByName("mercadopago_ticket[site_id]")[0].value,"mercadopago_ticket[amount]":document.getElementsByName("mercadopago_ticket[amount]")[0].value,"mercadopago_ticket[doc_type]":document.getElementsByName("mercadopago_ticket[doc_type]")[0]?.value,"mercadopago_ticket[doc_number]":null!==(e=document.getElementsByName("mercadopago_ticket[doc_number]")[0]?.value)&&void 0!==e?e:document.getElementsByName("mercadopago_ticket[docNumberError]")[0]?.value};document.querySelector(".mp-checkout-ticket-container").querySelectorAll(".mp-input-radio-radio").forEach((e=>{e.checked&&(n["mercadopago_ticket[payment_method_id]"]=e.value,a.style.display="none")}));const s=document.getElementsByName("mercadopago_ticket[site_id]")[0].value;"MLB"==s&&p.forEach((e=>{n[`mercadopago_ticket[${e}]`]=document.querySelector(`#form-checkout__${e}`).value})),"MLB"!=s&&"MLU"!=s||""!==n["mercadopago_ticket[doc_number]"]||(t.classList.add("mp-error"),m(o,"flex")),n["mercadopago_ticket[payment_method_id]"]||m(a,"flex");const r="MLB"==s&&!addressFieldsFromTicketRowAreValid();function m(e,t){e&&e.style&&(e.style.display=t)}function d(e){return e&&"flex"===e.style.display}return{type:d(o)||d(a)||r?c.responseTypes.ERROR:c.responseTypes.SUCCESS,meta:{paymentMethodData:n}}}));return()=>e()}),[c.responseTypes.ERROR,c.responseTypes.SUCCESS,r]),(0,e.createElement)("div",{dangerouslySetInnerHTML:{__html:i.params.content}})},l={name:d,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:o}=t.components,a=(0,c.decodeEntities)(i?.params?.fee_title||""),n=`${p} ${a}`;return(0,e.createElement)(o,{text:n})}),null),content:(0,e.createElement)(u,null),edit:(0,e.createElement)(u,null),canMakePayment:()=>!0,ariaLabel:p,supports:{features:null!==(r=i?.supports)&&void 0!==r?r:[]}};(0,t.registerPaymentMethod)(l)})();
\ No newline at end of file
diff --git a/build/yape.block.asset.php b/build/yape.block.asset.php
index 82ade3d38..26de8e51f 100644
--- a/build/yape.block.asset.php
+++ b/build/yape.block.asset.php
@@ -1 +1 @@
- array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'af44f31a3bd3d8310751');
+ array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'd6a53623b20123da3812');
diff --git a/build/yape.block.js b/build/yape.block.js
index 95fb1cfb6..65a221e3e 100644
--- a/build/yape.block.js
+++ b/build/yape.block.js
@@ -1 +1 @@
-(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,o=window.wc.wcSettings,a=window.wp.element,n=window.wp.htmlEntities,c="mercadopago_blocks_update_cart",s=({description:t,linkText:o,linkSrc:a,checkoutClass:n="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${n}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":o,"link-src":a})),r=({title:t,description:o,linkText:a,linkSrc:n})=>(0,e.createElement)("div",{className:"mp-checkout-pro-test-mode"},(0,e.createElement)("test-mode",{title:t,description:o,"link-text":a,"link-src":n})),i=({labelMessage:t,emptyErrorMessage:o,invalidErrorMessage:a})=>(0,e.createElement)("input-field",{"label-message":t,"empty-error-message":o,"invalid-error-message":a}),m=({label:t,src:o,emptyErrorMessage:a,invalidErrorMessage:n,tooltipText:c})=>(0,e.createElement)("input-code",{label:t,src:o,"empty-error-message":a,"invalid-error-message":n,"tooltip-text":c}),l=({message:t,src:o,icon:a,footerText:n})=>(0,e.createElement)("checkout-notice",{message:t,src:o,icon:a,"footer-text":n}),p=(e,t,o)=>{const a={name:e,message:t,target:o,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))};var d;const _="mp_checkout_blocks",u="woo-mercado-pago-yape",y=(0,o.getSetting)("woo-mercado-pago-yape_data",{}),g=(0,n.decodeEntities)(y.title)||"Checkout Yape",k=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:o,emitResponse:n}=e,{onPaymentSetup:s,onCheckoutSuccess:r,onCheckoutFail:i}=o;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(t,u);const e=s((()=>({type:n.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(t,u),e())}),[s]),(0,a.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return p("MP_YAPE_BLOCKS_SUCCESS",t.paymentStatus,_),{type:n.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,a.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return p("MP_YAPE_BLOCKS_ERROR",t.paymentStatus,_),{type:n.responseTypes.FAIL,messageContext:n.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[i])})(t);const{test_mode:o,test_mode_title:n,test_mode_description:d,test_mode_link_text:g,test_mode_link_src:k,terms_and_conditions_description:E,terms_and_conditions_link_text:h,terms_and_conditions_link_src:w,input_field_label:v,yape_title:S,yape_subtitle:f,input_code_icon:b,checkout_notice_icon_one:C,checkout_notice_icon_two:R,checkout_notice_message:T,input_code_label:x,footer_text:M,yape_tooltip_text:N,yape_input_code_error_message1:P,yape_input_code_error_message2:B,yape_phone_number_error_message1:O,yape_phone_number_error_message2:U}=y.params,A=(0,a.useRef)(null),{eventRegistration:L,emitResponse:$}=t,{onPaymentSetup:F}=L;return window.mpFormId="blocks_checkout_form",window.mpCheckoutForm=document.querySelector(".wc-block-components-form.wc-block-checkout__form"),(0,a.useEffect)((()=>{const e=F((async()=>{const e=getCodeValue(),t=document.getElementById("checkout__yapePhoneNumber").value.replaceAll(" ","");if(""===e&&""===t)return document.getElementsByTagName("input-field")[0].validate(),document.getElementsByTagName("input-code")[0].validate(),{type:$.responseTypes.ERROR};const o={otp:e,phoneNumber:t},a={},n=new MercadoPago(wc_mercadopago_yape_checkout_params.public_key).yape(o);try{const e=await n.create();a["mercadopago_yape[token]"]=e.id}catch(e){return console.warn("Token creation error: ",e),{type:$.responseTypes.ERROR}}return{type:$.responseTypes.SUCCESS,meta:{paymentMethodData:a}}}));return()=>e()}),[F,$.responseTypes.ERROR,$.responseTypes.SUCCESS]),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"mp-checkout-custom-load"},(0,e.createElement)("div",{className:"spinner-card-form"})),(0,e.createElement)("div",{className:"mp-checkout-yape-container"},(0,e.createElement)("div",{ref:A,className:"mp-checkout-yape-content"},(0,e.createElement)("div",{className:"mp-checkout-yape-test-mode"},o?(0,e.createElement)(r,{title:n,description:d,linkText:g,linkSrc:k}):null),(0,e.createElement)("div",{className:"mp-checkout-yape-title-container"},(0,e.createElement)("h2",{className:"mp-checkout-yape-title"},S),(0,e.createElement)("p",{className:"mp-checkout-yape-subtitle"},f)),(0,e.createElement)("div",{className:"mp-checkout-yape-inputs"},(0,e.createElement)(i,{labelMessage:v,emptyErrorMessage:O,invalidErrorMessage:U}),(0,e.createElement)(m,{label:x,src:b,emptyErrorMessage:P,invalidErrorMessage:B,tooltipText:N})),(0,e.createElement)(l,{message:T,src:C,icon:R},"footerText=",M)),(0,e.createElement)("div",{className:"mp-checkout-yape-terms-and-conditions"},(0,e.createElement)(s,{description:E,linkText:h,linkSrc:w}))),(0,e.createElement)("div",{id:"mercadopago-utilities",style:{display:"none"}},(0,e.createElement)("input",{type:"hidden",id:"yapeToken",name:"mercadopago_yape[token]"})))},E={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:o}=t.components,a=(0,n.decodeEntities)(y?.params?.fee_title||""),c=`${g} ${a}`;return(0,e.createElement)(o,{text:c})}),null),content:(0,e.createElement)(k,null),edit:(0,e.createElement)(k,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(d=y?.supports)&&void 0!==d?d:[]}};(0,t.registerPaymentMethod)(E)})();
\ No newline at end of file
+(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,o=window.wc.wcSettings,a=window.wp.element,n=window.wp.htmlEntities,c="mercadopago_blocks_update_cart",s=({description:t,linkText:o,linkSrc:a,checkoutClass:n="pro"})=>(0,e.createElement)("div",{className:`mp-checkout-${n}-terms-and-conditions`},(0,e.createElement)("terms-and-conditions",{description:t,"link-text":o,"link-src":a})),r=({title:t,description:o,linkText:a,linkSrc:n})=>(0,e.createElement)("div",{className:"mp-test-mode-container"},(0,e.createElement)("test-mode",{title:t,description:o,"link-text":a,"link-src":n})),i=({labelMessage:t,emptyErrorMessage:o,invalidErrorMessage:a})=>(0,e.createElement)("input-field",{"label-message":t,"empty-error-message":o,"invalid-error-message":a}),m=({label:t,src:o,emptyErrorMessage:a,invalidErrorMessage:n,tooltipText:c})=>(0,e.createElement)("input-code",{label:t,src:o,"empty-error-message":a,"invalid-error-message":n,"tooltip-text":c}),l=({message:t,src:o,icon:a,footerText:n})=>(0,e.createElement)("checkout-notice",{message:t,src:o,icon:a,"footer-text":n}),p=(e,t,o)=>{const a={name:e,message:t,target:o,plugin:{version:wc_mercadopago_custom_checkout_params.plugin_version},platform:{name:"woocommerce",uri:window.location.href,version:wc_mercadopago_custom_checkout_params.platform_version,location:`${wc_mercadopago_custom_checkout_params.location}_${wc_mercadopago_custom_checkout_params.theme}`}};navigator.sendBeacon("https://api.mercadopago.com/v1/plugins/melidata/errors",JSON.stringify(a))};var d;const _="mp_checkout_blocks",u="woo-mercado-pago-yape",y=(0,o.getSetting)("woo-mercado-pago-yape_data",{}),g=(0,n.decodeEntities)(y.title)||"Checkout Yape",E=t=>{(e=>{const{extensionCartUpdate:t}=wc.blocksCheckout,{eventRegistration:o,emitResponse:n}=e,{onPaymentSetup:s,onCheckoutSuccess:r,onCheckoutFail:i}=o;(0,a.useEffect)((()=>{((e,t)=>{e({namespace:c,data:{action:"add",gateway:t}})})(t,u);const e=s((()=>({type:n.responseTypes.SUCCESS})));return()=>(((e,t)=>{e({namespace:c,data:{action:"remove",gateway:t}})})(t,u),e())}),[s]),(0,a.useEffect)((()=>{const e=r((async e=>{const t=e.processingResponse;return p("MP_YAPE_BLOCKS_SUCCESS",t.paymentStatus,_),{type:n.responseTypes.SUCCESS}}));return()=>e()}),[r]),(0,a.useEffect)((()=>{const e=i((e=>{const t=e.processingResponse;return p("MP_YAPE_BLOCKS_ERROR",t.paymentStatus,_),{type:n.responseTypes.FAIL,messageContext:n.noticeContexts.PAYMENTS,message:t.paymentDetails.message}}));return()=>e()}),[i])})(t);const{test_mode:o,test_mode_title:n,test_mode_description:d,test_mode_link_text:g,test_mode_link_src:E,terms_and_conditions_description:k,terms_and_conditions_link_text:h,terms_and_conditions_link_src:w,input_field_label:v,yape_title:S,yape_subtitle:f,input_code_icon:b,checkout_notice_icon_one:C,checkout_notice_icon_two:R,checkout_notice_message:T,input_code_label:x,footer_text:M,yape_tooltip_text:N,yape_input_code_error_message1:P,yape_input_code_error_message2:B,yape_phone_number_error_message1:O,yape_phone_number_error_message2:U}=y.params,A=(0,a.useRef)(null),{eventRegistration:L,emitResponse:$}=t,{onPaymentSetup:F}=L;return window.mpFormId="blocks_checkout_form",window.mpCheckoutForm=document.querySelector(".wc-block-components-form.wc-block-checkout__form"),(0,a.useEffect)((()=>{const e=F((async()=>{const e=getCodeValue(),t=document.getElementById("checkout__yapePhoneNumber").value.replaceAll(" ","");if(""===e&&""===t)return document.getElementsByTagName("input-field")[0].validate(),document.getElementsByTagName("input-code")[0].validate(),{type:$.responseTypes.ERROR};const o={otp:e,phoneNumber:t},a={},n=new MercadoPago(wc_mercadopago_yape_checkout_params.public_key).yape(o);try{const e=await n.create();a["mercadopago_yape[token]"]=e.id}catch(e){return console.warn("Token creation error: ",e),{type:$.responseTypes.ERROR}}return{type:$.responseTypes.SUCCESS,meta:{paymentMethodData:a}}}));return()=>e()}),[F,$.responseTypes.ERROR,$.responseTypes.SUCCESS]),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"mp-checkout-custom-load"},(0,e.createElement)("div",{className:"spinner-card-form"})),(0,e.createElement)("div",{className:"mp-checkout-yape-container"},(0,e.createElement)("div",{ref:A,className:"mp-checkout-yape-content"},(0,e.createElement)("div",{className:"mp-checkout-yape-test-mode"},o?(0,e.createElement)(r,{title:n,description:d,linkText:g,linkSrc:E}):null),(0,e.createElement)("div",{className:"mp-checkout-yape-title-container"},(0,e.createElement)("h2",{className:"mp-checkout-yape-title"},S),(0,e.createElement)("p",{className:"mp-checkout-yape-subtitle"},f)),(0,e.createElement)("div",{className:"mp-checkout-yape-inputs"},(0,e.createElement)(i,{labelMessage:v,emptyErrorMessage:O,invalidErrorMessage:U}),(0,e.createElement)(m,{label:x,src:b,emptyErrorMessage:P,invalidErrorMessage:B,tooltipText:N})),(0,e.createElement)(l,{message:T,src:C,icon:R},"footerText=",M)),(0,e.createElement)("div",{className:"mp-checkout-yape-terms-and-conditions"},(0,e.createElement)(s,{description:k,linkText:h,linkSrc:w}))),(0,e.createElement)("div",{id:"mercadopago-utilities",style:{display:"none"}},(0,e.createElement)("input",{type:"hidden",id:"yapeToken",name:"mercadopago_yape[token]"})))},k={name:u,label:(0,e.createElement)((t=>{const{PaymentMethodLabel:o}=t.components,a=(0,n.decodeEntities)(y?.params?.fee_title||""),c=`${g} ${a}`;return(0,e.createElement)(o,{text:c})}),null),content:(0,e.createElement)(E,null),edit:(0,e.createElement)(E,null),canMakePayment:()=>!0,ariaLabel:g,supports:{features:null!==(d=y?.supports)&&void 0!==d?d:[]}};(0,t.registerPaymentMethod)(k)})();
\ No newline at end of file
diff --git a/changelog.log b/changelog.log
index 20d837dbd..ec58b6415 100644
--- a/changelog.log
+++ b/changelog.log
@@ -1,6 +1,37 @@
CHANGELOG:
== Changelog ==
+= v7.9.2 (26/12/2024) =
+* Fixed:
+- Addressed the way we create transactions for PagoEfectivo payments to avoid issues with the payment method.
+
+= v7.9.1 (17/12/2024) =
+* Fixed:
+- The number input on the ticket row now takes precedence over the "no number" button.
+- On checkout, some users were unable to select the payment method on the ticket row; this issue has been fixed.
+- Due to compatibility issues with the latest WooCommerce releases, we've updated the method by which we check and load scripts and styles.
+
+= v7.9.0 (16/12/2024) =
+* Added:
+- The plugin now explicitly declares its dependency on WooCommerce.
+- The ticket row for Brazil now requires the billing address from your customers due to regulatory reasons.
+* Fixed:
+- Improved the reusability of some classes in the codebase.
+- Removed unused code from styles, scripts, and PHP files.
+- Removed certain images from the plugin and now access them via MercadoLibre's CDN.
+- Eliminated unused files from the MercadoPago SDK in the release build.
+- Adjusted default credits row name in MLB.
+* Changed:
+- Added a check to ensure wp_query is present before calling is_checkout.
+- A warning is now shown when there is an error with installments on card form.
+- Combined Spanish translations into a single file.
+- Reduced the package size by 6MB (from 7.2mb to 1.2mb).
+- GIFs are now loaded from URLs instead of local files in the admin panel.
+
+= v7.8.2 (07/11/2024) =
+* Fixed:
+- Initializing array for transaction listItems to fix acessing not initialized property.
+
= v7.8.1 (07/10/2024) =
* Added:
- Silence is golden directive implemented to enhance security for WordPress sites.
diff --git a/composer.json b/composer.json
index 8b7793dce..e2a014ae8 100644
--- a/composer.json
+++ b/composer.json
@@ -38,7 +38,9 @@
"qit:api": "./vendor/bin/qit run:woo-api woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:env-up": "./vendor/bin/qit --woo=8.9.0 env:up",
"qit:env-down": "./vendor/bin/qit env:down",
- "fix-cs": "./vendor/bin/php-cs-fixer fix"
+ "fix-cs": "./vendor/bin/php-cs-fixer fix",
+ "phpunit": "./vendor/bin/phpunit",
+ "phpunit-file": "./vendor/bin/phpunit --"
},
"require": {
"php": ">=7.4",
@@ -51,7 +53,10 @@
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"wp-coding-standards/wpcs": "^2.2.1",
"phpcompatibility/php-compatibility": "dev-develop",
- "friendsofphp/php-cs-fixer": "^3.64"
+ "friendsofphp/php-cs-fixer": "^3.64",
+ "phpunit/phpunit": "^9.6",
+ "10up/wp_mock": "^1.0",
+ "php-stubs/woocommerce-stubs": "^9.3"
},
"config": {
"allow-plugins": {
diff --git a/composer.lock b/composer.lock
index 1bb115567..1324f65f1 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "b0432a3c5c3bfd92e480f8620a5008af",
+ "content-hash": "29e4698e2f640ef461d5ff51b7c3ff21",
"packages": [
{
"name": "mp-plugins/php-sdk",
@@ -47,14 +47,104 @@
}
],
"description": "Mercado Pago Plugins PHP-SDK",
- "support": {
- "issues": "https://github.com/mercadopago/pp-php-sdk/issues",
- "source": "https://github.com/mercadopago/pp-php-sdk/tree/v2.12.0"
- },
"time": "2024-06-07T14:21:00+00:00"
}
],
"packages-dev": [
+ {
+ "name": "10up/wp_mock",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/10up/wp_mock.git",
+ "reference": "48b7f22934a4351e45e336f09263ee27fc9ddcbe"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/10up/wp_mock/zipball/48b7f22934a4351e45e336f09263ee27fc9ddcbe",
+ "reference": "48b7f22934a4351e45e336f09263ee27fc9ddcbe",
+ "shasum": ""
+ },
+ "require": {
+ "antecedent/patchwork": "^2.1",
+ "mockery/mockery": "^1.6",
+ "php": ">=7.4 < 9",
+ "phpunit/phpunit": "^9.6"
+ },
+ "require-dev": {
+ "behat/behat": "^v3.11.0",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
+ "friendsofphp/php-cs-fixer": "^3.4",
+ "php-coveralls/php-coveralls": "^v2.7",
+ "php-stubs/wordpress-globals": "^0.2",
+ "php-stubs/wordpress-stubs": "^6.3",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpstan/phpstan": "^1.10",
+ "phpstan/phpstan-mockery": "^1.1",
+ "phpstan/phpstan-phpunit": "^1.3",
+ "sebastian/comparator": "^4.0.8",
+ "sempro/phpunit-pretty-print": "^1.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "WP_Mock\\": "./php/WP_Mock"
+ },
+ "classmap": [
+ "php/WP_Mock.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "description": "A mocking library to take the pain out of unit testing for WordPress",
+ "time": "2024-01-22T02:22:57+00:00"
+ },
+ {
+ "name": "antecedent/patchwork",
+ "version": "2.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/antecedent/patchwork.git",
+ "reference": "b07d4fb37c3c723c8755122160c089e077d5de65"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/b07d4fb37c3c723c8755122160c089e077d5de65",
+ "reference": "b07d4fb37c3c723c8755122160c089e077d5de65",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": ">=4"
+ },
+ "type": "library",
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ignas Rudaitis",
+ "email": "ignas.rudaitis@gmail.com"
+ }
+ ],
+ "description": "Method redefinition (monkey-patching) functionality for PHP.",
+ "homepage": "https://antecedent.github.io/patchwork/",
+ "keywords": [
+ "aop",
+ "aspect",
+ "interception",
+ "monkeypatching",
+ "redefinition",
+ "runkit",
+ "testing"
+ ],
+ "time": "2024-09-27T16:59:55+00:00"
+ },
{
"name": "clue/ndjson-react",
"version": "v1.3.0",
@@ -103,10 +193,6 @@
"reactphp",
"streaming"
],
- "support": {
- "issues": "https://github.com/clue/reactphp-ndjson/issues",
- "source": "https://github.com/clue/reactphp-ndjson/tree/v1.3.0"
- },
"funding": [
{
"url": "https://clue.engineering/support",
@@ -178,10 +264,6 @@
"regex",
"regular expression"
],
- "support": {
- "issues": "https://github.com/composer/pcre/issues",
- "source": "https://github.com/composer/pcre/tree/3.3.1"
- },
"funding": [
{
"url": "https://packagist.com",
@@ -258,11 +340,6 @@
"validation",
"versioning"
],
- "support": {
- "irc": "ircs://irc.libera.chat:6697/composer",
- "issues": "https://github.com/composer/semver/issues",
- "source": "https://github.com/composer/semver/tree/3.4.2"
- },
"funding": [
{
"url": "https://packagist.com",
@@ -324,11 +401,6 @@
"Xdebug",
"performance"
],
- "support": {
- "irc": "ircs://irc.libera.chat:6697/composer",
- "issues": "https://github.com/composer/xdebug-handler/issues",
- "source": "https://github.com/composer/xdebug-handler/tree/3.0.5"
- },
"funding": [
{
"url": "https://packagist.com",
@@ -417,12 +489,74 @@
"stylecheck",
"tests"
],
- "support": {
- "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
- "source": "https://github.com/PHPCSStandards/composer-installer"
- },
"time": "2023-01-05T11:28:13+00:00"
},
+ {
+ "name": "doctrine/instantiator",
+ "version": "1.5.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/instantiator.git",
+ "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b",
+ "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^9 || ^11",
+ "ext-pdo": "*",
+ "ext-phar": "*",
+ "phpbench/phpbench": "^0.16 || ^1",
+ "phpstan/phpstan": "^1.4",
+ "phpstan/phpstan-phpunit": "^1",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.30 || ^5.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Marco Pivetta",
+ "email": "ocramius@gmail.com",
+ "homepage": "https://ocramius.github.io/"
+ }
+ ],
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
+ "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
+ "keywords": [
+ "constructor",
+ "instantiate"
+ ],
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-12-30T00:15:36+00:00"
+ },
{
"name": "evenement/evenement",
"version": "v3.0.2",
@@ -464,10 +598,6 @@
"event-dispatcher",
"event-emitter"
],
- "support": {
- "issues": "https://github.com/igorw/evenement/issues",
- "source": "https://github.com/igorw/evenement/tree/v3.0.2"
- },
"time": "2023-08-08T05:53:35+00:00"
},
{
@@ -519,10 +649,6 @@
"CPU",
"core"
],
- "support": {
- "issues": "https://github.com/theofidry/cpu-core-counter/issues",
- "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0"
- },
"funding": [
{
"url": "https://github.com/theofidry",
@@ -622,10 +748,6 @@
"standards",
"static analysis"
],
- "support": {
- "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.64.0"
- },
"funding": [
{
"url": "https://github.com/keradus",
@@ -635,1010 +757,2575 @@
"time": "2024-08-30T23:09:38+00:00"
},
{
- "name": "nikic/php-parser",
- "version": "v4.19.1",
+ "name": "hamcrest/hamcrest-php",
+ "version": "v2.0.1",
"source": {
"type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b"
+ "url": "https://github.com/hamcrest/hamcrest-php.git",
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b",
- "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b",
+ "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
"shasum": ""
},
"require": {
- "ext-tokenizer": "*",
- "php": ">=7.1"
+ "php": "^5.3|^7.0|^8.0"
+ },
+ "replace": {
+ "cordoval/hamcrest-php": "*",
+ "davedevelopment/hamcrest-php": "*",
+ "kodova/hamcrest-php": "*"
},
"require-dev": {
- "ircmaxell/php-yacc": "^0.0.7",
- "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
+ "phpunit/php-file-iterator": "^1.4 || ^2.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
},
- "bin": [
- "bin/php-parse"
- ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.9-dev"
+ "dev-master": "2.1-dev"
}
},
"autoload": {
- "psr-4": {
- "PhpParser\\": "lib/PhpParser"
- }
+ "classmap": [
+ "hamcrest"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
- "authors": [
- {
- "name": "Nikita Popov"
- }
- ],
- "description": "A PHP parser written in PHP",
+ "description": "This is the PHP port of Hamcrest Matchers",
"keywords": [
- "parser",
- "php"
+ "test"
],
- "support": {
- "issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.1"
- },
- "time": "2024-03-17T08:10:35+00:00"
+ "time": "2020-07-09T08:09:16+00:00"
},
{
- "name": "phpcompatibility/php-compatibility",
- "version": "dev-develop",
+ "name": "mockery/mockery",
+ "version": "1.6.12",
"source": {
"type": "git",
- "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
- "reference": "c04052401b0f2b42696c1c6aebb0479b0452fac5"
+ "url": "https://github.com/mockery/mockery.git",
+ "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/c04052401b0f2b42696c1c6aebb0479b0452fac5",
- "reference": "c04052401b0f2b42696c1c6aebb0479b0452fac5",
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699",
+ "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699",
"shasum": ""
},
"require": {
- "php": ">=5.4",
- "phpcsstandards/phpcsutils": "^1.0.12",
- "squizlabs/php_codesniffer": "^3.10.0"
+ "hamcrest/hamcrest-php": "^2.0.1",
+ "lib-pcre": ">=7.0",
+ "php": ">=7.3"
},
- "replace": {
- "wimg/php-compatibility": "*"
+ "conflict": {
+ "phpunit/phpunit": "<8.0"
},
"require-dev": {
- "php-parallel-lint/php-console-highlighter": "^1.0.0",
- "php-parallel-lint/php-parallel-lint": "^1.4.0",
- "phpcsstandards/phpcsdevcs": "^1.1.3",
- "phpcsstandards/phpcsdevtools": "^1.2.0",
- "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4 || ^10.1.0",
- "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
- },
- "suggest": {
- "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
+ "phpunit/phpunit": "^8.5 || ^9.6.17",
+ "symplify/easy-coding-standard": "^12.1.14"
},
- "default-branch": true,
- "type": "phpcodesniffer-standard",
- "extra": {
- "branch-alias": {
- "dev-master": "9.x-dev",
- "dev-develop": "10.x-dev"
+ "type": "library",
+ "autoload": {
+ "files": [
+ "library/helpers.php",
+ "library/Mockery.php"
+ ],
+ "psr-4": {
+ "Mockery\\": "library/Mockery"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "LGPL-3.0-or-later"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Wim Godden",
- "homepage": "https://github.com/wimg",
- "role": "lead"
+ "name": "Pádraic Brady",
+ "email": "padraic.brady@gmail.com",
+ "homepage": "https://github.com/padraic",
+ "role": "Author"
},
{
- "name": "Juliette Reinders Folmer",
- "homepage": "https://github.com/jrfnl",
- "role": "lead"
+ "name": "Dave Marshall",
+ "email": "dave.marshall@atstsolutions.co.uk",
+ "homepage": "https://davedevelopment.co.uk",
+ "role": "Developer"
},
{
- "name": "Contributors",
- "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
+ "name": "Nathanael Esayeas",
+ "email": "nathanael.esayeas@protonmail.com",
+ "homepage": "https://github.com/ghostwriter",
+ "role": "Lead Developer"
}
],
- "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
- "homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
+ "description": "Mockery is a simple yet flexible PHP mock object framework",
+ "homepage": "https://github.com/mockery/mockery",
"keywords": [
- "compatibility",
- "phpcs",
- "standards",
- "static analysis"
+ "BDD",
+ "TDD",
+ "library",
+ "mock",
+ "mock objects",
+ "mockery",
+ "stub",
+ "test",
+ "test double",
+ "testing"
],
- "support": {
- "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
- "security": "https://github.com/PHPCompatibility/PHPCompatibility/security/policy",
- "source": "https://github.com/PHPCompatibility/PHPCompatibility"
+ "time": "2024-05-16T03:13:13+00:00"
+ },
+ {
+ "name": "myclabs/deep-copy",
+ "version": "1.12.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/DeepCopy.git",
+ "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
+ "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "conflict": {
+ "doctrine/collections": "<1.6.8",
+ "doctrine/common": "<2.13.3 || >=3 <3.2.2"
+ },
+ "require-dev": {
+ "doctrine/collections": "^1.6.8",
+ "doctrine/common": "^2.13.3 || ^3.2.2",
+ "phpspec/prophecy": "^1.10",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
},
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/DeepCopy/deep_copy.php"
+ ],
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Create deep copies (clones) of your objects",
+ "keywords": [
+ "clone",
+ "copy",
+ "duplicate",
+ "object",
+ "object graph"
+ ],
"funding": [
{
- "url": "https://github.com/PHPCompatibility",
- "type": "github"
- },
- {
- "url": "https://github.com/jrfnl",
- "type": "github"
- },
- {
- "url": "https://opencollective.com/php_codesniffer",
- "type": "open_collective"
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
}
],
- "time": "2024-09-08T00:51:59+00:00"
+ "time": "2024-06-12T14:39:25+00:00"
},
{
- "name": "phpcsstandards/phpcsutils",
- "version": "1.0.12",
+ "name": "nikic/php-parser",
+ "version": "v4.19.1",
"source": {
"type": "git",
- "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
- "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87b233b00daf83fb70f40c9a28692be017ea7c6c",
- "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b",
+ "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b",
"shasum": ""
},
"require": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
- "php": ">=5.4",
- "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
+ "ext-tokenizer": "*",
+ "php": ">=7.1"
},
"require-dev": {
- "ext-filter": "*",
- "php-parallel-lint/php-console-highlighter": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
- "phpcsstandards/phpcsdevcs": "^1.1.6",
- "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
+ "ircmaxell/php-yacc": "^0.0.7",
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
},
- "type": "phpcodesniffer-standard",
+ "bin": [
+ "bin/php-parse"
+ ],
+ "type": "library",
"extra": {
"branch-alias": {
- "dev-stable": "1.x-dev",
- "dev-develop": "1.x-dev"
+ "dev-master": "4.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpParser\\": "lib/PhpParser"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Nikita Popov"
+ }
+ ],
+ "description": "A PHP parser written in PHP",
+ "keywords": [
+ "parser",
+ "php"
+ ],
+ "time": "2024-03-17T08:10:35+00:00"
+ },
+ {
+ "name": "phar-io/manifest",
+ "version": "2.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phar-io/manifest.git",
+ "reference": "54750ef60c58e43759730615a392c31c80e23176"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176",
+ "reference": "54750ef60c58e43759730615a392c31c80e23176",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "ext-phar": "*",
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Heuer",
+ "email": "sebastian@phpeople.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2024-03-03T12:33:53+00:00"
+ },
+ {
+ "name": "phar-io/version",
+ "version": "3.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phar-io/version.git",
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Heuer",
+ "email": "sebastian@phpeople.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "Library for handling version information and constraints",
+ "time": "2022-02-21T01:04:05+00:00"
+ },
+ {
+ "name": "php-stubs/woocommerce-stubs",
+ "version": "v9.3.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-stubs/woocommerce-stubs.git",
+ "reference": "1995245b3ebfd82eeaf3a8e9d3ec962f00ab3b73"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-stubs/woocommerce-stubs/zipball/1995245b3ebfd82eeaf3a8e9d3ec962f00ab3b73",
+ "reference": "1995245b3ebfd82eeaf3a8e9d3ec962f00ab3b73",
+ "shasum": ""
+ },
+ "require": {
+ "php-stubs/wordpress-stubs": "^5.3 || ^6.0"
+ },
+ "require-dev": {
+ "php": "~7.1 || ~8.0",
+ "php-stubs/generator": "^0.8.0"
+ },
+ "suggest": {
+ "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
+ "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
+ },
+ "type": "library",
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "WooCommerce function and class declaration stubs for static analysis.",
+ "homepage": "https://github.com/php-stubs/woocommerce-stubs",
+ "keywords": [
+ "PHPStan",
+ "static analysis",
+ "woocommerce",
+ "wordpress"
+ ],
+ "support": {
+ "issues": "https://github.com/php-stubs/woocommerce-stubs/issues",
+ "source": "https://github.com/php-stubs/woocommerce-stubs/tree/v9.3.3"
+ },
+ "time": "2024-09-25T17:38:08+00:00"
+ },
+ {
+ "name": "php-stubs/wordpress-stubs",
+ "version": "v6.6.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-stubs/wordpress-stubs.git",
+ "reference": "f50fd7ed45894d036e4fef9ab7e5bbbaff6a30cc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/f50fd7ed45894d036e4fef9ab7e5bbbaff6a30cc",
+ "reference": "f50fd7ed45894d036e4fef9ab7e5bbbaff6a30cc",
+ "shasum": ""
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
+ "nikic/php-parser": "^4.13",
+ "php": "^7.4 || ^8.0",
+ "php-stubs/generator": "^0.8.3",
+ "phpdocumentor/reflection-docblock": "^5.4.1",
+ "phpstan/phpstan": "^1.10.49",
+ "phpunit/phpunit": "^9.5",
+ "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0",
+ "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
+ },
+ "suggest": {
+ "paragonie/sodium_compat": "Pure PHP implementation of libsodium",
+ "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
+ },
+ "type": "library",
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "WordPress function and class declaration stubs for static analysis.",
+ "homepage": "https://github.com/php-stubs/wordpress-stubs",
+ "keywords": [
+ "PHPStan",
+ "static analysis",
+ "wordpress"
+ ],
+ "support": {
+ "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
+ "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.6.2"
+ },
+ "time": "2024-09-30T07:10:48+00:00"
+ },
+ {
+ "name": "phpcompatibility/php-compatibility",
+ "version": "dev-develop",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
+ "reference": "3f79f96be9289a49eb85a4db3e8f5b7d55ba06d2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/3f79f96be9289a49eb85a4db3e8f5b7d55ba06d2",
+ "reference": "3f79f96be9289a49eb85a4db3e8f5b7d55ba06d2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4",
+ "phpcsstandards/phpcsutils": "^1.0.12",
+ "squizlabs/php_codesniffer": "^3.10.0"
+ },
+ "replace": {
+ "wimg/php-compatibility": "*"
+ },
+ "require-dev": {
+ "php-parallel-lint/php-console-highlighter": "^1.0.0",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpcsstandards/phpcsdevcs": "^1.1.3",
+ "phpcsstandards/phpcsdevtools": "^1.2.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4 || ^10.1.0",
+ "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
+ },
+ "suggest": {
+ "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
+ },
+ "type": "phpcodesniffer-standard",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "9.x-dev",
+ "dev-develop": "10.x-dev"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-3.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Wim Godden",
+ "homepage": "https://github.com/wimg",
+ "role": "lead"
+ },
+ {
+ "name": "Juliette Reinders Folmer",
+ "homepage": "https://github.com/jrfnl",
+ "role": "lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
+ }
+ ],
+ "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
+ "homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
+ "keywords": [
+ "compatibility",
+ "phpcs",
+ "standards",
+ "static analysis"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-10-13T19:18:49+00:00"
+ },
+ {
+ "name": "phpcsstandards/phpcsutils",
+ "version": "1.0.12",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
+ "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87b233b00daf83fb70f40c9a28692be017ea7c6c",
+ "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c",
+ "shasum": ""
+ },
+ "require": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
+ "php": ">=5.4",
+ "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
+ },
+ "require-dev": {
+ "ext-filter": "*",
+ "php-parallel-lint/php-console-highlighter": "^1.0",
+ "php-parallel-lint/php-parallel-lint": "^1.3.2",
+ "phpcsstandards/phpcsdevcs": "^1.1.6",
+ "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
+ },
+ "type": "phpcodesniffer-standard",
+ "extra": {
+ "branch-alias": {
+ "dev-stable": "1.x-dev",
+ "dev-develop": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "PHPCSUtils/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-3.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Juliette Reinders Folmer",
+ "homepage": "https://github.com/jrfnl",
+ "role": "lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors"
+ }
+ ],
+ "description": "A suite of utility functions for use with PHP_CodeSniffer",
+ "homepage": "https://phpcsutils.com/",
+ "keywords": [
+ "PHP_CodeSniffer",
+ "phpcbf",
+ "phpcodesniffer-standard",
+ "phpcs",
+ "phpcs3",
+ "standards",
+ "static analysis",
+ "tokens",
+ "utility"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-05-20T13:34:27+00:00"
+ },
+ {
+ "name": "phpmetrics/phpmetrics",
+ "version": "v2.8.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpmetrics/PhpMetrics.git",
+ "reference": "4b77140a11452e63c7a9b98e0648320bf6710090"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpmetrics/PhpMetrics/zipball/4b77140a11452e63c7a9b98e0648320bf6710090",
+ "reference": "4b77140a11452e63c7a9b98e0648320bf6710090",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-tokenizer": "*",
+ "nikic/php-parser": "^3|^4",
+ "php": ">=5.5"
+ },
+ "replace": {
+ "halleck45/php-metrics": "*",
+ "halleck45/phpmetrics": "*"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14",
+ "sebastian/comparator": ">=1.2.3",
+ "squizlabs/php_codesniffer": "^3.5",
+ "symfony/dom-crawler": "^3.0 || ^4.0 || ^5.0"
+ },
+ "bin": [
+ "bin/phpmetrics"
+ ],
+ "type": "library",
+ "autoload": {
+ "files": [
+ "./src/functions.php"
+ ],
+ "psr-0": {
+ "Hal\\": "./src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jean-François Lépine",
+ "email": "lepinejeanfrancois@yahoo.fr",
+ "homepage": "http://www.lepine.pro",
+ "role": "Copyright Holder"
+ }
+ ],
+ "description": "Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !",
+ "homepage": "http://www.phpmetrics.org",
+ "keywords": [
+ "analysis",
+ "qa",
+ "quality",
+ "testing"
+ ],
+ "time": "2023-03-08T15:03:36+00:00"
+ },
+ {
+ "name": "phpunit/php-code-coverage",
+ "version": "9.2.32",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
+ "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5",
+ "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "ext-xmlwriter": "*",
+ "nikic/php-parser": "^4.19.1 || ^5.1.0",
+ "php": ">=7.3",
+ "phpunit/php-file-iterator": "^3.0.6",
+ "phpunit/php-text-template": "^2.0.4",
+ "sebastian/code-unit-reverse-lookup": "^2.0.3",
+ "sebastian/complexity": "^2.0.3",
+ "sebastian/environment": "^5.1.5",
+ "sebastian/lines-of-code": "^1.0.4",
+ "sebastian/version": "^3.0.2",
+ "theseer/tokenizer": "^1.2.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.6"
+ },
+ "suggest": {
+ "ext-pcov": "PHP extension that provides line coverage",
+ "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "9.2.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
+ "keywords": [
+ "coverage",
+ "testing",
+ "xunit"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2024-08-22T04:23:01+00:00"
+ },
+ {
+ "name": "phpunit/php-file-iterator",
+ "version": "3.0.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",
+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
+ "keywords": [
+ "filesystem",
+ "iterator"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-12-02T12:48:52+00:00"
+ },
+ {
+ "name": "phpunit/php-invoker",
+ "version": "3.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "ext-pcntl": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcntl": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.1-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Invoke callables with a timeout",
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
+ "keywords": [
+ "process"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:58:55+00:00"
+ },
+ {
+ "name": "phpunit/php-text-template",
+ "version": "2.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Simple template engine.",
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
+ "keywords": [
+ "template"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T05:33:50+00:00"
+ },
+ {
+ "name": "phpunit/php-timer",
+ "version": "5.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Utility class for timing",
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
+ "keywords": [
+ "timer"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:16:10+00:00"
+ },
+ {
+ "name": "phpunit/phpunit",
+ "version": "9.6.21",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
+ "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa",
+ "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.5.0 || ^2",
+ "ext-dom": "*",
+ "ext-json": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-xml": "*",
+ "ext-xmlwriter": "*",
+ "myclabs/deep-copy": "^1.12.0",
+ "phar-io/manifest": "^2.0.4",
+ "phar-io/version": "^3.2.1",
+ "php": ">=7.3",
+ "phpunit/php-code-coverage": "^9.2.32",
+ "phpunit/php-file-iterator": "^3.0.6",
+ "phpunit/php-invoker": "^3.1.1",
+ "phpunit/php-text-template": "^2.0.4",
+ "phpunit/php-timer": "^5.0.3",
+ "sebastian/cli-parser": "^1.0.2",
+ "sebastian/code-unit": "^1.0.8",
+ "sebastian/comparator": "^4.0.8",
+ "sebastian/diff": "^4.0.6",
+ "sebastian/environment": "^5.1.5",
+ "sebastian/exporter": "^4.0.6",
+ "sebastian/global-state": "^5.0.7",
+ "sebastian/object-enumerator": "^4.0.4",
+ "sebastian/resource-operations": "^3.0.4",
+ "sebastian/type": "^3.2.1",
+ "sebastian/version": "^3.0.2"
+ },
+ "suggest": {
+ "ext-soap": "To be able to generate mocks based on WSDL files",
+ "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
+ },
+ "bin": [
+ "phpunit"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "9.6-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/Framework/Assert/Functions.php"
+ ],
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "The PHP Unit Testing framework.",
+ "homepage": "https://phpunit.de/",
+ "keywords": [
+ "phpunit",
+ "testing",
+ "xunit"
+ ],
+ "funding": [
+ {
+ "url": "https://phpunit.de/sponsors.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-09-19T10:50:18+00:00"
+ },
+ {
+ "name": "psr/container",
+ "version": "1.1.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/container.git",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Container\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common Container Interface (PHP FIG PSR-11)",
+ "homepage": "https://github.com/php-fig/container",
+ "keywords": [
+ "PSR-11",
+ "container",
+ "container-interface",
+ "container-interop",
+ "psr"
+ ],
+ "time": "2021-11-05T16:50:12+00:00"
+ },
+ {
+ "name": "psr/event-dispatcher",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/event-dispatcher.git",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\EventDispatcher\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Standard interfaces for event handling.",
+ "keywords": [
+ "events",
+ "psr",
+ "psr-14"
+ ],
+ "time": "2019-01-08T18:20:26+00:00"
+ },
+ {
+ "name": "psr/log",
+ "version": "1.1.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/log.git",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for logging libraries",
+ "homepage": "https://github.com/php-fig/log",
+ "keywords": [
+ "log",
+ "psr",
+ "psr-3"
+ ],
+ "time": "2021-05-03T11:20:27+00:00"
+ },
+ {
+ "name": "react/cache",
+ "version": "v1.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/cache.git",
+ "reference": "d47c472b64aa5608225f47965a484b75c7817d5b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b",
+ "reference": "d47c472b64aa5608225f47965a484b75c7817d5b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0",
+ "react/promise": "^3.0 || ^2.0 || ^1.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\Cache\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "Async, Promise-based cache interface for ReactPHP",
+ "keywords": [
+ "cache",
+ "caching",
+ "promise",
+ "reactphp"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2022-11-30T15:59:55+00:00"
+ },
+ {
+ "name": "react/child-process",
+ "version": "v0.6.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/child-process.git",
+ "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/child-process/zipball/e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
+ "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
+ "shasum": ""
+ },
+ "require": {
+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
+ "php": ">=5.3.0",
+ "react/event-loop": "^1.2",
+ "react/stream": "^1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
+ "react/socket": "^1.8",
+ "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\ChildProcess\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "Event-driven library for executing child processes with ReactPHP.",
+ "keywords": [
+ "event-driven",
+ "process",
+ "reactphp"
+ ],
+ "funding": [
+ {
+ "url": "https://github.com/WyriHaximus",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/clue",
+ "type": "github"
+ }
+ ],
+ "time": "2022-09-16T13:41:56+00:00"
+ },
+ {
+ "name": "react/dns",
+ "version": "v1.13.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/dns.git",
+ "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",
+ "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0",
+ "react/cache": "^1.0 || ^0.6 || ^0.5",
+ "react/event-loop": "^1.2",
+ "react/promise": "^3.2 || ^2.7 || ^1.2.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
+ "react/async": "^4.3 || ^3 || ^2",
+ "react/promise-timer": "^1.11"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\Dns\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "Async DNS resolver for ReactPHP",
+ "keywords": [
+ "async",
+ "dns",
+ "dns-resolver",
+ "reactphp"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-06-13T14:18:03+00:00"
+ },
+ {
+ "name": "react/event-loop",
+ "version": "v1.5.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/event-loop.git",
+ "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
+ "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
+ },
+ "suggest": {
+ "ext-pcntl": "For signal handling support when using the StreamSelectLoop"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\EventLoop\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.",
+ "keywords": [
+ "asynchronous",
+ "event-loop"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2023-11-13T13:48:05+00:00"
+ },
+ {
+ "name": "react/promise",
+ "version": "v3.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/promise.git",
+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63",
+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "1.10.39 || 1.4.10",
+ "phpunit/phpunit": "^9.6 || ^7.5"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/functions_include.php"
+ ],
+ "psr-4": {
+ "React\\Promise\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "A lightweight implementation of CommonJS Promises/A for PHP",
+ "keywords": [
+ "promise",
+ "promises"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-05-24T10:39:05+00:00"
+ },
+ {
+ "name": "react/socket",
+ "version": "v1.16.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/socket.git",
+ "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",
+ "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",
+ "shasum": ""
+ },
+ "require": {
+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
+ "php": ">=5.3.0",
+ "react/dns": "^1.13",
+ "react/event-loop": "^1.2",
+ "react/promise": "^3.2 || ^2.6 || ^1.2.1",
+ "react/stream": "^1.4"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
+ "react/async": "^4.3 || ^3.3 || ^2",
+ "react/promise-stream": "^1.4",
+ "react/promise-timer": "^1.11"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\Socket\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP",
+ "keywords": [
+ "Connection",
+ "Socket",
+ "async",
+ "reactphp",
+ "stream"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-07-26T10:38:09+00:00"
+ },
+ {
+ "name": "react/stream",
+ "version": "v1.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/stream.git",
+ "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d",
+ "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d",
+ "shasum": ""
+ },
+ "require": {
+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
+ "php": ">=5.3.8",
+ "react/event-loop": "^1.2"
+ },
+ "require-dev": {
+ "clue/stream-filter": "~1.2",
+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\Stream\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Lück",
+ "email": "christian@clue.engineering",
+ "homepage": "https://clue.engineering/"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "reactphp@ceesjankiewiet.nl",
+ "homepage": "https://wyrihaximus.net/"
+ },
+ {
+ "name": "Jan Sorgalla",
+ "email": "jsorgalla@gmail.com",
+ "homepage": "https://sorgalla.com/"
+ },
+ {
+ "name": "Chris Boden",
+ "email": "cboden@gmail.com",
+ "homepage": "https://cboden.dev/"
+ }
+ ],
+ "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP",
+ "keywords": [
+ "event-driven",
+ "io",
+ "non-blocking",
+ "pipe",
+ "reactphp",
+ "readable",
+ "stream",
+ "writable"
+ ],
+ "funding": [
+ {
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-06-11T12:45:25+00:00"
+ },
+ {
+ "name": "sebastian/cli-parser",
+ "version": "1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
+ "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b",
+ "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for parsing CLI options",
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2024-03-02T06:27:43+00:00"
+ },
+ {
+ "name": "sebastian/code-unit",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/code-unit",
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:08:54+00:00"
+ },
+ {
+ "name": "sebastian/code-unit-reverse-lookup",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Looks up which function or method a line of code belongs to",
+ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:30:19+00:00"
+ },
+ {
+ "name": "sebastian/comparator",
+ "version": "4.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/comparator.git",
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a",
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/diff": "^4.0",
+ "sebastian/exporter": "^4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"classmap": [
- "PHPCSUtils/"
+ "src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "LGPL-3.0-or-later"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Juliette Reinders Folmer",
- "homepage": "https://github.com/jrfnl",
- "role": "lead"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
},
{
- "name": "Contributors",
- "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors"
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@2bepublished.at"
}
],
- "description": "A suite of utility functions for use with PHP_CodeSniffer",
- "homepage": "https://phpcsutils.com/",
+ "description": "Provides the functionality to compare PHP values for equality",
+ "homepage": "https://github.com/sebastianbergmann/comparator",
"keywords": [
- "PHP_CodeSniffer",
- "phpcbf",
- "phpcodesniffer-standard",
- "phpcs",
- "phpcs3",
- "standards",
- "static analysis",
- "tokens",
- "utility"
+ "comparator",
+ "compare",
+ "equality"
],
- "support": {
- "docs": "https://phpcsutils.com/",
- "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
- "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
- "source": "https://github.com/PHPCSStandards/PHPCSUtils"
- },
"funding": [
{
- "url": "https://github.com/PHPCSStandards",
- "type": "github"
- },
- {
- "url": "https://github.com/jrfnl",
+ "url": "https://github.com/sebastianbergmann",
"type": "github"
- },
- {
- "url": "https://opencollective.com/php_codesniffer",
- "type": "open_collective"
}
],
- "time": "2024-05-20T13:34:27+00:00"
+ "time": "2022-09-14T12:41:17+00:00"
},
{
- "name": "phpmetrics/phpmetrics",
- "version": "v2.8.2",
+ "name": "sebastian/complexity",
+ "version": "2.0.3",
"source": {
"type": "git",
- "url": "https://github.com/phpmetrics/PhpMetrics.git",
- "reference": "4b77140a11452e63c7a9b98e0648320bf6710090"
+ "url": "https://github.com/sebastianbergmann/complexity.git",
+ "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpmetrics/PhpMetrics/zipball/4b77140a11452e63c7a9b98e0648320bf6710090",
- "reference": "4b77140a11452e63c7a9b98e0648320bf6710090",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a",
+ "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a",
"shasum": ""
},
"require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "nikic/php-parser": "^3|^4",
- "php": ">=5.5"
- },
- "replace": {
- "halleck45/php-metrics": "*",
- "halleck45/phpmetrics": "*"
+ "nikic/php-parser": "^4.18 || ^5.0",
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14",
- "sebastian/comparator": ">=1.2.3",
- "squizlabs/php_codesniffer": "^3.5",
- "symfony/dom-crawler": "^3.0 || ^4.0 || ^5.0"
+ "phpunit/phpunit": "^9.3"
},
- "bin": [
- "bin/phpmetrics"
- ],
"type": "library",
- "autoload": {
- "files": [
- "./src/functions.php"
- ],
- "psr-0": {
- "Hal\\": "./src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Jean-François Lépine",
- "email": "lepinejeanfrancois@yahoo.fr",
- "homepage": "http://www.lepine.pro",
- "role": "Copyright Holder"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
}
],
- "description": "Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !",
- "homepage": "http://www.phpmetrics.org",
- "keywords": [
- "analysis",
- "qa",
- "quality",
- "testing"
+ "description": "Library for calculating the complexity of PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/complexity",
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "support": {
- "issues": "https://github.com/PhpMetrics/PhpMetrics/issues",
- "source": "https://github.com/phpmetrics/PhpMetrics/tree/v2.8.2"
- },
- "time": "2023-03-08T15:03:36+00:00"
+ "time": "2023-12-22T06:19:30+00:00"
},
{
- "name": "psr/container",
- "version": "1.1.2",
+ "name": "sebastian/diff",
+ "version": "4.0.6",
"source": {
"type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
+ "url": "https://github.com/sebastianbergmann/diff.git",
+ "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
- "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc",
+ "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc",
"shasum": ""
},
"require": {
- "php": ">=7.4.0"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3",
+ "symfony/process": "^4.2 || ^5"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
}
],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
+ "description": "Diff implementation",
+ "homepage": "https://github.com/sebastianbergmann/diff",
"keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
+ "diff",
+ "udiff",
+ "unidiff",
+ "unified diff"
],
- "support": {
- "issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/1.1.2"
- },
- "time": "2021-11-05T16:50:12+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2024-03-02T06:30:58+00:00"
},
{
- "name": "psr/event-dispatcher",
- "version": "1.0.0",
+ "name": "sebastian/environment",
+ "version": "5.1.5",
"source": {
"type": "git",
- "url": "https://github.com/php-fig/event-dispatcher.git",
- "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
+ "url": "https://github.com/sebastianbergmann/environment.git",
+ "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
- "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed",
+ "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed",
"shasum": ""
},
"require": {
- "php": ">=7.2.0"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-posix": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "5.1-dev"
}
},
"autoload": {
- "psr-4": {
- "Psr\\EventDispatcher\\": "src/"
- }
+ "classmap": [
+ "src/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
}
],
- "description": "Standard interfaces for event handling.",
+ "description": "Provides functionality to handle HHVM/PHP environments",
+ "homepage": "http://www.github.com/sebastianbergmann/environment",
"keywords": [
- "events",
- "psr",
- "psr-14"
+ "Xdebug",
+ "environment",
+ "hhvm"
],
- "support": {
- "issues": "https://github.com/php-fig/event-dispatcher/issues",
- "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
- },
- "time": "2019-01-08T18:20:26+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2023-02-03T06:03:51+00:00"
},
{
- "name": "psr/log",
- "version": "1.1.4",
+ "name": "sebastian/exporter",
+ "version": "4.0.6",
"source": {
"type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
+ "url": "https://github.com/sebastianbergmann/exporter.git",
+ "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
- "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72",
+ "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.3",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "ext-mbstring": "*",
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
+ "classmap": [
+ "src/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
}
],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
+ "description": "Provides the functionality to export PHP variables for visualization",
+ "homepage": "https://www.github.com/sebastianbergmann/exporter",
"keywords": [
- "log",
- "psr",
- "psr-3"
+ "export",
+ "exporter"
],
- "support": {
- "source": "https://github.com/php-fig/log/tree/1.1.4"
- },
- "time": "2021-05-03T11:20:27+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2024-03-02T06:33:00+00:00"
},
{
- "name": "react/cache",
- "version": "v1.2.0",
+ "name": "sebastian/global-state",
+ "version": "5.0.7",
"source": {
- "type": "git",
- "url": "https://github.com/reactphp/cache.git",
- "reference": "d47c472b64aa5608225f47965a484b75c7817d5b"
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/global-state.git",
+ "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b",
- "reference": "d47c472b64aa5608225f47965a484b75c7817d5b",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9",
+ "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9",
"shasum": ""
},
"require": {
- "php": ">=5.3.0",
- "react/promise": "^3.0 || ^2.0 || ^1.1"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35"
+ "ext-dom": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-uopz": "*"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\Cache\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
}
],
- "description": "Async, Promise-based cache interface for ReactPHP",
+ "description": "Snapshotting of global state",
+ "homepage": "http://www.github.com/sebastianbergmann/global-state",
"keywords": [
- "cache",
- "caching",
- "promise",
- "reactphp"
+ "global state"
],
- "support": {
- "issues": "https://github.com/reactphp/cache/issues",
- "source": "https://github.com/reactphp/cache/tree/v1.2.0"
- },
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2022-11-30T15:59:55+00:00"
+ "time": "2024-03-02T06:35:11+00:00"
},
{
- "name": "react/child-process",
- "version": "v0.6.5",
+ "name": "sebastian/lines-of-code",
+ "version": "1.0.4",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/child-process.git",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43"
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
+ "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/child-process/zipball/e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5",
+ "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5",
"shasum": ""
},
"require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.0",
- "react/event-loop": "^1.2",
- "react/stream": "^1.2"
+ "nikic/php-parser": "^4.18 || ^5.0",
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
- "react/socket": "^1.8",
- "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\ChildProcess\\": "src"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
}
],
- "description": "Event-driven library for executing child processes with ReactPHP.",
- "keywords": [
- "event-driven",
- "process",
- "reactphp"
- ],
- "support": {
- "issues": "https://github.com/reactphp/child-process/issues",
- "source": "https://github.com/reactphp/child-process/tree/v0.6.5"
- },
+ "description": "Library for counting the lines of code in PHP source code",
+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",
"funding": [
{
- "url": "https://github.com/WyriHaximus",
- "type": "github"
- },
- {
- "url": "https://github.com/clue",
+ "url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2022-09-16T13:41:56+00:00"
+ "time": "2023-12-22T06:20:34+00:00"
},
{
- "name": "react/dns",
- "version": "v1.13.0",
+ "name": "sebastian/object-enumerator",
+ "version": "4.0.4",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/dns.git",
- "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5"
+ "url": "https://github.com/sebastianbergmann/object-enumerator.git",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",
- "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
"shasum": ""
},
"require": {
- "php": ">=5.3.0",
- "react/cache": "^1.0 || ^0.6 || ^0.5",
- "react/event-loop": "^1.2",
- "react/promise": "^3.2 || ^2.7 || ^1.2.1"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
- "react/async": "^4.3 || ^3 || ^2",
- "react/promise-timer": "^1.11"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\Dns\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
}
],
- "description": "Async DNS resolver for ReactPHP",
- "keywords": [
- "async",
- "dns",
- "dns-resolver",
- "reactphp"
- ],
- "support": {
- "issues": "https://github.com/reactphp/dns/issues",
- "source": "https://github.com/reactphp/dns/tree/v1.13.0"
- },
+ "description": "Traverses array structures and object graphs to enumerate all referenced objects",
+ "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2024-06-13T14:18:03+00:00"
+ "time": "2020-10-26T13:12:34+00:00"
},
{
- "name": "react/event-loop",
- "version": "v1.5.0",
+ "name": "sebastian/object-reflector",
+ "version": "2.0.4",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/event-loop.git",
- "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354"
+ "url": "https://github.com/sebastianbergmann/object-reflector.git",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
- "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
- },
- "suggest": {
- "ext-pcntl": "For signal handling support when using the StreamSelectLoop"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\EventLoop\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
}
],
- "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.",
- "keywords": [
- "asynchronous",
- "event-loop"
- ],
- "support": {
- "issues": "https://github.com/reactphp/event-loop/issues",
- "source": "https://github.com/reactphp/event-loop/tree/v1.5.0"
- },
+ "description": "Allows reflection of object attributes, including inherited and non-public ones",
+ "homepage": "https://github.com/sebastianbergmann/object-reflector/",
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2023-11-13T13:48:05+00:00"
+ "time": "2020-10-26T13:14:26+00:00"
},
{
- "name": "react/promise",
- "version": "v3.2.0",
+ "name": "sebastian/recursion-context",
+ "version": "4.0.5",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/promise.git",
- "reference": "8a164643313c71354582dc850b42b33fa12a4b63"
+ "url": "https://github.com/sebastianbergmann/recursion-context.git",
+ "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63",
- "reference": "8a164643313c71354582dc850b42b33fa12a4b63",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1",
+ "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1",
"shasum": ""
},
"require": {
- "php": ">=7.1.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpstan/phpstan": "1.10.39 || 1.4.10",
- "phpunit/phpunit": "^9.6 || ^7.5"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "React\\Promise\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
},
{
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
},
{
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
}
],
- "description": "A lightweight implementation of CommonJS Promises/A for PHP",
- "keywords": [
- "promise",
- "promises"
- ],
- "support": {
- "issues": "https://github.com/reactphp/promise/issues",
- "source": "https://github.com/reactphp/promise/tree/v3.2.0"
- },
+ "description": "Provides functionality to recursively process PHP variables",
+ "homepage": "https://github.com/sebastianbergmann/recursion-context",
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2024-05-24T10:39:05+00:00"
+ "time": "2023-02-03T06:07:39+00:00"
},
{
- "name": "react/socket",
- "version": "v1.16.0",
+ "name": "sebastian/resource-operations",
+ "version": "3.0.4",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/socket.git",
- "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1"
+ "url": "https://github.com/sebastianbergmann/resource-operations.git",
+ "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",
- "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
+ "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
"shasum": ""
},
"require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.0",
- "react/dns": "^1.13",
- "react/event-loop": "^1.2",
- "react/promise": "^3.2 || ^2.6 || ^1.2.1",
- "react/stream": "^1.4"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
- "react/async": "^4.3 || ^3.3 || ^2",
- "react/promise-stream": "^1.4",
- "react/promise-timer": "^1.11"
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\Socket\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-main": "3.0-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
}
],
- "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP",
- "keywords": [
- "Connection",
- "Socket",
- "async",
- "reactphp",
- "stream"
- ],
- "support": {
- "issues": "https://github.com/reactphp/socket/issues",
- "source": "https://github.com/reactphp/socket/tree/v1.16.0"
- },
+ "description": "Provides a list of PHP built-in functions that operate on resources",
+ "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2024-07-26T10:38:09+00:00"
+ "time": "2024-03-14T16:00:52+00:00"
},
{
- "name": "react/stream",
- "version": "v1.4.0",
+ "name": "sebastian/type",
+ "version": "3.2.1",
"source": {
"type": "git",
- "url": "https://github.com/reactphp/stream.git",
- "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d"
+ "url": "https://github.com/sebastianbergmann/type.git",
+ "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d",
- "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7",
+ "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7",
"shasum": ""
},
"require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.8",
- "react/event-loop": "^1.2"
+ "php": ">=7.3"
},
"require-dev": {
- "clue/stream-filter": "~1.2",
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
+ "phpunit/phpunit": "^9.5"
},
"type": "library",
- "autoload": {
- "psr-4": {
- "React\\Stream\\": "src/"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.2-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
}
],
- "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP",
- "keywords": [
- "event-driven",
- "io",
- "non-blocking",
- "pipe",
- "reactphp",
- "readable",
- "stream",
- "writable"
- ],
- "support": {
- "issues": "https://github.com/reactphp/stream/issues",
- "source": "https://github.com/reactphp/stream/tree/v1.4.0"
- },
+ "description": "Collection of value objects that represent the types of the PHP type system",
+ "homepage": "https://github.com/sebastianbergmann/type",
"funding": [
{
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "time": "2024-06-11T12:45:25+00:00"
+ "time": "2023-02-03T06:13:03+00:00"
},
{
- "name": "sebastian/diff",
- "version": "4.0.6",
+ "name": "sebastian/version",
+ "version": "3.0.2",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc"
+ "url": "https://github.com/sebastianbergmann/version.git",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc",
- "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
"shasum": ""
},
"require": {
"php": ">=7.3"
},
- "require-dev": {
- "phpunit/phpunit": "^9.3",
- "symfony/process": "^4.2 || ^5"
- },
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.0-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -1653,32 +3340,19 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
}
],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff",
- "udiff",
- "unidiff",
- "unified diff"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/diff/issues",
- "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6"
- },
+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",
+ "homepage": "https://github.com/sebastianbergmann/version",
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2024-03-02T06:30:58+00:00"
+ "time": "2020-09-28T06:39:44+00:00"
},
{
"name": "squizlabs/php_codesniffer",
@@ -1738,12 +3412,6 @@
"standards",
"static analysis"
],
- "support": {
- "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
- "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
- "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
- "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
- },
"funding": [
{
"url": "https://github.com/PHPCSStandards",
@@ -1840,9 +3508,6 @@
"console",
"terminal"
],
- "support": {
- "source": "https://github.com/symfony/console/tree/v5.4.43"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1907,9 +3572,6 @@
],
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.3"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1992,9 +3654,6 @@
],
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.40"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2071,9 +3730,6 @@
"interoperability",
"standards"
],
- "support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.3"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2138,9 +3794,6 @@
],
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/filesystem/tree/v5.4.41"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2201,9 +3854,6 @@
],
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/finder/tree/v5.4.43"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2270,9 +3920,6 @@
"configuration",
"options"
],
- "support": {
- "source": "https://github.com/symfony/options-resolver/tree/v5.4.40"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2349,9 +3996,6 @@
"polyfill",
"portable"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2427,9 +4071,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2508,9 +4149,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2588,9 +4226,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2664,9 +4299,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2744,9 +4376,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2820,9 +4449,6 @@
"portable",
"shim"
],
- "support": {
- "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2882,9 +4508,6 @@
],
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/process/tree/v5.4.40"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -2965,9 +4588,6 @@
"interoperability",
"standards"
],
- "support": {
- "source": "https://github.com/symfony/service-contracts/tree/v2.5.3"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -3027,9 +4647,6 @@
],
"description": "Provides a way to profile code",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/stopwatch/tree/v5.4.40"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -3113,9 +4730,6 @@
"utf-8",
"utf8"
],
- "support": {
- "source": "https://github.com/symfony/string/tree/v5.4.43"
- },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -3132,6 +4746,52 @@
],
"time": "2024-08-01T10:24:28+00:00"
},
+ {
+ "name": "theseer/tokenizer",
+ "version": "1.2.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/theseer/tokenizer.git",
+ "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2",
+ "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2024-03-03T12:36:25+00:00"
+ },
{
"name": "woocommerce/qit-cli",
"version": "0.5.4",
@@ -3159,10 +4819,6 @@
"GPL-3.0-or-later"
],
"description": "A command line interface for WooCommerce Quality Insights Toolkit (QIT).",
- "support": {
- "issues": "https://github.com/woocommerce/qit-cli/issues",
- "source": "https://github.com/woocommerce/qit-cli/tree/0.5.4"
- },
"time": "2024-08-13T17:19:55+00:00"
},
{
diff --git a/i18n/languages/woocommerce-mercadopago-es.mo b/i18n/languages/woocommerce-mercadopago-es.mo
new file mode 100644
index 000000000..627bc42cc
Binary files /dev/null and b/i18n/languages/woocommerce-mercadopago-es.mo differ
diff --git a/i18n/languages/woocommerce-mercadopago-es.po b/i18n/languages/woocommerce-mercadopago-es.po
new file mode 100644
index 000000000..284775a63
--- /dev/null
+++ b/i18n/languages/woocommerce-mercadopago-es.po
@@ -0,0 +1,3465 @@
+# Copyright (C) 2022 woocommerce-mercadopago
+# This file is distributed under the same license as the woocommerce-mercadopago package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Mercado Pago payments for WooCommerce\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-"
+"mercadopago\n"
+"POT-Creation-Date: 2024-12-10 19:23+0000\n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: es_AR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.4.4\n"
+
+#: ../../src/WoocommerceMercadoPago.php:440,
+#: ../../src/Translations/AdminTranslations.php:109
+msgid "Activate WooCommerce"
+msgstr "Activar WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:441,
+#: ../../src/Translations/AdminTranslations.php:110
+msgid "Install WooCommerce"
+msgstr "Instalar WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:442,
+#: ../../src/Translations/AdminTranslations.php:111
+msgid "See WooCommerce"
+msgstr "Ver WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:444,
+#: ../../src/Translations/AdminTranslations.php:100
+msgid "The Mercado Pago module needs an active version of %s in order to work!"
+msgstr ""
+"¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
+
+#: ../../src/Translations/AdminTranslations.php:106
+msgid ""
+"Mercado Pago payments for WooCommerce requires PHP version 7.4 or later. "
+"Please update your PHP version."
+msgstr ""
+"El plugin de Mercado Pago requiere la versión de PHP 7.4 o posterior. Por "
+"favor actualice su versión de PHP."
+
+#: ../../src/Translations/AdminTranslations.php:107
+msgid "Mercado Pago Error: PHP Extension CURL is not installed."
+msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
+
+#: ../../src/Translations/AdminTranslations.php:108
+msgid ""
+"Mercado Pago Error: PHP Extension GD is not installed. Installation of GD "
+"extension is required to send QR Code Pix by email."
+msgstr ""
+"Error en Mercado Pago: La extensión GD de PHP no está instalada. Es "
+"necesaria la instalación de la extensión GD para enviar el QR Code Pix por "
+"correo electrónico."
+
+#: ../../src/Translations/AdminTranslations.php:112
+msgid ""
+"Please note that to receive payments via Pix at our checkout, you must have "
+"a Pix key registered in your Mercado Pago account."
+msgstr ""
+"Ten en cuenta que para recibir pagos a través de Pix en nuestro checkout, "
+"debes tener una clave Pix registrada en tu cuenta de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:113
+msgid "Register your Pix key at Mercado Pago."
+msgstr "Registra tu clave Pix en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:114
+msgid "%s, help us improve the experience we offer"
+msgstr "%s, ayúdanos a mejorar nuestra experiencia"
+
+#: ../../src/Translations/AdminTranslations.php:115
+msgid ""
+"Share your opinion with us so that we improve our product and offer the best "
+"payment solution."
+msgstr ""
+"Comparte tu opinión con nosotros para poder mejorar nuestro producto y "
+"ofrecerte la mejor solución de pagos."
+
+#: ../../src/Translations/AdminTranslations.php:116
+msgid "Rate the plugin"
+msgstr "Valorar el plugin"
+
+#: ../../src/Translations/AdminTranslations.php:117
+msgid "Enable payments via Mercado Pago account"
+msgstr "Pagos a través de la cuenta de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:118
+msgid ""
+"When you enable this function, your customers pay faster using their Mercado "
+"Pago accounts.The approval rate of these payments in your store can be "
+"25% higher compared to other payment methods."
+msgstr ""
+"Con esta función activa, tus clientes pagan más rápido usando su cuenta de "
+"Mercado Pago.La tasa de aprobación de estos pagos en tu tienda puede "
+"ser un 25% mayor en comparación con otros medios de pago."
+
+#: ../../src/Translations/AdminTranslations.php:119
+msgid "Activate"
+msgstr "Activar"
+
+#: ../../src/Translations/AdminTranslations.php:120
+msgid ""
+"Our plugin does not support the language you've chosen, so we've switched it "
+"to the English default. If you prefer, you can also select Spanish or "
+"Portuguese (Brazilian)."
+msgstr ""
+
+#: ../../src/Translations/AdminTranslations.php:121
+msgid "You activated Mercado Pago’s plug-in"
+msgstr "Activaste el plugin de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:122
+msgid ""
+"Follow the instructions below to integrate your store with Mercado Pago and "
+"start to sell."
+msgstr ""
+"Sigue las instrucciones de abajo para integrar tu tienda con Mercado Pago y "
+"empezar a vender."
+
+#: ../../src/Translations/AdminTranslations.php:134
+msgid "Set plugin"
+msgstr "Configurar plugin"
+
+#: ../../src/Translations/AdminTranslations.php:135,
+#: ../../src/Translations/AdminTranslations.php:721,
+#: ../../src/Translations/AdminTranslations.php:781
+msgid "Payment methods"
+msgstr "Medios de pagos"
+
+#: ../../src/Translations/AdminTranslations.php:136
+msgid "Plugin manual"
+msgstr "Manual del plugin"
+
+#: ../../src/Translations/AdminTranslations.php:148
+msgid "Cancel order"
+msgstr "Cancelar orden"
+
+#: ../../src/Translations/AdminTranslations.php:149
+msgid "Mercado Pago commission:"
+msgstr "Comisión de Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:150
+msgid "Represents the commission configured on plugin settings."
+msgstr "Representa la comisión configurada en la configuración del plugin."
+
+#: ../../src/Translations/AdminTranslations.php:151
+msgid "Mercado Pago discount:"
+msgstr "Descuento de Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:152
+msgid "Represents the discount configured on plugin settings."
+msgstr "Representa el descuento configurado en la configuración del plugin."
+
+#: ../../src/Translations/AdminTranslations.php:153
+msgid "Represents the installment fee charged by Mercado Pago."
+msgstr "Representa la comisión a plazos cobrada por Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:154
+msgid "Mercado Pago Installment Fee:"
+msgstr "Cuota de Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:155
+msgid ""
+"Represents the total purchase plus the installment fee charged by Mercado "
+"Pago."
+msgstr ""
+"Representa el total de la compra más la comisión de fraccionamiento cobrada "
+"por Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:156
+msgid "Mercado Pago Total:"
+msgstr "Mercado Pago Total:"
+
+#: ../../src/Translations/AdminTranslations.php:169
+msgid "Accept"
+msgstr "Acepta"
+
+#: ../../src/Translations/AdminTranslations.php:170
+msgid "payments"
+msgstr "pagos"
+
+#: ../../src/Translations/AdminTranslations.php:171
+msgid "safely"
+msgstr "de forma"
+
+#: ../../src/Translations/AdminTranslations.php:172
+msgid "with"
+msgstr "segura con"
+
+#: ../../src/Translations/AdminTranslations.php:173
+msgid "Mercado Pago"
+msgstr "Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:178
+msgid "Choose"
+msgstr "Elige"
+
+#: ../../src/Translations/AdminTranslations.php:179
+msgid "when you want to receive the money"
+msgstr "cuándo quieres recibir el dinero"
+
+#: ../../src/Translations/AdminTranslations.php:180
+msgid "from your sales and if you want to offer"
+msgstr "de las ventas y si quieres ofrecer"
+
+#: ../../src/Translations/AdminTranslations.php:181
+msgid "interest-free installments"
+msgstr "cuotas sin interés"
+
+#: ../../src/Translations/AdminTranslations.php:182
+msgid "to your clients."
+msgstr "a los clientes."
+
+#: ../../src/Translations/AdminTranslations.php:188
+msgid "SSL"
+msgstr "SSL"
+
+#: ../../src/Translations/AdminTranslations.php:189
+msgid "Curl"
+msgstr "Curl"
+
+#: ../../src/Translations/AdminTranslations.php:190
+msgid "GD Extensions"
+msgstr "Extensiones GD"
+
+#: ../../src/Translations/AdminTranslations.php:192
+msgid "Technical requirements"
+msgstr "Requisitos técnicos"
+
+#: ../../src/Translations/AdminTranslations.php:193
+msgid "Collections and installments"
+msgstr "Cobros y cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:194
+msgid "More information"
+msgstr "Más información"
+
+#: ../../src/Translations/AdminTranslations.php:195
+msgid ""
+"Implementation responsible for transmitting data to Mercado Pago in a secure "
+"and encrypted way."
+msgstr ""
+"Implementación responsable de transmitir los datos a Mercado Pago de forma "
+"segura y encriptada."
+
+#: ../../src/Translations/AdminTranslations.php:196
+msgid ""
+"It is an extension responsible for making payments via requests from the "
+"plugin to Mercado Pago."
+msgstr ""
+"Es una extensión encargada de realizar los pagos a través de requests del "
+"plugin a Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:197
+msgid ""
+"These extensions are responsible for the implementation and operation of Pix "
+"in your store."
+msgstr ""
+"Extensiones responsables de la aplicación y el funcionamiento de Pix en su "
+"tienda."
+
+#: ../../src/Translations/AdminTranslations.php:199
+msgid "Check our documentation to learn more about integrating our plug-in."
+msgstr ""
+"Revisa nuestras documentaciones para saber más sobre la integración de "
+"nuestro plugin."
+
+#: ../../src/Translations/AdminTranslations.php:200
+msgid "Set deadlines and fees"
+msgstr "Ajustar plazos y tasas"
+
+#: ../../src/Translations/AdminTranslations.php:201
+msgid "Go to documentation"
+msgstr "Ir a la documentación"
+
+#: ../../src/Translations/AdminTranslations.php:214
+msgid "Public Key"
+msgstr "Public Key"
+
+#: ../../src/Translations/AdminTranslations.php:215
+msgid "Access Token"
+msgstr "Access Token"
+
+#: ../../src/Translations/AdminTranslations.php:216
+msgid "1. Enter your credentials to integrate your store with Mercado Pago"
+msgstr "1. Ingresa tus credenciales para integrar tu tienda con Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:217
+msgid "Production credentials"
+msgstr "Credenciales de producción"
+
+#: ../../src/Translations/AdminTranslations.php:218
+msgid "Test credentials"
+msgstr "Credenciales de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:219
+msgid "To start selling, "
+msgstr "Para empezar a vender, "
+
+#: ../../src/Translations/AdminTranslations.php:220
+msgid ""
+"in the fields below. If you don’t have credentials yet, you’ll have to "
+"create them from this link."
+msgstr ""
+"en los campos de abajo. Si todavía no tienes credenciales, deberás crearlas "
+"en ese mismo enlace."
+
+#: ../../src/Translations/AdminTranslations.php:221
+msgid "Enable Mercado Pago checkouts for test purchases in the store."
+msgstr ""
+"Habilita a los checkouts de Mercado Pago para pruebas de compras en la "
+"tienda."
+
+#: ../../src/Translations/AdminTranslations.php:222
+msgid "Enable Mercado Pago checkouts to receive real payments in the store."
+msgstr ""
+"Habilita a los checkouts de Mercado Pago para recibir pagos reales en tienda."
+
+#: ../../src/Translations/AdminTranslations.php:223
+msgid "Paste your Public Key here"
+msgstr "Pega aquí tu Public Key"
+
+#: ../../src/Translations/AdminTranslations.php:224
+msgid "Paste your Access Token here"
+msgstr "Pega aquí tu Access Token"
+
+#: ../../src/Translations/AdminTranslations.php:225,
+#: ../../src/Translations/AdminTranslations.php:279
+msgid "Save and continue"
+msgstr "Guardar y continuar"
+
+#: ../../src/Translations/AdminTranslations.php:226
+msgid ""
+"You have to enter your production credentials to start selling with Mercado "
+"Pago."
+msgstr ""
+"Debes ingresar tus credenciales de producción para empezar a vender con "
+"Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:227
+msgid "Enter credentials"
+msgstr "Introducir credenciales"
+
+#: ../../src/Translations/AdminTranslations.php:228
+msgid "Activate your credentials to be able to sell"
+msgstr "Activa tus credenciales para poder vender"
+
+#: ../../src/Translations/AdminTranslations.php:229
+msgid ""
+"Credentials are codes that you must enter to enable sales. Go below on "
+"Activate Credentials. On the next screen, use again the Activate Credentials "
+"button and fill in the fields with the requested information."
+msgstr ""
+"Las credenciales son códigos que debes ingresar para habilitar las ventas. "
+"Vaya más abajo en Activar credenciales. En la siguiente pantalla, utilice "
+"nuevamente el botón Activar Credenciales y complete los campos con la "
+"información solicitada."
+
+#: ../../src/Translations/AdminTranslations.php:230
+msgid "Activate credentials"
+msgstr "Activar credenciales"
+
+#: ../../src/Translations/AdminTranslations.php:231
+msgid "copy and paste your production credentials "
+msgstr "copia y pega tus credenciales de producción "
+
+#: ../../src/Translations/AdminTranslations.php:244
+msgid "Add the URL to receive payments notifications."
+msgstr "Ingresa la URL para recibir notificaciones de pago."
+
+#: ../../src/Translations/AdminTranslations.php:245
+msgid "Find out more information in the"
+msgstr "Consulta más información en los"
+
+#: ../../src/Translations/AdminTranslations.php:247
+msgid "guides"
+msgstr "manuales"
+
+#: ../../src/Translations/AdminTranslations.php:252
+msgid ""
+"If you are a Mercado Pago Certified Partner, make sure to add your "
+"integrator_id."
+msgstr ""
+"Si eres Partner certificado de Mercado Pago, recuerda ingresar tu "
+"integrator_id."
+
+#: ../../src/Translations/AdminTranslations.php:253
+msgid "If you do not have the code, please"
+msgstr "Si no tienes el código, por fávor"
+
+#: ../../src/Translations/AdminTranslations.php:255
+msgid "request it now"
+msgstr "solicítalo ahora"
+
+#: ../../src/Translations/AdminTranslations.php:259
+msgid "2. Customize your business’ information"
+msgstr "2. Personaliza la información de tu negocio"
+
+#: ../../src/Translations/AdminTranslations.php:260
+msgid "Your store information"
+msgstr "Información sobre tu tienda"
+
+#: ../../src/Translations/AdminTranslations.php:261
+msgid "Advanced integration options (optional)"
+msgstr "Opciones avanzadas de integración (opcional)"
+
+#: ../../src/Translations/AdminTranslations.php:262
+msgid "Debug and Log Mode"
+msgstr "Modo debug y log"
+
+#: ../../src/Translations/AdminTranslations.php:263
+msgid ""
+"Fill out the following details to have a better experience and offer your "
+"customers more information."
+msgstr ""
+"Completa los siguientes datos para tener una mejor experiencia y ofrecerle "
+"más información a tus clientes."
+
+#: ../../src/Translations/AdminTranslations.php:264
+msgid "Name of your store in your client's invoice"
+msgstr "Nombre de tu tienda en la factura de los clientes"
+
+#: ../../src/Translations/AdminTranslations.php:265
+msgid "Identification in Activities of Mercado Pago"
+msgstr "Identificación en Actividad de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:266
+msgid ""
+"For further integration of your store with Mercado Pago (IPN, Certified "
+"Partners, Debug Mode)"
+msgstr ""
+"Para mayor integración de tu tienda con Mercado Pago (IPN, Socios "
+"Certificados, Modo Debug)"
+
+#: ../../src/Translations/AdminTranslations.php:267
+msgid "Store category"
+msgstr "Categoría de la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:268
+msgid "URL for IPN"
+msgstr "URL para IPN"
+
+#: ../../src/Translations/AdminTranslations.php:269
+msgid "Integrator ID"
+msgstr "Integrator ID"
+
+#: ../../src/Translations/AdminTranslations.php:270
+msgid "We record your store's actions in order to provide a better assistance."
+msgstr "Grabamos las aciones de tu tienda para brindar un mejor soporte."
+
+#: ../../src/Translations/AdminTranslations.php:271
+msgid "Ex: Mary's Store"
+msgstr "Ej.: Tienda de María"
+
+#: ../../src/Translations/AdminTranslations.php:272
+msgid "Ex: Mary Store"
+msgstr "Ej.: TiendaMaría"
+
+#: ../../src/Translations/AdminTranslations.php:273,
+#: ../../src/Translations/AdminTranslations.php:1304
+msgid "Select"
+msgstr "Seleccionar"
+
+#: ../../src/Translations/AdminTranslations.php:274
+msgid "Ex: https://examples.com/my-custom-ipn-url"
+msgstr "Ej.: https://examples.com/my-custom-ipn-url"
+
+#: ../../src/Translations/AdminTranslations.php:275
+msgid "Add plugin default params"
+msgstr "Agregar parámetros default del plugin"
+
+#: ../../src/Translations/AdminTranslations.php:276
+msgid "Ex: 14987126498"
+msgstr "Ej.: 14987126498"
+
+#: ../../src/Translations/AdminTranslations.php:277
+msgid "Show advanced options"
+msgstr "Ver opciones avanzadas"
+
+#: ../../src/Translations/AdminTranslations.php:278
+msgid "Hide advanced options"
+msgstr "Esconder opciones avanzadas"
+
+#: ../../src/Translations/AdminTranslations.php:280
+msgid ""
+"If this field is empty, the purchase will be identified as Mercado Pago."
+msgstr ""
+"Si el campo queda vacío, la compra del cliente se identificará como Mercado "
+"Pago."
+
+#: ../../src/Translations/AdminTranslations.php:281
+msgid "In Activities, you will view this term before the order number"
+msgstr "En Actividad, verás el término ingresado antes del número o del pedido"
+
+#: ../../src/Translations/AdminTranslations.php:282
+msgid ""
+"Select \"Other categories\" if you do not find the appropriate category."
+msgstr "Seleciona ”Other categories” si no encuentras una categoría adecuada."
+
+#: ../../src/Translations/AdminTranslations.php:283
+msgid "request it now."
+msgstr "solicítalo ahora."
+
+#: ../../src/Translations/AdminTranslations.php:286
+msgid "Order tracking"
+msgstr "Rastreo de orden"
+
+#: ../../src/Translations/AdminTranslations.php:287
+msgid ""
+"We will keep your Mercado Pago orders updated every hour. We recommend "
+"activating this option only in the event of automatic order update failures."
+msgstr ""
+"Mantendremos tus pedidos de Mercado Pago actualizados cada hora. "
+"Recomendamos activar esta opción sólo en caso de fallos en la actualización "
+"automática de pedidos."
+
+#: ../../src/Translations/AdminTranslations.php:299
+msgid "3. Activate and set up payment methods"
+msgstr "3. Activa y configura los medios de pago"
+
+#: ../../src/Translations/AdminTranslations.php:300
+msgid ""
+"Select the payment method you want to appear in your store to activate and "
+"set it up."
+msgstr ""
+"Selecciona el medio de pago que quieres que aparezca en tu tienda para "
+"activarlo y configurarlo."
+
+#: ../../src/Translations/AdminTranslations.php:301
+msgid "Settings"
+msgstr "Configurar"
+
+#: ../../src/Translations/AdminTranslations.php:302
+msgid "Continue"
+msgstr "Continuar"
+
+#: ../../src/Translations/AdminTranslations.php:303
+msgid "Enabled"
+msgstr "Activado"
+
+#: ../../src/Translations/AdminTranslations.php:304
+msgid "Disabled"
+msgstr "Inactivo"
+
+#: ../../src/Translations/AdminTranslations.php:305
+msgid "Configure your credentials to enable Mercado Pago payment methods."
+msgstr ""
+"Completa tus credenciales para habilitar los medios de pago Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:318,
+#: ../../src/Translations/AdminTranslations.php:324
+msgid "The checkout is"
+msgstr "El checkout está"
+
+#: ../../src/Translations/AdminTranslations.php:319,
+#: ../../src/Translations/AdminTranslations.php:331,
+#: ../../src/Translations/AdminTranslations.php:447,
+#: ../../src/Translations/AdminTranslations.php:459,
+#: ../../src/Translations/AdminTranslations.php:471,
+#: ../../src/Translations/AdminTranslations.php:582,
+#: ../../src/Translations/AdminTranslations.php:594,
+#: ../../src/Translations/AdminTranslations.php:606,
+#: ../../src/Translations/AdminTranslations.php:683,
+#: ../../src/Translations/AdminTranslations.php:745,
+#: ../../src/Translations/AdminTranslations.php:805,
+#: ../../src/Translations/AdminTranslations.php:817,
+#: ../../src/Translations/AdminTranslations.php:917
+msgid "enabled"
+msgstr "activo"
+
+#: ../../src/Translations/AdminTranslations.php:325,
+#: ../../src/Translations/AdminTranslations.php:337,
+#: ../../src/Translations/AdminTranslations.php:453,
+#: ../../src/Translations/AdminTranslations.php:465,
+#: ../../src/Translations/AdminTranslations.php:477,
+#: ../../src/Translations/AdminTranslations.php:588,
+#: ../../src/Translations/AdminTranslations.php:600,
+#: ../../src/Translations/AdminTranslations.php:612,
+#: ../../src/Translations/AdminTranslations.php:689,
+#: ../../src/Translations/AdminTranslations.php:751,
+#: ../../src/Translations/AdminTranslations.php:811,
+#: ../../src/Translations/AdminTranslations.php:823,
+#: ../../src/Translations/AdminTranslations.php:910,
+#: ../../src/Translations/AdminTranslations.php:923
+msgid "disabled"
+msgstr "inactivo"
+
+#: ../../src/Translations/AdminTranslations.php:330,
+#: ../../src/Translations/AdminTranslations.php:336,
+#: ../../src/Translations/AdminTranslations.php:470,
+#: ../../src/Translations/AdminTranslations.php:476,
+#: ../../src/Translations/AdminTranslations.php:593,
+#: ../../src/Translations/AdminTranslations.php:599,
+#: ../../src/Translations/AdminTranslations.php:682,
+#: ../../src/Translations/AdminTranslations.php:688,
+#: ../../src/Translations/AdminTranslations.php:744,
+#: ../../src/Translations/AdminTranslations.php:750,
+#: ../../src/Translations/AdminTranslations.php:816,
+#: ../../src/Translations/AdminTranslations.php:822,
+#: ../../src/Translations/AdminTranslations.php:916,
+#: ../../src/Translations/AdminTranslations.php:922
+msgid "Currency conversion is"
+msgstr "Conversión de moneda está"
+
+#: ../../src/Translations/AdminTranslations.php:342,
+#: ../../src/Translations/AdminTranslations.php:348
+msgid "The buyer"
+msgstr "El comprador"
+
+#: ../../src/Translations/AdminTranslations.php:343
+msgid "will be automatically redirected to the store"
+msgstr "será redirigido automáticamente a la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:349
+msgid "will not be automatically redirected to the store"
+msgstr "no será redirigido automáticamente a la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:355,
+#: ../../src/Translations/AdminTranslations.php:361,
+#: ../../src/Translations/AdminTranslations.php:617,
+#: ../../src/Translations/AdminTranslations.php:623
+msgid "Pending payments"
+msgstr "Los pagos pendientes"
+
+#: ../../src/Translations/AdminTranslations.php:356,
+#: ../../src/Translations/AdminTranslations.php:618
+msgid "will be automatically declined"
+msgstr "se rechazarán automaticamente"
+
+#: ../../src/Translations/AdminTranslations.php:362,
+#: ../../src/Translations/AdminTranslations.php:624
+msgid "will not be automatically declined"
+msgstr "no se rechazarán automaticamente"
+
+#: ../../src/Translations/AdminTranslations.php:366,
+#: ../../src/Translations/AdminTranslations.php:381
+msgid "Your saved cards or money available in Mercado Pago"
+msgstr "Medios de pago disponibles en Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:367,
+#: ../../src/Translations/AdminTranslations.php:369
+msgid "Your clients finalize their payments in Mercado Pago."
+msgstr "Tus clientes finalizan sus pagos en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:368,
+#: ../../src/Translations/AdminTranslations.php:483
+msgid "Mercado Pago - Checkout Pro"
+msgstr "Mercado Pago - Checkout Pro"
+
+#: ../../src/Translations/AdminTranslations.php:370
+msgid "Checkout Pro"
+msgstr "Checkout Pro"
+
+#: ../../src/Translations/AdminTranslations.php:371
+msgid ""
+"With Checkout Pro you sell with all the safety inside Mercado Pago "
+"environment."
+msgstr ""
+"Con el Checkout Pro, podrás vender con toda la seguridad, dentro de Mercado "
+"Pago."
+
+#: ../../src/Translations/AdminTranslations.php:372,
+#: ../../src/Translations/AdminTranslations.php:487,
+#: ../../src/Translations/AdminTranslations.php:698,
+#: ../../src/Translations/AdminTranslations.php:760,
+#: ../../src/Translations/AdminTranslations.php:841,
+#: ../../src/Translations/AdminTranslations.php:934
+msgid "Mercado Pago plugin general settings"
+msgstr "Configuraciones generales del plugin de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:373,
+#: ../../src/Translations/AdminTranslations.php:488,
+#: ../../src/Translations/AdminTranslations.php:635,
+#: ../../src/Translations/AdminTranslations.php:699,
+#: ../../src/Translations/AdminTranslations.php:761,
+#: ../../src/Translations/AdminTranslations.php:842,
+#: ../../src/Translations/AdminTranslations.php:935
+msgid ""
+"Set the deadlines and fees, test your store or access the Plugin manual."
+msgstr "Ajusta tasas y plazos, testea tu tienda o accede al manual del plugin."
+
+#: ../../src/Translations/AdminTranslations.php:374,
+#: ../../src/Translations/AdminTranslations.php:489,
+#: ../../src/Translations/AdminTranslations.php:636,
+#: ../../src/Translations/AdminTranslations.php:700,
+#: ../../src/Translations/AdminTranslations.php:762,
+#: ../../src/Translations/AdminTranslations.php:843,
+#: ../../src/Translations/AdminTranslations.php:936
+msgid "Go to Settings"
+msgstr "Ir a Configuraciones"
+
+#: ../../src/Translations/AdminTranslations.php:375,
+#: ../../src/Translations/AdminTranslations.php:637,
+#: ../../src/Translations/AdminTranslations.php:844,
+#: ../../src/Translations/AdminTranslations.php:937
+msgid "Enable the checkout"
+msgstr "Activar el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:376
+msgid ""
+"By disabling it, you will disable all payments from Mercado Pago Checkout at "
+"Mercado Pago website by redirect."
+msgstr ""
+"Al desactivar, desabilitarás todos los medios de pago del checkout en el "
+"sitio web de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:379,
+#: ../../src/Translations/AdminTranslations.php:641,
+#: ../../src/Translations/AdminTranslations.php:705,
+#: ../../src/Translations/AdminTranslations.php:767,
+#: ../../src/Translations/AdminTranslations.php:848
+msgid "Title in the store Checkout"
+msgstr "Título en el checkout de la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:380,
+#: ../../src/Translations/AdminTranslations.php:642,
+#: ../../src/Translations/AdminTranslations.php:706,
+#: ../../src/Translations/AdminTranslations.php:768,
+#: ../../src/Translations/AdminTranslations.php:849
+msgid "Change the display text in Checkout, maximum characters: 85"
+msgstr "Puedes cambiar el título dentro tu tienda. Caracteres máximos: 85"
+
+#: ../../src/Translations/AdminTranslations.php:382,
+#: ../../src/Translations/AdminTranslations.php:501,
+#: ../../src/Translations/AdminTranslations.php:644,
+#: ../../src/Translations/AdminTranslations.php:708,
+#: ../../src/Translations/AdminTranslations.php:770,
+#: ../../src/Translations/AdminTranslations.php:851,
+#: ../../src/Translations/AdminTranslations.php:944
+msgid "The text inserted here will not be translated to other languages"
+msgstr "El texto insertado aquí no se traducirá a otros idiomas"
+
+#: ../../src/Translations/AdminTranslations.php:383,
+#: ../../src/Translations/AdminTranslations.php:502,
+#: ../../src/Translations/AdminTranslations.php:648,
+#: ../../src/Translations/AdminTranslations.php:709,
+#: ../../src/Translations/AdminTranslations.php:771,
+#: ../../src/Translations/AdminTranslations.php:865,
+#: ../../src/Translations/AdminTranslations.php:945
+msgid "Convert Currency"
+msgstr "Convertir moneda"
+
+#: ../../src/Translations/AdminTranslations.php:384,
+#: ../../src/Translations/AdminTranslations.php:503,
+#: ../../src/Translations/AdminTranslations.php:649,
+#: ../../src/Translations/AdminTranslations.php:710,
+#: ../../src/Translations/AdminTranslations.php:772,
+#: ../../src/Translations/AdminTranslations.php:866,
+#: ../../src/Translations/AdminTranslations.php:946
+msgid ""
+"Activate this option so that the value of the currency set in WooCommerce is "
+"compatible with the value of the currency you use in Mercado Pago."
+msgstr ""
+"Activa esta opción para que el valor de la moneda configurada en WooCommerce "
+"sea compatible al valor de la moneda que usas en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:387
+msgid "Choose the payment methods you accept in your store"
+msgstr "Elige los medios de pago que se aceptan en la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:388
+msgid "Enable the payment methods available to your clients."
+msgstr "Habilita los medios de pago disponibles para tus clientes."
+
+#: ../../src/Translations/AdminTranslations.php:389
+msgid "Credit Cards"
+msgstr "Tarjetas de crédito"
+
+#: ../../src/Translations/AdminTranslations.php:390
+msgid "Debit Cards"
+msgstr "Tarjetas de débito"
+
+#: ../../src/Translations/AdminTranslations.php:391
+msgid "Other Payment Methods"
+msgstr "Otros medios"
+
+#: ../../src/Translations/AdminTranslations.php:392
+msgid "Maximum number of installments"
+msgstr "Máximo de cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:393
+msgid "What is the maximum quota with which a customer can buy?"
+msgstr "¿Cuál es el máximo de cuotas con las que un cliente puede comprar?"
+
+#: ../../src/Translations/AdminTranslations.php:394
+msgid "1 installment"
+msgstr "1 cuota"
+
+#: ../../src/Translations/AdminTranslations.php:395
+msgid "2 installments"
+msgstr "2 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:396
+msgid "3 installments"
+msgstr "3 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:397
+msgid "4 installments"
+msgstr "4 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:398
+msgid "5 installments"
+msgstr "5 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:399
+msgid "6 installments"
+msgstr "6 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:400
+msgid "10 installments"
+msgstr "10 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:401
+msgid "12 installments"
+msgstr "12 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:402
+msgid "15 installments"
+msgstr "15 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:403
+msgid "18 installments"
+msgstr "18 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:404
+msgid "24 installments"
+msgstr "24 cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:405,
+#: ../../src/Translations/AdminTranslations.php:516,
+#: ../../src/Translations/AdminTranslations.php:949
+msgid "Advanced settings"
+msgstr "Configuración Avanzada"
+
+#: ../../src/Translations/AdminTranslations.php:406,
+#: ../../src/Translations/AdminTranslations.php:517,
+#: ../../src/Translations/AdminTranslations.php:658,
+#: ../../src/Translations/AdminTranslations.php:716,
+#: ../../src/Translations/AdminTranslations.php:776,
+#: ../../src/Translations/AdminTranslations.php:873,
+#: ../../src/Translations/AdminTranslations.php:950
+msgid ""
+"Edit these advanced fields only when you want to modify the preset values."
+msgstr ""
+"Edita estos campos avanzados solo cuando quieras modificar los valores "
+"preestablecidos."
+
+#: ../../src/Translations/AdminTranslations.php:407
+msgid "Payment experience"
+msgstr "Experiencia de pago"
+
+#: ../../src/Translations/AdminTranslations.php:408
+msgid ""
+"Define what payment experience your customers will have, whether inside or "
+"outside your store."
+msgstr ""
+"Define qué experiencia de pago tendrán tus clientes, si dentro o fuera de tu "
+"tienda."
+
+#: ../../src/Translations/AdminTranslations.php:409
+msgid "Redirect"
+msgstr "Redirect"
+
+#: ../../src/Translations/AdminTranslations.php:410
+msgid "Modal"
+msgstr "Modal"
+
+#: ../../src/Translations/AdminTranslations.php:411
+msgid "Return to the store"
+msgstr "Volver a la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:412
+msgid ""
+"Do you want your customer to automatically return to the store after payment?"
+msgstr ""
+"¿Quieres que tu cliente vuelva automáticamente a la tienda después del pago?"
+
+#: ../../src/Translations/AdminTranslations.php:415
+msgid "Success URL"
+msgstr "URL de éxito"
+
+#: ../../src/Translations/AdminTranslations.php:416
+msgid ""
+"Choose the URL that we will show your customers when they finish their "
+"purchase."
+msgstr "Elige la URL que mostraremos a tus clientes cuando terminen su compra."
+
+#: ../../src/Translations/AdminTranslations.php:417
+msgid "Payment URL rejected"
+msgstr "URL de pago rechazado"
+
+#: ../../src/Translations/AdminTranslations.php:418
+msgid ""
+"Choose the URL that we will show to your customers when we refuse their "
+"purchase. Make sure it includes a message appropriate to the situation and "
+"give them useful information so they can solve it."
+msgstr ""
+"Elige la URL que mostraremos a tus clientes cuando rechacemos su compra. "
+"Asegúrate de incluir un mensaje adecuado a la situación y dales información "
+"útil para que puedan solucionarlo."
+
+#: ../../src/Translations/AdminTranslations.php:419
+msgid "Payment URL pending"
+msgstr "URL de pago pendiente"
+
+#: ../../src/Translations/AdminTranslations.php:420
+msgid ""
+"Choose the URL that we will show to your customers when they have a payment "
+"pending approval."
+msgstr ""
+"Elige la URL que mostraremos a tus clientes cuando tengan un pago pendiente "
+"de aprobación."
+
+#: ../../src/Translations/AdminTranslations.php:421,
+#: ../../src/Translations/AdminTranslations.php:659
+msgid "Automatic decline of payments without instant approval"
+msgstr "Rechazo automático de pagos sin aprobación instantanea"
+
+#: ../../src/Translations/AdminTranslations.php:422,
+#: ../../src/Translations/AdminTranslations.php:660
+msgid ""
+"Enable it if you want to automatically decline payments that are not "
+"instantly approved by banks or other institutions."
+msgstr ""
+"Actívalo si quieres rechazar automáticamente los pagos que no son aprobados "
+"instantáneamente por bancos u otros compradores."
+
+#: ../../src/Translations/AdminTranslations.php:423
+msgid "Debit, Credit and Invoice in Mercado Pago environment."
+msgstr "Débito, crédito y efectivo, en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:426,
+#: ../../src/Translations/AdminTranslations.php:518,
+#: ../../src/Translations/AdminTranslations.php:663,
+#: ../../src/Translations/AdminTranslations.php:725,
+#: ../../src/Translations/AdminTranslations.php:785,
+#: ../../src/Translations/AdminTranslations.php:874,
+#: ../../src/Translations/AdminTranslations.php:951
+msgid "Discount in Mercado Pago Checkouts"
+msgstr "Descuento en los checkouts de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:427,
+#: ../../src/Translations/AdminTranslations.php:519,
+#: ../../src/Translations/AdminTranslations.php:664,
+#: ../../src/Translations/AdminTranslations.php:726,
+#: ../../src/Translations/AdminTranslations.php:786,
+#: ../../src/Translations/AdminTranslations.php:875,
+#: ../../src/Translations/AdminTranslations.php:952
+msgid ""
+"Choose a percentage value that you want to discount your customers for "
+"paying with Mercado Pago."
+msgstr ""
+"Elige un valor porcentual que quieras descontar a tus clientes por pagar con "
+"Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:428,
+#: ../../src/Translations/AdminTranslations.php:431,
+#: ../../src/Translations/AdminTranslations.php:520,
+#: ../../src/Translations/AdminTranslations.php:523,
+#: ../../src/Translations/AdminTranslations.php:665,
+#: ../../src/Translations/AdminTranslations.php:668,
+#: ../../src/Translations/AdminTranslations.php:727,
+#: ../../src/Translations/AdminTranslations.php:730,
+#: ../../src/Translations/AdminTranslations.php:787,
+#: ../../src/Translations/AdminTranslations.php:790,
+#: ../../src/Translations/AdminTranslations.php:876,
+#: ../../src/Translations/AdminTranslations.php:879,
+#: ../../src/Translations/AdminTranslations.php:953,
+#: ../../src/Translations/AdminTranslations.php:956
+msgid "Activate and show this information on Mercado Pago Checkout"
+msgstr "Activar y mostrar esa información en el checkout Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:429,
+#: ../../src/Translations/AdminTranslations.php:521,
+#: ../../src/Translations/AdminTranslations.php:666,
+#: ../../src/Translations/AdminTranslations.php:728,
+#: ../../src/Translations/AdminTranslations.php:788,
+#: ../../src/Translations/AdminTranslations.php:877,
+#: ../../src/Translations/AdminTranslations.php:954
+msgid "Commission in Mercado Pago Checkouts"
+msgstr "Comisiones en los checkouts de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:430,
+#: ../../src/Translations/AdminTranslations.php:522,
+#: ../../src/Translations/AdminTranslations.php:667,
+#: ../../src/Translations/AdminTranslations.php:729,
+#: ../../src/Translations/AdminTranslations.php:789,
+#: ../../src/Translations/AdminTranslations.php:878,
+#: ../../src/Translations/AdminTranslations.php:955
+msgid ""
+"Choose an additional percentage value that you want to charge as commission "
+"to your customers for paying with Mercado Pago."
+msgstr ""
+"Elige un valor porcentual adicional que quieras cobrar como comisión a tus "
+"clientes por pagar con Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:432
+msgid "This seems to be an invalid URL"
+msgstr "Esto parece ser una URL no válida"
+
+#: ../../src/Translations/AdminTranslations.php:446,
+#: ../../src/Translations/AdminTranslations.php:452
+msgid "“Installments without cards through Mercado Pago” is"
+msgstr "”Pagos sin Tarjeta de Mercado Pago” está"
+
+#: ../../src/Translations/AdminTranslations.php:458,
+#: ../../src/Translations/AdminTranslations.php:464
+msgid "“Up to 12 installments without cards through Mercado Pago” is"
+msgstr "“Hasta 12 pagos sin tarjeta con Mercado Pago” está"
+
+#: ../../src/Translations/AdminTranslations.php:481
+msgid "Installments without cards through Mercado Pago"
+msgstr "Pagos sin Tarjeta de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:482,
+#: ../../src/Translations/AdminTranslations.php:484
+msgid "Your customers finish their payments on Mercado Pago."
+msgstr "Tus clientes finalizan sus pagos en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:485
+msgid "Up to 12 installments without cards through Mercado Pago"
+msgstr "Hasta 12 pagos sin tarjeta con Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:486
+msgid ""
+"With this alternative, you’ll be able to sell in installments without cards "
+"and receive the money immediately with the same fees as with credit cards. "
+"Your sales are protected and guaranteed by Mercado Pago."
+msgstr ""
+"Con esta alternativa, podrás vender en pagos sin tarjeta y recibir el dinero "
+"en el instante con comisiones iguales a la tarjeta de crédito. \n"
+"Tus ventas están protegidas y garantizadas por Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:490
+msgid "Activate the installments without cards in the checkout"
+msgstr "Activar opción de pagos sin tarjeta en el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:491
+msgid ""
+"Activate this feature to reach more buyers. It will be available in your "
+"store's checkout."
+msgstr ""
+"Activa esta función para llegar a más compradores. Estará disponible en el "
+"checkout de tu tienda."
+
+#: ../../src/Translations/AdminTranslations.php:494
+msgid "Checkout visualization"
+msgstr "Visualización en el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:495
+msgid "Check below how this feature will be displayed to your customers:"
+msgstr "A continuación verás cómo este recurso aparecerá para tus clientes:"
+
+#: ../../src/Translations/AdminTranslations.php:496
+msgid "Checkout Preview"
+msgstr "Visualización en el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:497
+msgid "PREVIEW"
+msgstr "DEMO"
+
+#: ../../src/Translations/AdminTranslations.php:498
+msgid "Title in the checkout"
+msgstr "Título en el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:499
+msgid "We recommend using the default title. Maximum characters: 85."
+msgstr "Recomendamos que utilices el título default. Caracteres máximo: 85."
+
+#: ../../src/Translations/AdminTranslations.php:500
+msgid "Checkout without card"
+msgstr "Hasta 12 pagos sin tarjeta con Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:506
+msgid "Promote the payment of your products with Mercado Pago"
+msgstr "Promociona el pago de tus productos con Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:507
+msgid ""
+"Activate this promotional banner to offer the option of paying in "
+"installments without cards through Mercado Pago within product pages."
+msgstr ""
+"Activa este banner promocional para ofrecer la opción “Pagos sin Tarjeta de "
+"Mercado Pago” dentro de la página de tus productos."
+
+#: ../../src/Translations/AdminTranslations.php:510
+msgid "Banner on the product page | Computer version"
+msgstr "Componente en la página del producto | Versión para computadora"
+
+#: ../../src/Translations/AdminTranslations.php:511
+msgid "Banner on the product page | Cellphone version"
+msgstr "Componente en la página del producto | Versión para celular"
+
+#: ../../src/Translations/AdminTranslations.php:512
+msgid "Computer"
+msgstr "Computadora"
+
+#: ../../src/Translations/AdminTranslations.php:513
+msgid "Mobile"
+msgstr "Celular"
+
+#: ../../src/Translations/AdminTranslations.php:514
+msgid "Display in your product pages"
+msgstr "Visualización en la página de tus productos"
+
+#: ../../src/Translations/AdminTranslations.php:515
+msgid ""
+"Below you can preview how the banner will be displayed to your customers:"
+msgstr "A continuación verás cómo aparecerá el banner para tus clientes:"
+
+#: ../../src/Translations/AdminTranslations.php:524
+msgid "Choose how to promote “Pagos sin Tarjeta de Mercado Pago” on your store"
+msgstr ""
+"Elige como promocionar en tu tienda “Pagos sin Tarjeta de Mercado Pago”"
+
+#: ../../src/Translations/AdminTranslations.php:525
+msgid ""
+"You can only select one alternative and you may edit it whenever you want."
+msgstr ""
+"Solo puedes seleccionar una alternativa y puedes modificarla cuando quieras."
+
+#: ../../src/Translations/AdminTranslations.php:526
+msgid "Example:"
+msgstr "Ejemplo:"
+
+#: ../../src/Translations/AdminTranslations.php:541,
+#: ../../src/Translations/StoreTranslations.php:196
+msgid "Up to 12 installments without cards"
+msgstr "Hasta 12 pagos sin tarjeta"
+
+#: ../../src/Translations/AdminTranslations.php:542,
+#: ../../src/Translations/AdminTranslations.php:548
+msgid "through Mercado Pago. Learn more"
+msgstr "con Mercado Pago. Saber más"
+
+#: ../../src/Translations/AdminTranslations.php:547,
+#: ../../src/Translations/StoreTranslations.php:202
+msgid "Buy now, pay later"
+msgstr "Compra ahora, paga después"
+
+#: ../../src/Translations/AdminTranslations.php:553,
+#: ../../src/Translations/StoreTranslations.php:208
+msgid "With Mercado Pago,"
+msgstr "Con Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:554,
+#: ../../src/Translations/StoreTranslations.php:209
+msgid "get it now and pay month by month"
+msgstr "llévalo ahora y paga mes a mes"
+
+#: ../../src/Translations/AdminTranslations.php:555
+msgid " Learn more"
+msgstr "Saber más"
+
+#: ../../src/Translations/AdminTranslations.php:560,
+#: ../../src/Translations/StoreTranslations.php:214
+msgid "Pay in up to 12 installments"
+msgstr "Paga en hasta 12 meses"
+
+#: ../../src/Translations/AdminTranslations.php:561
+msgid "without credit card. Learn more"
+msgstr "sin tarjeta de crédito. Saber más"
+
+#: ../../src/Translations/AdminTranslations.php:581,
+#: ../../src/Translations/AdminTranslations.php:587
+msgid "Transparent Checkout for credit cards is"
+msgstr "El Checkout Transparente de las tarjetas de crédito está"
+
+#: ../../src/Translations/AdminTranslations.php:605,
+#: ../../src/Translations/AdminTranslations.php:611
+msgid "Payments via Mercado Pago accounts are"
+msgstr "Los pagos a través de la cuenta de Mercado Pago están"
+
+#: ../../src/Translations/AdminTranslations.php:628,
+#: ../../src/Translations/AdminTranslations.php:643
+msgid "Credit and debit cards"
+msgstr "Tarjeta de crédito y débito"
+
+#: ../../src/Translations/AdminTranslations.php:629,
+#: ../../src/Translations/AdminTranslations.php:631,
+#: ../../src/Translations/AdminTranslations.php:694,
+#: ../../src/Translations/AdminTranslations.php:756,
+#: ../../src/Translations/AdminTranslations.php:836,
+#: ../../src/Translations/AdminTranslations.php:838
+msgid "Payments without leaving your store with our customizable checkout"
+msgstr "Pagos sin salir de tu tienda con nuestro checkout personalizable"
+
+#: ../../src/Translations/AdminTranslations.php:630,
+#: ../../src/Translations/AdminTranslations.php:695,
+#: ../../src/Translations/AdminTranslations.php:757,
+#: ../../src/Translations/AdminTranslations.php:837,
+#: ../../src/Translations/AdminTranslations.php:930
+msgid "Mercado Pago - Checkout API"
+msgstr "Mercado Pago - Checkout API"
+
+#: ../../src/Translations/AdminTranslations.php:632
+msgid "Transparent Checkout | Credit card"
+msgstr "Checkout Transparente | Tarjeta de Crédito"
+
+#: ../../src/Translations/AdminTranslations.php:633
+msgid ""
+"With the Transparent Checkout, you can sell inside your store environment, "
+"without redirection and with the security from Mercado Pago."
+msgstr ""
+"Con el Checkout Transparente, puedes vender dentro de tu tienda, sin "
+"redireccionamentos, con toda la seguridad de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:634
+msgid "Mercado Pago Plugin general settings"
+msgstr "Configuraciones generales del plugin de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:638
+msgid ""
+"By disabling it, you will disable all credit cards payments from Mercado "
+"Pago Transparent Checkout."
+msgstr ""
+"Al desactivar, desabilitarás todos los medios de pago con tarjeta de crédito "
+"en el Checkout Transparente de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:645
+msgid "Installments Fees"
+msgstr "Tasas de pago en cuotas"
+
+#: ../../src/Translations/AdminTranslations.php:646
+msgid ""
+"Set installment fees and whether they will be charged from the store or from "
+"the buyer."
+msgstr ""
+"Configura las tasas de las cuotas y si se las cobrarán a la tienda o al "
+"comprador."
+
+#: ../../src/Translations/AdminTranslations.php:647
+msgid "Set fees"
+msgstr "Configurar tasas"
+
+#: ../../src/Translations/AdminTranslations.php:652
+msgid "Payments via Mercado Pago account"
+msgstr "Pagos a través de la cuenta de Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:653
+msgid ""
+"Your customers pay faster with saved cards, money balance or other available "
+"methods in their Mercado Pago accounts."
+msgstr ""
+"Tus clientes pagan más rápido con tarjetas guardadas, dinero disponible o "
+"con otros medios disponibles en sus cuentas de MP."
+
+#: ../../src/Translations/AdminTranslations.php:656
+msgid "Check an example of how it will appear in your store:"
+msgstr "Conoce un ejemplo de cómo aparecerá en la tienda:"
+
+#: ../../src/Translations/AdminTranslations.php:657
+msgid "Advanced configuration of the personalized payment experience"
+msgstr "Configuración Avanzada"
+
+#: ../../src/Translations/AdminTranslations.php:693,
+#: ../../src/Translations/AdminTranslations.php:707
+msgid "Invoice"
+msgstr "Efectivo"
+
+#: ../../src/Translations/AdminTranslations.php:696
+msgid "Transparent Checkout | Invoice or Loterica"
+msgstr "Checkout Transparente | Efectivo"
+
+#: ../../src/Translations/AdminTranslations.php:697,
+#: ../../src/Translations/AdminTranslations.php:759,
+#: ../../src/Translations/AdminTranslations.php:840
+msgid ""
+"With the Transparent Checkout, you can sell inside your store environment, "
+"without redirection and all the safety from Mercado Pago."
+msgstr ""
+"Con el Checkout Transparente, podrás vender dentro de tu tienda, sin "
+"redireccionamentos, con toda la seguridad de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:701,
+#: ../../src/Translations/AdminTranslations.php:763
+msgid "Enable the Checkout"
+msgstr "Activar el checkout"
+
+#: ../../src/Translations/AdminTranslations.php:702
+msgid ""
+"By disabling it, you will disable all invoice payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Al desactivar, desabilitarás todos los medios de pago en efectivo en el "
+"Checkout Transparente de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:703
+msgid "The transparent checkout for tickets is enabled."
+msgstr "El Checkout Transparente está activo para pagos en efectivo."
+
+#: ../../src/Translations/AdminTranslations.php:704
+msgid "The transparent checkout for tickets is disabled."
+msgstr "El Checkout Transparente está inactivo para pagos en efectivo."
+
+#: ../../src/Translations/AdminTranslations.php:713
+msgid "Payment Due"
+msgstr "Fecha de pago"
+
+#: ../../src/Translations/AdminTranslations.php:714
+msgid "In how many days will cash payments expire."
+msgstr "En cuántos días vencerán los pagos en efectivo."
+
+#: ../../src/Translations/AdminTranslations.php:715
+msgid "Advanced configuration of the cash payment experience"
+msgstr ""
+"Configuração avançada da experiência de pagamento via boleto e em lotéricas"
+
+#: ../../src/Translations/AdminTranslations.php:717,
+#: ../../src/Translations/AdminTranslations.php:777
+msgid "Reduce inventory"
+msgstr "Reducir inventario"
+
+#: ../../src/Translations/AdminTranslations.php:718,
+#: ../../src/Translations/AdminTranslations.php:778
+msgid ""
+"Activates inventory reduction during the creation of an order, whether or "
+"not the final payment is credited. Disable this option to reduce it only "
+"when payments are approved."
+msgstr ""
+"Activa la reducción del inventario durante la creación de un pedido, se "
+"acredite o no el pago final. Desactiva esta opción para reducirlo solo "
+"cuando los pagos estén aprobados."
+
+#: ../../src/Translations/AdminTranslations.php:719,
+#: ../../src/Translations/AdminTranslations.php:779
+msgid "Reduce inventory is enabled."
+msgstr "Reducir inventario está activo."
+
+#: ../../src/Translations/AdminTranslations.php:720,
+#: ../../src/Translations/AdminTranslations.php:780
+msgid "Reduce inventory is disabled."
+msgstr "Reducir inventario está inactivo."
+
+#: ../../src/Translations/AdminTranslations.php:722,
+#: ../../src/Translations/AdminTranslations.php:782
+msgid "Enable the available payment methods"
+msgstr "Habilita los medios de pago disponibles"
+
+#: ../../src/Translations/AdminTranslations.php:723,
+#: ../../src/Translations/AdminTranslations.php:783
+msgid "Choose the available payment methods in your store."
+msgstr "Elige los medios de pago que se aceptan en la tienda."
+
+#: ../../src/Translations/AdminTranslations.php:724,
+#: ../../src/Translations/AdminTranslations.php:784
+msgid "All payment methods"
+msgstr "Medios de pago disponibles"
+
+#: ../../src/Translations/AdminTranslations.php:755,
+#: ../../src/Translations/AdminTranslations.php:769
+msgid "PSE"
+msgstr "PSE"
+
+#: ../../src/Translations/AdminTranslations.php:758
+msgid "Transparent Checkout PSE"
+msgstr "Pago transparente PSE"
+
+#: ../../src/Translations/AdminTranslations.php:764
+msgid ""
+"By deactivating it, you will disable PSE payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Al desactivarlo, desactivará los pagos PSE de Mercado Pago Transparente "
+"Checkout."
+
+#: ../../src/Translations/AdminTranslations.php:765
+msgid "The transparent checkout for PSE is enabled."
+msgstr "El Checkout Transparente está activo para pagos PSE."
+
+#: ../../src/Translations/AdminTranslations.php:766
+msgid "The transparent checkout for PSE is disabled."
+msgstr "El Checkout Transparente está inactivo para pagos PSE."
+
+#: ../../src/Translations/AdminTranslations.php:775
+msgid "Advanced configuration of the PSE payment experience"
+msgstr "Configuración avanzada de la experiencia de pago PSE"
+
+#: ../../src/Translations/AdminTranslations.php:804,
+#: ../../src/Translations/AdminTranslations.php:810
+msgid "The transparent checkout for Pix payment is"
+msgstr "El Checkout Transparente está"
+
+#: ../../src/Translations/AdminTranslations.php:828
+msgid "Go to the"
+msgstr "Ve al área"
+
+#: ../../src/Translations/AdminTranslations.php:829
+msgid "Your Profile"
+msgstr "Tu Perfil"
+
+#: ../../src/Translations/AdminTranslations.php:830
+msgid "area and choose the"
+msgstr "y elige la sección"
+
+#: ../../src/Translations/AdminTranslations.php:831
+msgid "Your Pix Keys section"
+msgstr "Tus claves Pix"
+
+#: ../../src/Translations/AdminTranslations.php:835,
+#: ../../src/Translations/AdminTranslations.php:850
+msgid "Pix"
+msgstr "Pix"
+
+#: ../../src/Translations/AdminTranslations.php:839
+msgid "Transparent Checkout | Pix"
+msgstr "Checkout Transparente | Pix"
+
+#: ../../src/Translations/AdminTranslations.php:845
+msgid ""
+"By disabling it, you will disable all Pix payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Al desactivar, desabilitarás todos los medios de pago con tarjeta de crédito "
+"en el Checkout Transparente de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:852
+msgid "Expiration for payments via Pix"
+msgstr "Vencimiento para pagos con Pix"
+
+#: ../../src/Translations/AdminTranslations.php:853
+msgid "Set the limit in minutes for your clients to pay via Pix."
+msgstr ""
+"Define el límite de minutos para que tus clientes puedan pagar con Pix."
+
+#: ../../src/Translations/AdminTranslations.php:854
+msgid "15 minutes"
+msgstr "15 minutos"
+
+#: ../../src/Translations/AdminTranslations.php:855
+msgid "30 minutes (recommended)"
+msgstr "30 minutos (recomendado)"
+
+#: ../../src/Translations/AdminTranslations.php:856
+msgid "60 minutes"
+msgstr "60 minutos"
+
+#: ../../src/Translations/AdminTranslations.php:857
+msgid "12 hours"
+msgstr "12 horas"
+
+#: ../../src/Translations/AdminTranslations.php:858
+msgid "24 hours"
+msgstr "24 horas"
+
+#: ../../src/Translations/AdminTranslations.php:859
+msgid "2 days"
+msgstr "2 días"
+
+#: ../../src/Translations/AdminTranslations.php:860
+msgid "3 days"
+msgstr "3 días"
+
+#: ../../src/Translations/AdminTranslations.php:861
+msgid "4 days"
+msgstr "4 días"
+
+#: ../../src/Translations/AdminTranslations.php:862
+msgid "5 days"
+msgstr "5 días"
+
+#: ../../src/Translations/AdminTranslations.php:863
+msgid "6 days"
+msgstr "6 días"
+
+#: ../../src/Translations/AdminTranslations.php:864
+msgid "7 days"
+msgstr "7 días"
+
+#: ../../src/Translations/AdminTranslations.php:869
+msgid "Would you like to know how Pix works?"
+msgstr "¿Quieres saber cómo funciona Pix?"
+
+#: ../../src/Translations/AdminTranslations.php:870
+msgid ""
+"We have a dedicated page where we explain how it works and its advantages."
+msgstr "Creamos una página que explica su funcionamiento y sus vantajas."
+
+#: ../../src/Translations/AdminTranslations.php:871
+msgid "Find out more about Pix"
+msgstr "Saber más sobre Pix"
+
+#: ../../src/Translations/AdminTranslations.php:872
+msgid "Advanced configuration of the Pix experience"
+msgstr "Configuración avanzada de la experiencia Pix"
+
+#: ../../src/Translations/AdminTranslations.php:880
+msgid "To activate Pix, you must have a key registered in Mercado Pago."
+msgstr "Para activar el Pix, debes tener una clave registrada en Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:881
+msgid "Download the Mercado Pago app on your cell phone."
+msgstr "Descarga la app de Mercado Pago en tu móvil."
+
+#: ../../src/Translations/AdminTranslations.php:883
+msgid ""
+"Choose which data to register as Pix keys. After registering, you can set up "
+"Pix in your checkout."
+msgstr ""
+"Elige qué datos registrar como claves PIX. Luego de registrarte, podrás "
+"configurar el Pix en tu checkout."
+
+#: ../../src/Translations/AdminTranslations.php:884
+msgid ""
+"Remember that, for the time being, the Central Bank of Brazil is open Monday "
+"through Friday, from 9am to 6pm."
+msgstr ""
+"Recuerda que, por el momento, el Banco Central de Brasil está abierto de "
+"lunes a viernes, de 9 a 18 horas."
+
+#: ../../src/Translations/AdminTranslations.php:885
+msgid ""
+"If you requested your registration outside these hours, we will confirm it "
+"within the next business day."
+msgstr ""
+"Si has solicitado tu registro fuera de este horario, te lo confirmaremos en "
+"el siguiente día hábil."
+
+#: ../../src/Translations/AdminTranslations.php:886
+msgid "Learn more about Pix"
+msgstr "Más información sobre Pix"
+
+#: ../../src/Translations/AdminTranslations.php:887
+msgid ""
+"If you have already registered a Pix key at Mercado Pago and cannot activate "
+"Pix in the checkout, "
+msgstr ""
+"Si ya has registrado una clave Pix en Mercado Pago y no puedes activar Pix "
+"en el checkout, "
+
+#: ../../src/Translations/AdminTranslations.php:888
+msgid "click here."
+msgstr "haz clic aquí."
+
+#: ../../src/Translations/AdminTranslations.php:902,
+#: ../../src/Translations/AdminTranslations.php:909
+msgid "Checkout API is"
+msgstr "El Checkout API está"
+
+#: ../../src/Translations/AdminTranslations.php:903
+msgid "active"
+msgstr "activo"
+
+#: ../../src/Translations/AdminTranslations.php:904,
+#: ../../src/Translations/AdminTranslations.php:911
+msgid "for payments with Yape"
+msgstr "para pagos con Yape"
+
+#: ../../src/Translations/AdminTranslations.php:928,
+#: ../../src/Translations/AdminTranslations.php:943
+msgid "Yape"
+msgstr "Yape"
+
+#: ../../src/Translations/AdminTranslations.php:929,
+#: ../../src/Translations/AdminTranslations.php:931
+msgid "Payments without leaving your store with our customizable checkout."
+msgstr "Pagos sin salir de tu tienda con nuestro checkout personalizable."
+
+#: ../../src/Translations/AdminTranslations.php:932
+msgid "Checkout API | Yape"
+msgstr "Checkout API | Yape"
+
+#: ../../src/Translations/AdminTranslations.php:933
+msgid ""
+"Receive payments through the Yape app automatically, without redirects, and "
+"with all the security of Mercado Pago. "
+msgstr ""
+"Recibe pagos a través de la app de Yape de forma automática, sin "
+"redireccionamientos y con toda la seguridad de Mercado Pago. "
+
+#: ../../src/Translations/AdminTranslations.php:938
+msgid ""
+"By disabling it, you will disable Yape from the Mercado Pago Checkout API."
+msgstr "Al desactivar, desabilitarás Yape en el Checkout API de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:941
+msgid "Title in the website’s checkout"
+msgstr "Título en el checkout de la tienda"
+
+#: ../../src/Translations/AdminTranslations.php:942
+msgid ""
+"Enter a title and a description for Yape in your Checkout API , maximum "
+"characters: 85"
+msgstr ""
+"Ingresa un título y una descripción para Yape en tu Checkout API, 85 "
+"caracteres como máximo."
+
+#: ../../src/Translations/AdminTranslations.php:970
+msgid "To enable test mode"
+msgstr "Para activar el modo de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:972
+msgid "copy your test credentials"
+msgstr "copia tus credenciales de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:973
+msgid "and paste them above in section 1 of this page"
+msgstr "y pégalas en la sección 1 de esta página"
+
+#: ../../src/Translations/AdminTranslations.php:978
+msgid "Create your"
+msgstr "Crea tu"
+
+#: ../../src/Translations/AdminTranslations.php:980
+msgid "test user"
+msgstr "usuario de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:981
+msgid ""
+"(Optional. Can be used in Production Mode and Test Mode, to test payments)"
+msgstr ""
+"(Opcional. Se puede utilizar en modo de producción y en modo de prueba, para "
+"probar los pagos)"
+
+#: ../../src/Translations/AdminTranslations.php:987
+msgid "Use our test cards"
+msgstr "Utiliza nuestras tarjetas de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:988
+msgid "never use real cards"
+msgstr "nunca utilices tarjetas reales"
+
+#: ../../src/Translations/AdminTranslations.php:994
+msgid "Visit your store"
+msgstr "Visita tu tienda"
+
+#: ../../src/Translations/AdminTranslations.php:995
+msgid "to test purchases"
+msgstr "para testear compras"
+
+#: ../../src/Translations/AdminTranslations.php:999
+msgid "4. Test your store before you start to sell"
+msgstr "4. Testea tu tienda antes de empezar a vender"
+
+#: ../../src/Translations/AdminTranslations.php:1000
+msgid "Choose how you want to operate your store:"
+msgstr "Elige cómo quieres operar tu tienda:"
+
+#: ../../src/Translations/AdminTranslations.php:1001
+msgid "Test Mode"
+msgstr "Modo Test"
+
+#: ../../src/Translations/AdminTranslations.php:1002
+msgid "Sale Mode (Production)"
+msgstr "Modo Ventas (Producción)"
+
+#: ../../src/Translations/AdminTranslations.php:1003
+msgid "Mercado Pago payment methods in Production Mode"
+msgstr "Medios de pago Mercado Pago en Modo Produción"
+
+#: ../../src/Translations/AdminTranslations.php:1004
+msgid "Mercado Pago payment methods in Test Mode"
+msgstr "Medios de pago Mercado Pago en Modo Test"
+
+#: ../../src/Translations/AdminTranslations.php:1005
+msgid "Enter test credentials"
+msgstr "Ingresa las credenciales de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:1006
+msgid ""
+"Select “Test Mode” if you want to try the payment experience before you "
+"start to sell or “Sales Mode” (Production) to start now."
+msgstr ""
+"Selecciona Modo Test si deseas probar la experiencia de pago antes de "
+"empezar a vender o Modo Ventas (Producción) para empezar a vender ahora."
+
+#: ../../src/Translations/AdminTranslations.php:1007
+msgid "Mercado Pago Checkouts disabled for real collections."
+msgstr "Checkouts Mercado Pago inactivos para cobros reales."
+
+#: ../../src/Translations/AdminTranslations.php:1008
+msgid "Test Mode rules."
+msgstr "Reglas del modo test."
+
+#: ../../src/Translations/AdminTranslations.php:1009
+msgid "Mercado Pago Checkouts enabled for real collections."
+msgstr "Checkouts Mercado Pago activos para cobros reales."
+
+#: ../../src/Translations/AdminTranslations.php:1010
+msgid "The clients can make real purchases in your store."
+msgstr "Los clientes pueden hacer compras reales en tu tienda."
+
+#: ../../src/Translations/AdminTranslations.php:1015
+msgid "Store in sale mode (Production)"
+msgstr "Tienda en Modo Ventas (Producción)"
+
+#: ../../src/Translations/AdminTranslations.php:1016
+msgid "Store under test"
+msgstr "Tienda en Modo Test"
+
+#: ../../src/Translations/AdminTranslations.php:1017
+msgid "Save changes"
+msgstr "Guardar cambios"
+
+#: ../../src/Translations/AdminTranslations.php:1029
+msgid "Store business fields are valid"
+msgstr "Los campos comerciales de la tienda son válidos"
+
+#: ../../src/Translations/AdminTranslations.php:1030
+msgid "Store business fields could not be validated"
+msgstr "Los campos comerciales de la tienda no se pudieron validar"
+
+#: ../../src/Translations/AdminTranslations.php:1031
+msgid "At least one payment method is enabled"
+msgstr "Al menos un método de pago está habilitado"
+
+#: ../../src/Translations/AdminTranslations.php:1032
+msgid "No payment method enabled"
+msgstr "Ningún método de pago habilitado"
+
+#: ../../src/Translations/AdminTranslations.php:1033
+msgid "Credentials fields are valid"
+msgstr "Los campos de la credencial son válidos"
+
+#: ../../src/Translations/AdminTranslations.php:1034
+msgid "Credentials fields could not be validated"
+msgstr "No se pudieron validar los campos de credenciales"
+
+#: ../../src/Translations/AdminTranslations.php:1046
+msgid "Valid Public Key"
+msgstr "Public key válida"
+
+#: ../../src/Translations/AdminTranslations.php:1047
+msgid "Invalid Public Key"
+msgstr "Public key no válida"
+
+#: ../../src/Translations/AdminTranslations.php:1048
+msgid "Valid Access Token"
+msgstr "Access token válido"
+
+#: ../../src/Translations/AdminTranslations.php:1049
+msgid "Invalid Access Token"
+msgstr "Access token no válido"
+
+#: ../../src/Translations/AdminTranslations.php:1061
+msgid "Credentials were updated"
+msgstr "Se actualizaron las credenciales"
+
+#: ../../src/Translations/AdminTranslations.php:1062
+msgid ""
+"Your store has exited Test Mode and is making real sales in Production Mode."
+msgstr ""
+"Ahora su tienda está fuera del modo de prueba y está realizando ventas "
+"reales en el modo de producción."
+
+#: ../../src/Translations/AdminTranslations.php:1063
+msgid "To test the store, re-enter both test credentials."
+msgstr "Para probar la tienda, vuelva a ingresar ambas credenciales de prueba."
+
+#: ../../src/Translations/AdminTranslations.php:1064
+msgid "Invalid credentials"
+msgstr "Credenciales no válidas"
+
+#: ../../src/Translations/AdminTranslations.php:1065
+msgid "See our manual to learn"
+msgstr "Consulte nuestro manual para saber"
+
+#: ../../src/Translations/AdminTranslations.php:1066
+msgid "how to enter the credentials the right way."
+msgstr "como ingresar las credenciales de forma correcta."
+
+#: ../../src/Translations/AdminTranslations.php:1067
+msgid " for test mode"
+msgstr " para el modo de prueba"
+
+#: ../../src/Translations/AdminTranslations.php:1079
+msgid "Store information is valid"
+msgstr "Información sobre tu tienda"
+
+#: ../../src/Translations/AdminTranslations.php:1092
+msgid "Attention:"
+msgstr "Atención:"
+
+#: ../../src/Translations/AdminTranslations.php:1093
+msgid ""
+"The currency settings you have in WooCommerce are not compatible with the "
+"currency you use in your Mercado Pago account. Please activate the currency "
+"conversion."
+msgstr ""
+"La configuración de moneda que tienes en WooCommerce no es compatible con la "
+"moneda que usas en tu cuenta de Mercado Pago. Activa la conversión de moneda."
+
+#: ../../src/Translations/AdminTranslations.php:1096
+msgid "We are converting your currency from: "
+msgstr "Ahora convertimos tu moneda de: "
+
+#: ../../src/Translations/AdminTranslations.php:1112
+msgid "to "
+msgstr "a "
+
+#: ../../src/Translations/AdminTranslations.php:1123
+msgid "Payment status on Mercado Pago"
+msgstr "Estado de pago en el Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:1124
+msgid ""
+"This is the payment status of your Mercado Pago Activities. To check the "
+"order status, please refer to Order details."
+msgstr ""
+"Este es el estado del pago de las Actividades de tu Mercado Pago. Para "
+"consultar el estado del pedido, consulta en Detalles del Pedido."
+
+#: ../../src/Translations/AdminTranslations.php:1125,
+#: ../../src/Translations/AdminTranslations.php:1127
+msgid "View purchase details at Mercado Pago"
+msgstr "Ver detalles de compra en Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:1126,
+#: ../../src/Translations/AdminTranslations.php:1128,
+#: ../../src/Translations/AdminTranslations.php:1130
+msgid "Sync order status"
+msgstr "Sincronizar el estado del pedido"
+
+#: ../../src/Translations/AdminTranslations.php:1129
+msgid "Consult the reasons for refusal"
+msgstr "Consultar motivos de rechazo"
+
+#: ../../src/Translations/AdminTranslations.php:1131
+msgid "Order update successfully. This page will be reloaded..."
+msgstr "Actualización del pedido con éxito. Esta página será recargada…"
+
+#: ../../src/Translations/AdminTranslations.php:1132
+msgid "Unable to update order:"
+msgstr "No se puede actualizar el pedido:"
+
+#: ../../src/Translations/AdminTranslations.php:1133
+msgid "Payment made"
+msgstr "Pago realizado"
+
+#: ../../src/Translations/AdminTranslations.php:1134
+msgid "Payment made by the buyer and already credited in the account."
+msgstr ""
+"El pago realizado por el comprador y que ya está acreditado en la cuenta."
+
+#: ../../src/Translations/AdminTranslations.php:1135
+msgid "Call resolved"
+msgstr "Llamado resuelto"
+
+#: ../../src/Translations/AdminTranslations.php:1136,
+#: ../../src/Translations/AdminTranslations.php:1186
+msgid "Please contact Mercado Pago for further details."
+msgstr "Contacta a Mercado Pago para saber más detalles."
+
+#: ../../src/Translations/AdminTranslations.php:1137
+msgid "Payment refunded"
+msgstr "Pago devuelto"
+
+#: ../../src/Translations/AdminTranslations.php:1138
+msgid ""
+"Your refund request has been made. Please contact Mercado Pago for further "
+"details."
+msgstr ""
+"Tu pedido de reebolso ya fue realizado. Contacta a Mercado Pago para saber "
+"más detalles."
+
+#: ../../src/Translations/AdminTranslations.php:1139,
+#: ../../src/Translations/AdminTranslations.php:1141
+msgid "Payment returned"
+msgstr "Pago devuelto"
+
+#: ../../src/Translations/AdminTranslations.php:1140
+msgid "The payment has been returned to the client."
+msgstr "El pago ya fue devuelto al cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1142
+msgid "The payment has been partially returned to the client."
+msgstr "El pago ya fue devuelto parcialmente al cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1143
+msgid "Payment canceled"
+msgstr "Pago cancelado"
+
+#: ../../src/Translations/AdminTranslations.php:1144
+msgid "The payment has been successfully canceled."
+msgstr "El pago fue cancelado con éxito."
+
+#: ../../src/Translations/AdminTranslations.php:1145
+msgid "Purchase canceled"
+msgstr "Compra cancelada"
+
+#: ../../src/Translations/AdminTranslations.php:1146
+msgid "The payment has been canceled by the customer."
+msgstr "El pago fue cancelado por el cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1147,
+#: ../../src/Translations/AdminTranslations.php:1149,
+#: ../../src/Translations/AdminTranslations.php:1151,
+#: ../../src/Translations/AdminTranslations.php:1153,
+#: ../../src/Translations/AdminTranslations.php:1155,
+#: ../../src/Translations/AdminTranslations.php:1163,
+#: ../../src/Translations/AdminTranslations.php:1165,
+#: ../../src/Translations/AdminTranslations.php:1167,
+#: ../../src/Translations/AdminTranslations.php:1169,
+#: ../../src/Translations/AdminTranslations.php:1171,
+#: ../../src/Translations/AdminTranslations.php:1173,
+#: ../../src/Translations/AdminTranslations.php:1175,
+#: ../../src/Translations/AdminTranslations.php:1230
+msgid "Pending payment"
+msgstr "Cobro pendiente"
+
+#: ../../src/Translations/AdminTranslations.php:1148,
+#: ../../src/Translations/AdminTranslations.php:1150,
+#: ../../src/Translations/AdminTranslations.php:1152,
+#: ../../src/Translations/AdminTranslations.php:1154
+msgid "Awaiting payment from the buyer."
+msgstr "Esperando el pago del comprador."
+
+#: ../../src/Translations/AdminTranslations.php:1156
+msgid ""
+"We are veryfing the payment. We will notify you by email in up to 6 hours if "
+"everything is fine so that you can deliver the product or provide the "
+"service."
+msgstr ""
+"Estamos revisando el pago. En menos de 6 horas te avisaremos por e-mail si "
+"está todo bien para que puedas entregar el producto o brindar el servicio."
+
+#: ../../src/Translations/AdminTranslations.php:1157,
+#: ../../src/Translations/AdminTranslations.php:1181,
+#: ../../src/Translations/AdminTranslations.php:1197,
+#: ../../src/Translations/AdminTranslations.php:1216,
+#: ../../src/Translations/AdminTranslations.php:1220,
+#: ../../src/Translations/AdminTranslations.php:1222,
+#: ../../src/Translations/AdminTranslations.php:1224,
+#: ../../src/Translations/AdminTranslations.php:1228
+msgid "Declined payment"
+msgstr "Cobro rechazado"
+
+#: ../../src/Translations/AdminTranslations.php:1158,
+#: ../../src/Translations/AdminTranslations.php:1182
+msgid ""
+"The card-issuing bank declined the payment. Please ask your client to use "
+"another card or to get in touch with the bank."
+msgstr ""
+"El banco emisor de la tarjeta rechazó el pago. Pedile a tu cliente que use "
+"“\n"
+"“otra tarjeta o que se comunique con su banco."
+
+#: ../../src/Translations/AdminTranslations.php:1159
+msgid "Payment authorized. Awaiting capture."
+msgstr "Pago autorizado. Esperando captura."
+
+#: ../../src/Translations/AdminTranslations.php:1160
+msgid ""
+"The payment has been authorized on the client's card. Please capture the "
+"payment."
+msgstr ""
+"Ya se autorizó el pago en la tarjeta del cliente. Haz la captura del pago."
+
+#: ../../src/Translations/AdminTranslations.php:1161
+msgid "Payment in process"
+msgstr "Pago en proceso"
+
+#: ../../src/Translations/AdminTranslations.php:1162,
+#: ../../src/Translations/AdminTranslations.php:1172
+msgid "Please wait or contact Mercado Pago for further details"
+msgstr "Espera o contacta a Mercado Pago para saber más detalles"
+
+#: ../../src/Translations/AdminTranslations.php:1164
+msgid ""
+"The bank is reviewing the payment. As soon as we have their confirmation, we "
+"will notify you via email so that you can deliver the product or provide the "
+"service."
+msgstr ""
+"El banco está revisando el pago. Te avisaremos por e-mail cuando esté "
+"confirmado para que puedas entregar el producto o brindar el servicio."
+
+#: ../../src/Translations/AdminTranslations.php:1166,
+#: ../../src/Translations/AdminTranslations.php:1168,
+#: ../../src/Translations/AdminTranslations.php:1170
+msgid "Awaiting payment information validation."
+msgstr "Esperando validación de los datos de pago."
+
+#: ../../src/Translations/AdminTranslations.php:1174
+msgid "Waiting for the buyer."
+msgstr "Esperando al comprador."
+
+#: ../../src/Translations/AdminTranslations.php:1176
+msgid "Waiting for the card issuer."
+msgstr "Espererando al emisor de la tarjeta."
+
+#: ../../src/Translations/AdminTranslations.php:1177,
+#: ../../src/Translations/AdminTranslations.php:1179,
+#: ../../src/Translations/AdminTranslations.php:1183,
+#: ../../src/Translations/AdminTranslations.php:1204,
+#: ../../src/Translations/AdminTranslations.php:1226
+msgid "The card issuing bank declined the payment"
+msgstr "El banco emisor de la tarjeta rechazó el pago"
+
+#: ../../src/Translations/AdminTranslations.php:1178,
+#: ../../src/Translations/AdminTranslations.php:1180,
+#: ../../src/Translations/AdminTranslations.php:1184,
+#: ../../src/Translations/AdminTranslations.php:1205,
+#: ../../src/Translations/AdminTranslations.php:1227
+msgid ""
+"Please recommend your customer to pay with another payment method or to "
+"contact their bank."
+msgstr ""
+"Recomiéndale a tu cliente que pague con otro medio de pago o que se "
+"comunique con su banco."
+
+#: ../../src/Translations/AdminTranslations.php:1185
+msgid "Mercado Pago did not process the payment"
+msgstr "Mercado Pago no procesó el pago"
+
+#: ../../src/Translations/AdminTranslations.php:1187,
+#: ../../src/Translations/AdminTranslations.php:1232
+msgid "Expired payment deadline"
+msgstr "Venció el plazo para el pago"
+
+#: ../../src/Translations/AdminTranslations.php:1188,
+#: ../../src/Translations/AdminTranslations.php:1233
+msgid "The client did not pay within the time limit."
+msgstr "El cliente no pagó dentro del límite de tiempo."
+
+#: ../../src/Translations/AdminTranslations.php:1189,
+#: ../../src/Translations/AdminTranslations.php:1191,
+#: ../../src/Translations/AdminTranslations.php:1193,
+#: ../../src/Translations/AdminTranslations.php:1234
+msgid "Your customer entered one or more incorrect card details"
+msgstr "Tu cliente ingresó uno o más datos de la tarjeta de forma incorrecta"
+
+#: ../../src/Translations/AdminTranslations.php:1190,
+#: ../../src/Translations/AdminTranslations.php:1192,
+#: ../../src/Translations/AdminTranslations.php:1194,
+#: ../../src/Translations/AdminTranslations.php:1235,
+#: ../../src/Translations/AdminTranslations.php:1236
+msgid ""
+"Please ask them to enter to enter them again exactly as they appear on the "
+"card or on their bank app to complete the payment."
+msgstr ""
+"Pídele que vuelva a ingresarlos tal como figuran en la tarjeta o en la app "
+"de su banco para finalizar el pago."
+
+#: ../../src/Translations/AdminTranslations.php:1195,
+#: ../../src/Translations/AdminTranslations.php:1218
+msgid "We protected you from a suspicious payment"
+msgstr "Te protegimos de un pago sospechoso"
+
+#: ../../src/Translations/AdminTranslations.php:1196
+msgid "For safety reasons, this transaction cannot be completed."
+msgstr "Por motivos de seguridad, esta transacción no podrá ser finalizada."
+
+#: ../../src/Translations/AdminTranslations.php:1198,
+#: ../../src/Translations/AdminTranslations.php:1217
+msgid ""
+"The buyer is suspended in our platform. Your client must contact us to check "
+"what happened."
+msgstr ""
+"El comprador está suspendido en Mercado Pago. Tu cliente debe comunicarse "
+"con nosotros para ver qué pasó."
+
+#: ../../src/Translations/AdminTranslations.php:1199
+msgid "For safety reasons, the card issuing bank declined the payment"
+msgstr "Por seguridad, el banco emisor de la tarjeta rechazó el pago"
+
+#: ../../src/Translations/AdminTranslations.php:1200,
+#: ../../src/Translations/AdminTranslations.php:1219
+msgid ""
+"Recommend your customer to pay with their usual payment method and device "
+"for online purchases."
+msgstr ""
+"Recomiéndale a tu cliente que pague con el medio de pago y dispositivo que "
+"suele usar para compras online."
+
+#: ../../src/Translations/AdminTranslations.php:1201
+msgid "Your customer's credit card has no available limit"
+msgstr "La tarjeta de crédito de tu cliente no tiene límite disponible"
+
+#: ../../src/Translations/AdminTranslations.php:1202,
+#: ../../src/Translations/AdminTranslations.php:1203,
+#: ../../src/Translations/AdminTranslations.php:1207
+msgid ""
+"Please ask them to pay with another card or to choose another payment method."
+msgstr "Pídele que pague con otra tarjeta o que elija otro medio de pago."
+
+#: ../../src/Translations/AdminTranslations.php:1206
+msgid "Your customer reached the limit of payment attempts with this card"
+msgstr "Tu cliente alcanzó el límite de intentos de pago con la tarjeta"
+
+#: ../../src/Translations/AdminTranslations.php:1208
+msgid ""
+"Your customer's card does not accept the number of installments selected"
+msgstr "La tarjeta de tu cliente no acepta la cantidad de pagos que seleccionó"
+
+#: ../../src/Translations/AdminTranslations.php:1209
+msgid ""
+"Please ask them to choose a different number of installments or to pay with "
+"another method."
+msgstr ""
+"Pídele que elija una cantidad de pagos diferente o que use con otro medio."
+
+#: ../../src/Translations/AdminTranslations.php:1210,
+#: ../../src/Translations/AdminTranslations.php:1237
+msgid "Your customer needs to authorize the payment through their bank"
+msgstr "Tu cliente necesita autorizar el pago con su banco"
+
+#: ../../src/Translations/AdminTranslations.php:1211,
+#: ../../src/Translations/AdminTranslations.php:1238
+msgid ""
+"Please ask them to call the telephone number on their card or to pay with "
+"another method."
+msgstr ""
+"Pídele que llame al teléfono que está en la tarjeta o que pague con otro "
+"medio."
+
+#: ../../src/Translations/AdminTranslations.php:1212
+msgid ""
+"The payment was declined because your customer already paid for this purchase"
+msgstr "El pago fue rechazado porque tu cliente ya pagó esta compra"
+
+#: ../../src/Translations/AdminTranslations.php:1213
+msgid "Check your approved payments to verify it."
+msgstr "Revisa tu cobros aprobados para verificarlo."
+
+#: ../../src/Translations/AdminTranslations.php:1214
+msgid "Your customer's card was is not activated yet"
+msgstr "La tarjeta de tu cliente aún no está habilitada"
+
+#: ../../src/Translations/AdminTranslations.php:1215
+msgid ""
+"Please ask them to contact their bank by calling the number on the back of "
+"their card or to pay with another method."
+msgstr ""
+"Pídele que se comunique con su banco al número que está en el dorso de la "
+"tarjeta o que pague con otro medio."
+
+#: ../../src/Translations/AdminTranslations.php:1221
+msgid ""
+"This payment was declined because it did not pass Mercado Pago security "
+"controls. Please ask your client to use another card."
+msgstr ""
+"Rechazamos este pago porque no pasó los controles de seguridad de Mercado "
+"Pago. Pedile a tu cliente que use otra tarjeta."
+
+#: ../../src/Translations/AdminTranslations.php:1223
+msgid ""
+"The amount exceeded the card limit. Please ask your client to use another "
+"card or to get in touch with the bank."
+msgstr ""
+"El valor excedió el límite de la tarjeta. Pídele a tu cliente que use otra "
+"tarjeta o que se comunique con el banco."
+
+#: ../../src/Translations/AdminTranslations.php:1225,
+#: ../../src/Translations/AdminTranslations.php:1229
+msgid ""
+"Please ask your client to use another card or to get in touch with the card "
+"issuer."
+msgstr ""
+"Pídele a tu cliente que use otra tarjeta o que se comunique con el emisor de "
+"la tarjeta."
+
+#: ../../src/Translations/AdminTranslations.php:1231
+msgid ""
+"The amount exceeded the card's limit. Please ask your client to use another "
+"card or to get in touch with the bank."
+msgstr ""
+"El valor excedió el límite de la tarjeta. Pídele a tu cliente que use otra "
+"tarjeta o que se comunique con el banco."
+
+#: ../../src/Translations/AdminTranslations.php:1239
+msgid "Your customer's debit card has insufficient funds"
+msgstr "La tarjeta de débito de tu cliente no tiene saldo suficiente"
+
+#: ../../src/Translations/AdminTranslations.php:1240
+msgid ""
+"Please recommend your customer to pay with another card or to choose another "
+"payment method."
+msgstr "Pídele que pague con otra tarjeta o que elige otro medio de pago."
+
+#: ../../src/Translations/AdminTranslations.php:1241
+msgid "Something went wrong and the payment was declined"
+msgstr "El pago fue rechazado porque hubo un error"
+
+#: ../../src/Translations/AdminTranslations.php:1242
+msgid ""
+"Please recommend you customer to try again or to pay with another payment "
+"method."
+msgstr ""
+"Recomiéndale a tu cliente que intente nuevamente o pague con otro medio de "
+"pago."
+
+#: ../../src/Translations/AdminTranslations.php:1255
+msgid "Any questions?"
+msgstr "¿Tienes dudas?"
+
+#: ../../src/Translations/AdminTranslations.php:1256
+msgid "Please check the"
+msgstr "Revisa las"
+
+#: ../../src/Translations/AdminTranslations.php:1257,
+#: ../../src/Translations/AdminTranslations.php:1273
+msgid "FAQs"
+msgstr "preguntas frecuentes"
+
+#: ../../src/Translations/AdminTranslations.php:1258
+msgid "on the dev website."
+msgstr "en el sitio para desarrolladores."
+
+#: ../../src/Translations/AdminTranslations.php:1271
+msgid "Check our"
+msgstr "Revisa las"
+
+#: ../../src/Translations/AdminTranslations.php:1274
+msgid "or open a ticket to contact the Mercado Pago team."
+msgstr ""
+"o abre un ticket para entrar en contacto con el equipo de Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:1279
+msgid "1. Go to the dev website and open a"
+msgstr "1. Ingresa al sitio para desarrolladores y abre un"
+
+#: ../../src/Translations/AdminTranslations.php:1281
+msgid "ticket"
+msgstr "ticket"
+
+#: ../../src/Translations/AdminTranslations.php:1282
+msgid "in the Support section."
+msgstr "en la sección de Soporte."
+
+#: ../../src/Translations/AdminTranslations.php:1287
+msgid "4. Download the"
+msgstr "4. Descarga el"
+
+#: ../../src/Translations/AdminTranslations.php:1288
+msgid "error history"
+msgstr "historial de errores"
+
+#: ../../src/Translations/AdminTranslations.php:1289
+msgid "and share it with the Mercado Pago team when asked for it."
+msgstr ""
+"y compártelo con el equipo de Mercado Pago cuando se te sea solicitado."
+
+#: ../../src/Translations/AdminTranslations.php:1293
+msgid "Do you need help?"
+msgstr "¿Necesitas ayuda?"
+
+#: ../../src/Translations/AdminTranslations.php:1294
+msgid "How to open a ticket:"
+msgstr "Cómo abrir un ticket:"
+
+#: ../../src/Translations/AdminTranslations.php:1296
+msgid "2. Fill out the form with your store details."
+msgstr "2. Completa el formulario con los datos de tu tienda."
+
+#: ../../src/Translations/AdminTranslations.php:1297
+msgid ""
+"3. Copy and paste the following details when asked for the the technical "
+"information:"
+msgstr ""
+"3. Copia y pega los siguientes datos cuando se te pida la información "
+"técnica:"
+
+#: ../../src/Translations/AdminTranslations.php:1300
+msgid "Version:"
+msgstr "Version:"
+
+#: ../../src/Translations/AdminTranslations.php:1301
+msgid "History of errors"
+msgstr "Historial de errores"
+
+#: ../../src/Translations/AdminTranslations.php:1302
+msgid ""
+"Select the files you want to share with our team and click on Download. This "
+"information will be requested by e-mail if necessary."
+msgstr ""
+"Selecciona los archivos que quieras compartir con nuestro equipo y haz clic "
+"en “Descargar”. Esta información se te solicitará por e-mail al momento de "
+"ser necesario."
+
+#: ../../src/Translations/AdminTranslations.php:1305
+msgid "Source"
+msgstr "Origen"
+
+#: ../../src/Translations/AdminTranslations.php:1306
+msgid "File date"
+msgstr "Fecha de creación"
+
+#: ../../src/Translations/AdminTranslations.php:1307
+msgid "Download"
+msgstr "Descargar"
+
+#: ../../src/Translations/AdminTranslations.php:1308
+msgid "Next Page"
+msgstr "Página siguiente"
+
+#: ../../src/Translations/AdminTranslations.php:1309
+msgid "Previous page"
+msgstr "Página anterior"
+
+#: ../../src/Translations/AdminTranslations.php:1310
+msgid "The plugin has not yet recorded any logs in your store."
+msgstr "El plugin aún no ha registrado ningún registro en su tienda."
+
+#: ../../src/Translations/StoreTranslations.php:70
+msgid "discount of"
+msgstr "descuento de"
+
+#: ../../src/Translations/StoreTranslations.php:71
+msgid "fee of"
+msgstr "comisión de"
+
+#: ../../src/Translations/StoreTranslations.php:72
+msgid "and"
+msgstr "y"
+
+#: ../../src/Translations/StoreTranslations.php:73
+msgid "Shipping service used by the store."
+msgstr "Servicio de envío utilizado por la tienda."
+
+#: ../../src/Translations/StoreTranslations.php:74
+msgid "Discount provided by store"
+msgstr "Descuento proporcionado por la tienda"
+
+#: ../../src/Translations/StoreTranslations.php:75
+msgid "Mercado Pago Discount"
+msgstr "Descuento de Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:76
+msgid "Mercado Pago Commission"
+msgstr "Comisión de Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:77,
+#: ../../src/Translations/StoreTranslations.php:118,
+#: ../../src/Translations/StoreTranslations.php:148,
+#: ../../src/Translations/StoreTranslations.php:288,
+#: ../../src/Translations/StoreTranslations.php:325,
+#: ../../src/Translations/StoreTranslations.php:407,
+#: ../../src/Translations/StoreTranslations.php:465
+msgid "There was an error. Please try again in a few minutes."
+msgstr "Hubo un error. Intenta de nuevo en unos minutos"
+
+#: ../../src/Translations/StoreTranslations.php:90
+msgid "Checkout Pro in Test Mode"
+msgstr "Checkout Pro en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:91,
+#: ../../src/Translations/StoreTranslations.php:132,
+#: ../../src/Translations/StoreTranslations.php:235
+msgid "Use Mercado Pago's payment methods without real charges. "
+msgstr "Utiliza los medios de Mercado Pago sin cobros reales. "
+
+#: ../../src/Translations/StoreTranslations.php:92,
+#: ../../src/Translations/StoreTranslations.php:133,
+#: ../../src/Translations/StoreTranslations.php:236,
+#: ../../src/Translations/StoreTranslations.php:339,
+#: ../../src/Translations/StoreTranslations.php:391,
+#: ../../src/Translations/StoreTranslations.php:451
+msgid "See the rules for the test mode."
+msgstr "Consulte las reglas para el modo test."
+
+#: ../../src/Translations/StoreTranslations.php:93
+msgid "Log in to Mercado Pago and earn benefits"
+msgstr "Inicia sesión en Mercado Pago y obtén beneficios"
+
+#: ../../src/Translations/StoreTranslations.php:94
+msgid "Easy login"
+msgstr "Ingresa con facilidad"
+
+#: ../../src/Translations/StoreTranslations.php:95
+msgid "Log in with the same email and password you use in Mercado Libre."
+msgstr "Inicia sesión con tu mismo e-mail y contraseña de Mercado Libre."
+
+#: ../../src/Translations/StoreTranslations.php:96
+msgid "Blue phone image"
+msgstr "Imagen de teléfono azul"
+
+#: ../../src/Translations/StoreTranslations.php:97
+msgid "Quick payments"
+msgstr "Paga rápido"
+
+#: ../../src/Translations/StoreTranslations.php:98
+msgid "Use your saved cards, Pix or available balance."
+msgstr "Usa tus tarjetas guardadas, Pix o saldo disponible."
+
+#: ../../src/Translations/StoreTranslations.php:99
+msgid "Use your available Mercado Pago Wallet balance or saved cards."
+msgstr "Usa tu saldo disponible en Mercado Pago Wallet o tarjetas guardadas."
+
+#: ../../src/Translations/StoreTranslations.php:100
+msgid "Use your available money or saved cards."
+msgstr "Usa tu dinero disponible o tarjetas guardadas."
+
+#: ../../src/Translations/StoreTranslations.php:101
+msgid "Blue wallet image"
+msgstr "Imagen de billetera azul"
+
+#: ../../src/Translations/StoreTranslations.php:102
+msgid "Protected purchases"
+msgstr "Protege tu compra"
+
+#: ../../src/Translations/StoreTranslations.php:103
+msgid "Reliable purchases"
+msgstr "Compra con confianza"
+
+#: ../../src/Translations/StoreTranslations.php:104
+msgid "Get your money back in case you don't receive your product."
+msgstr "Recupera tu dinero si no recibes el producto."
+
+#: ../../src/Translations/StoreTranslations.php:105
+msgid "Get help if you have a problem with your purchase."
+msgstr "Recibe ayuda si tienes algún problema con tu compra."
+
+#: ../../src/Translations/StoreTranslations.php:106
+msgid "Blue protection image"
+msgstr "Imagen de protección azul"
+
+#: ../../src/Translations/StoreTranslations.php:107
+msgid "Installments option"
+msgstr "Accede a cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:108
+msgid "Pay with or without a credit card."
+msgstr "Paga con o sin tarjeta de crédito."
+
+#: ../../src/Translations/StoreTranslations.php:109
+msgid "Interest-free installments with selected banks."
+msgstr "Cuotas sin interés con bancos seleccionados."
+
+#: ../../src/Translations/StoreTranslations.php:110
+msgid "Blue phone installments image"
+msgstr "Imagen de cuotas de teléfono azul"
+
+#: ../../src/Translations/StoreTranslations.php:111
+msgid "Available payment methods"
+msgstr "Medios de pago disponibles"
+
+#: ../../src/Translations/StoreTranslations.php:112
+msgid ""
+"By continuing, you will be taken to Mercado Pago to safely complete your "
+"purchase."
+msgstr ""
+"Al continuar, te llevaremos a Mercado Pago para completar tu compra de forma "
+"segura."
+
+#: ../../src/Translations/StoreTranslations.php:113,
+#: ../../src/Translations/StoreTranslations.php:137
+msgid "Checkout Pro redirect info image"
+msgstr "Imagen de redirección de Checkout Pro"
+
+#: ../../src/Translations/StoreTranslations.php:114,
+#: ../../src/Translations/StoreTranslations.php:138,
+#: ../../src/Translations/StoreTranslations.php:262,
+#: ../../src/Translations/StoreTranslations.php:307,
+#: ../../src/Translations/StoreTranslations.php:341,
+#: ../../src/Translations/StoreTranslations.php:399,
+#: ../../src/Translations/StoreTranslations.php:463
+msgid "By continuing, you agree to our"
+msgstr "Al continuar, aceptas nuestros"
+
+#: ../../src/Translations/StoreTranslations.php:115,
+#: ../../src/Translations/StoreTranslations.php:139,
+#: ../../src/Translations/StoreTranslations.php:263,
+#: ../../src/Translations/StoreTranslations.php:308,
+#: ../../src/Translations/StoreTranslations.php:343,
+#: ../../src/Translations/StoreTranslations.php:400,
+#: ../../src/Translations/StoreTranslations.php:464
+msgid "Terms and conditions"
+msgstr "Términos y condiciones"
+
+#: ../../src/Translations/StoreTranslations.php:116,
+#: ../../src/Translations/StoreTranslations.php:239,
+#: ../../src/Translations/StoreTranslations.php:286
+msgid "Pay with Mercado Pago"
+msgstr "Pagar con Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:117,
+#: ../../src/Translations/StoreTranslations.php:287
+msgid "Cancel & Clear Cart"
+msgstr "Cancelar & Limpiar carrito"
+
+#: ../../src/Translations/StoreTranslations.php:131
+msgid "No card installments in Test Mode"
+msgstr "Mensualidades sin tarjeta en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:134
+msgid "Buy in up to 12 installments without credit cards"
+msgstr "Compra en hasta 12 pagos sin tarjeta de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:135
+msgid "We will take you to Mercado Pago"
+msgstr "Te llevaremos a Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:136
+msgid "If you don't have a credits line yet, active it when paying."
+msgstr "Si aún no tienes la Línea de Crédito, actívalo al momento de pagar."
+
+#: ../../src/Translations/StoreTranslations.php:140
+msgid "Learn more"
+msgstr "Saber más"
+
+#: ../../src/Translations/StoreTranslations.php:141
+msgid "Buy through Mercado Pago without cards and pay month by month"
+msgstr "Compra con Mercado Pago sin tarjeta y paga mes a mes"
+
+#: ../../src/Translations/StoreTranslations.php:142
+msgid ""
+"Add your product to the cart and, for the payment, select “Meses sin "
+"Tarjeta” or “Cuotas sin Tarjeta”."
+msgstr ""
+"Agrega tu producto al carrito y al momento de pagar, elige “Cuotas sin "
+"Tarjeta” o “Meses sin Tarjeta”."
+
+#: ../../src/Translations/StoreTranslations.php:143
+msgid "Log in to Mercado Pago."
+msgstr "Inicia sesión en Mercado Pago."
+
+#: ../../src/Translations/StoreTranslations.php:144
+msgid ""
+"Choose the amount of installments that best suit you and you’re all set!"
+msgstr "Elige la cantidad de pagos que se adapten mejor a ti ¡y listo!"
+
+#: ../../src/Translations/StoreTranslations.php:145
+msgid "Any Questions? Check our "
+msgstr "¿Tienes dudas? Consulta nuestra "
+
+#: ../../src/Translations/StoreTranslations.php:146
+msgid "Help"
+msgstr "Ayuda"
+
+#: ../../src/Translations/StoreTranslations.php:147
+msgid "Credit subject to approval."
+msgstr "Crédito sujeto a aprobación."
+
+#: ../../src/Translations/StoreTranslations.php:163
+msgid "Find out the available limit"
+msgstr "Conoce el límite disponible"
+
+#: ../../src/Translations/StoreTranslations.php:164
+msgid "of your Línea de Crédito and"
+msgstr "de tu Línea de Crédito y"
+
+#: ../../src/Translations/StoreTranslations.php:165
+msgid "choose the number of installments"
+msgstr "selecciona la cantidad de pagos"
+
+#: ../../src/Translations/StoreTranslations.php:170
+msgid "Confirm your payment,"
+msgstr "Confirma tu pago,"
+
+#: ../../src/Translations/StoreTranslations.php:171
+msgid "which is credited right away and is 100% protected"
+msgstr "se acredita al instante y está 100% protegido"
+
+#: ../../src/Translations/StoreTranslations.php:176
+msgid "Pay month by month"
+msgstr "Paga mes a mes"
+
+#: ../../src/Translations/StoreTranslations.php:177
+msgid "from the Mercado Pago app with your preferred payment method"
+msgstr "desde la app de Mercado Pago con el medio que prefieras"
+
+#: ../../src/Translations/StoreTranslations.php:197,
+#: ../../src/Translations/StoreTranslations.php:203
+msgid "through Mercado Pago"
+msgstr "con Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:215
+msgid "without credit card"
+msgstr "sin tarjeta de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:234
+msgid "Checkout Custom in Test Mode"
+msgstr "Tarjeta de crédito en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:237
+msgid "Pay with saved cards"
+msgstr "Paga con tarjetas guardadas"
+
+#: ../../src/Translations/StoreTranslations.php:238
+msgid ""
+"Do you have a Mercado Libre account? Then use the same email and password to "
+"pay faster with Mercado Pago."
+msgstr ""
+"¿Tienes una cuenta de Mercado Libre? Usa el mismo e-mail y contraseña para "
+"pagar más rápido con Mercado Pago."
+
+#: ../../src/Translations/StoreTranslations.php:240
+msgid "With which card can you pay?"
+msgstr "¿Con qué tarjeta puedes pagar?"
+
+#: ../../src/Translations/StoreTranslations.php:241,
+#: ../../src/Translations/StoreTranslations.php:245
+msgid "See current promotions"
+msgstr "Ver promociones vigentes"
+
+#: ../../src/Translations/StoreTranslations.php:242
+msgid "Credit cards"
+msgstr "Tarjetas de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:243
+msgid "Up to 12 installments"
+msgstr "Hasta 12 cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:244
+msgid "Debit cards"
+msgstr "Tarjetas de débito"
+
+#: ../../src/Translations/StoreTranslations.php:246
+msgid "Fill in your card details"
+msgstr "Completa los datos de tu tarjeta"
+
+#: ../../src/Translations/StoreTranslations.php:247
+msgid "Card number"
+msgstr "Número de Tarjeta"
+
+#: ../../src/Translations/StoreTranslations.php:248,
+#: ../../src/Translations/StoreTranslations.php:250,
+#: ../../src/Translations/StoreTranslations.php:252,
+#: ../../src/Translations/StoreTranslations.php:254
+msgid "Required data"
+msgstr "Datos obligatorios"
+
+#: ../../src/Translations/StoreTranslations.php:249
+msgid "Holder name as it appears on the card"
+msgstr "Nombre del titular como aparece en la tarjeta"
+
+#: ../../src/Translations/StoreTranslations.php:251
+msgid "Expiration"
+msgstr "Vencimiento"
+
+#: ../../src/Translations/StoreTranslations.php:253
+msgid "Security Code"
+msgstr "Código de seguridad"
+
+#: ../../src/Translations/StoreTranslations.php:255,
+#: ../../src/Translations/StoreTranslations.php:392,
+#: ../../src/Translations/StoreTranslations.php:452
+msgid "Holder ID"
+msgstr "Documento del titular"
+
+#: ../../src/Translations/StoreTranslations.php:256,
+#: ../../src/Translations/StoreTranslations.php:393,
+#: ../../src/Translations/StoreTranslations.php:412,
+#: ../../src/Translations/StoreTranslations.php:420,
+#: ../../src/Translations/StoreTranslations.php:424,
+#: ../../src/Translations/StoreTranslations.php:428,
+#: ../../src/Translations/StoreTranslations.php:435,
+#: ../../src/Translations/StoreTranslations.php:453
+msgid "Please complete this field."
+msgstr "Completa este campo."
+
+#: ../../src/Translations/StoreTranslations.php:257,
+#: ../../src/Translations/StoreTranslations.php:394,
+#: ../../src/Translations/StoreTranslations.php:454
+msgid "Please enter the full ID number."
+msgstr "Ingresa el documento completo."
+
+#: ../../src/Translations/StoreTranslations.php:258,
+#: ../../src/Translations/StoreTranslations.php:395,
+#: ../../src/Translations/StoreTranslations.php:455
+msgid "Please enter a valid ID."
+msgstr "Ingresa un documento válido."
+
+#: ../../src/Translations/StoreTranslations.php:259,
+#: ../../src/Translations/StoreTranslations.php:261
+msgid "Select the number of installments"
+msgstr "Selecciona la cantidad de cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:260,
+#: ../../src/Translations/StoreTranslations.php:265
+msgid "Issuer"
+msgstr "Banco"
+
+#: ../../src/Translations/StoreTranslations.php:264
+msgid "mm/yy"
+msgstr "mm/aa"
+
+#: ../../src/Translations/StoreTranslations.php:266
+msgid "Installments"
+msgstr "Cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:267
+msgid "on the back"
+msgstr "del dorso"
+
+#: ../../src/Translations/StoreTranslations.php:268
+msgid "on the front"
+msgstr "del frente"
+
+#: ../../src/Translations/StoreTranslations.php:269
+msgid "digits"
+msgstr "dígitos"
+
+#: ../../src/Translations/StoreTranslations.php:270
+msgid "No fee"
+msgstr "Sin interés"
+
+#: ../../src/Translations/StoreTranslations.php:271
+msgid "More options"
+msgstr "Más opciones"
+
+#: ../../src/Translations/StoreTranslations.php:272
+msgid "The interest rate is applied and charged by your bank."
+msgstr "La tasa de interés es aplicada y cobrada por tu banco."
+
+#: ../../src/Translations/StoreTranslations.php:273
+msgid "Interest"
+msgstr "Intereses"
+
+#: ../../src/Translations/StoreTranslations.php:274
+msgid "Card number is required"
+msgstr "Número de tarjeta obligatorio"
+
+#: ../../src/Translations/StoreTranslations.php:275
+msgid "Card number invalid"
+msgstr "Número de tarjeta inválido"
+
+#: ../../src/Translations/StoreTranslations.php:276
+msgid "Holder name is required"
+msgstr "Nombre del titular obligatorio"
+
+#: ../../src/Translations/StoreTranslations.php:277
+msgid "Holder name invalid"
+msgstr "Nombre del titular inválido"
+
+#: ../../src/Translations/StoreTranslations.php:278,
+#: ../../src/Translations/StoreTranslations.php:280
+msgid "Expiration date invalid"
+msgstr "Fecha de vencimiento inválido"
+
+#: ../../src/Translations/StoreTranslations.php:279
+msgid "Expiration date incomplete"
+msgstr "Fecha de vencimiento obligatorio"
+
+#: ../../src/Translations/StoreTranslations.php:281
+msgid "Security code is required"
+msgstr "Código de seguridad obligatorio"
+
+#: ../../src/Translations/StoreTranslations.php:282
+msgid "Security code incomplete"
+msgstr "Código de seguridad incompleto"
+
+#: ../../src/Translations/StoreTranslations.php:283
+msgid "Cost of installments"
+msgstr "Coste de las cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:284
+msgid "Total with installments"
+msgstr "Total con cuotas"
+
+#: ../../src/Translations/StoreTranslations.php:285
+msgid "installments of"
+msgstr "cuotas de"
+
+#: ../../src/Translations/StoreTranslations.php:289
+msgid ""
+"This amount does not allow payments by credit card, we recommend paying with "
+"another method or changing the contents of your cart."
+msgstr ""
+"Este valor no permite pagos con tarjeta de crédito, recomendamos pagar con "
+"otro medio de pago o cambiar el contenido de tu carrito."
+
+#: ../../src/Translations/StoreTranslations.php:290
+msgid ""
+"Something went wrong, we recommend trying again or paying with another "
+"method."
+msgstr ""
+"Hubo un error, recomendamos intentar nuevamente o pagar con otro medio de "
+"pago."
+
+#: ../../src/Translations/StoreTranslations.php:302
+msgid "Pix in Test Mode"
+msgstr "Pix en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:303,
+#: ../../src/Translations/StoreTranslations.php:340
+msgid ""
+"You can test the flow to generate a code, but you cannot finalize the "
+"payment."
+msgstr ""
+"Es posible probar el flujo para generar una factura, pero no es posible "
+"finalizar el pago."
+
+#: ../../src/Translations/StoreTranslations.php:304
+msgid "Pay instantly"
+msgstr "Pago instantáneo"
+
+#: ../../src/Translations/StoreTranslations.php:305
+msgid ""
+"By confirming your purchase, we will show you a code to make the payment."
+msgstr ""
+"Al confirmar tu compra, te mostraremos un código para realizar el pago."
+
+#: ../../src/Translations/StoreTranslations.php:306
+msgid "Pix logo"
+msgstr "Pix logo"
+
+#: ../../src/Translations/StoreTranslations.php:309,
+#: ../../src/Translations/StoreTranslations.php:318
+msgid "Code valid for "
+msgstr "Código válido por "
+
+#: ../../src/Translations/StoreTranslations.php:310
+msgid "Now you just need to pay with Pix to finalize your purchase"
+msgstr "Ahora sólo tiene que pagar con Pix para finalizar su compra"
+
+#: ../../src/Translations/StoreTranslations.php:311
+msgid "How to pay with Pix:"
+msgstr "Cómo pagar con Pix:"
+
+#: ../../src/Translations/StoreTranslations.php:312
+msgid "Go to your bank's app or website"
+msgstr "Entra en la app o en la página web de tu banco"
+
+#: ../../src/Translations/StoreTranslations.php:313
+msgid "Search for the option to pay with Pix"
+msgstr "Busca la opción de pagar con Pix"
+
+#: ../../src/Translations/StoreTranslations.php:314
+msgid "Scan the QR code or Pix code"
+msgstr "Escanea el código QR o el código Pix"
+
+#: ../../src/Translations/StoreTranslations.php:315
+msgid "Done! You will see the payment confirmation"
+msgstr "Listo. Verás la confirmación del pago"
+
+#: ../../src/Translations/StoreTranslations.php:316
+msgid "Value: "
+msgstr "Valor: "
+
+#: ../../src/Translations/StoreTranslations.php:317
+msgid "Scan the QR code:"
+msgstr "Escanea el código QR:"
+
+#: ../../src/Translations/StoreTranslations.php:319
+msgid "If you prefer, you can pay by copying and pasting the following code"
+msgstr "Si lo prefieres, puedes pagar copiando y pegando el siguiente código"
+
+#: ../../src/Translations/StoreTranslations.php:320
+msgid "Copy code"
+msgstr "Copiar código"
+
+#: ../../src/Translations/StoreTranslations.php:321,
+#: ../../src/Translations/StoreTranslations.php:406,
+#: ../../src/Translations/StoreTranslations.php:462
+msgid "Mercado Pago: The customer has not paid yet."
+msgstr "Mercado Pago: El cliente no ha pagado todavía."
+
+#: ../../src/Translations/StoreTranslations.php:322
+msgid ""
+"Mercado Pago: Now you just need to pay with Pix to finalize your purchase."
+msgstr ""
+"Mercado Pago: Ahora sólo tiene que pagar con Pix para finalizar su compra."
+
+#: ../../src/Translations/StoreTranslations.php:323
+msgid ""
+"Scan the QR code below or copy and paste the code into your bank's "
+"application."
+msgstr ""
+"Escanee el código QR a continuación o copie y pegue el código en la "
+"aplicación de su banco."
+
+#: ../../src/Translations/StoreTranslations.php:324
+msgid "30 minutes"
+msgstr "30 minutos"
+
+#: ../../src/Translations/StoreTranslations.php:338
+msgid "Yape in Test Mode"
+msgstr "Yape en Modo de Prueba"
+
+#: ../../src/Translations/StoreTranslations.php:342
+msgid "Cell phone linked to Yape"
+msgstr "Celular asociado a Yape"
+
+#: ../../src/Translations/StoreTranslations.php:344
+msgid ""
+"Verify in Yape that the option \"Compra por internet\" is activated and that "
+"the daily limit is enough."
+msgstr ""
+"Recuerda tener activada la opción “Compras por internet” en Yape y verificar "
+"tu límite diario."
+
+#: ../../src/Translations/StoreTranslations.php:345
+msgid "Pay with Yape in a few minutes"
+msgstr "Paga con Yape en pocos segundos"
+
+#: ../../src/Translations/StoreTranslations.php:346
+msgid "Fill out the following details and confirm your purchase."
+msgstr "Completa los siguientes datos y confirma tu compra."
+
+#: ../../src/Translations/StoreTranslations.php:347
+msgid "Approval code"
+msgstr "Código de aprobación"
+
+#: ../../src/Translations/StoreTranslations.php:348
+msgid "Processed by Mercado Pago"
+msgstr "Procesado por Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:349
+msgid "The code is available in the Yape app menu."
+msgstr "Encuéntralo en el menú de la app de Yape."
+
+#: ../../src/Translations/StoreTranslations.php:350,
+#: ../../src/Translations/StoreTranslations.php:352
+msgid "Enter the entire number."
+msgstr "Completa este campo."
+
+#: ../../src/Translations/StoreTranslations.php:351,
+#: ../../src/Translations/StoreTranslations.php:353
+msgid "Fill out this field."
+msgstr "Ingresa el número completo."
+
+#: ../../src/Translations/StoreTranslations.php:365
+msgid "Payment approved."
+msgstr "Pago aprobado."
+
+#: ../../src/Translations/StoreTranslations.php:366
+msgid "Waiting for the Pix payment."
+msgstr "Esperando el pago de Pix."
+
+#: ../../src/Translations/StoreTranslations.php:367
+msgid "Waiting for the ticket payment."
+msgstr "Esperando el pago del boleto."
+
+#: ../../src/Translations/StoreTranslations.php:368
+msgid "The customer has not made the payment yet."
+msgstr "El cliente todavía no efectuó el pago."
+
+#: ../../src/Translations/StoreTranslations.php:369
+msgid "Payment is pending review."
+msgstr "El pago está pendiente de revisión."
+
+#: ../../src/Translations/StoreTranslations.php:370
+msgid "Payment was declined. The customer can try again."
+msgstr "El pago fue rechazado. El cliente puede intentar nuevamente."
+
+#: ../../src/Translations/StoreTranslations.php:371
+msgid "Payment was returned to the customer."
+msgstr "El pago fue devuelto al cliente."
+
+#: ../../src/Translations/StoreTranslations.php:372
+msgid ""
+"The payment was partially returned to the customer. the amount refunded "
+"was : "
+msgstr ""
+"El pago se devolvió parcialmente al cliente. El montante reembolsado fue "
+"de : "
+
+#: ../../src/Translations/StoreTranslations.php:373
+msgid "Payment was canceled."
+msgstr "El pago fue cancelado."
+
+#: ../../src/Translations/StoreTranslations.php:374,
+#: ../../src/Translations/StoreTranslations.php:375
+msgid ""
+"The payment is in mediation or the purchase was unknown by the customer."
+msgstr "El pago esta en mediación o la compra fue desconocida por el cliente."
+
+#: ../../src/Translations/StoreTranslations.php:376
+msgid "The payment"
+msgstr "El pago"
+
+#: ../../src/Translations/StoreTranslations.php:377
+msgid "was notified by Mercado Pago with status"
+msgstr "fue notificado por Mercado Pago con estado"
+
+#: ../../src/Translations/StoreTranslations.php:389
+msgid "Offline Methods in Test Mode"
+msgstr "Facturas en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:390
+msgid ""
+"You can test the flow to generate an invoice, but you cannot finalize the "
+"payment."
+msgstr ""
+"Es posible testear el flujo para generar una factura, pero no es posible "
+"finalizar el pago."
+
+#: ../../src/Translations/StoreTranslations.php:396
+msgid "Select your payment method"
+msgstr "Selecciona dónde quieres pagar"
+
+#: ../../src/Translations/StoreTranslations.php:397,
+#: ../../src/Translations/StoreTranslations.php:457
+msgid "more options"
+msgstr "más opciones"
+
+#: ../../src/Translations/StoreTranslations.php:398
+msgid "Select a payment method."
+msgstr "Selecciona una opción de pago."
+
+#: ../../src/Translations/StoreTranslations.php:401
+msgid ""
+"Great, we processed your purchase order. Complete the payment with ticket so "
+"that we finish approving it."
+msgstr ""
+"Excelente, procesamos tu orden de compra. Completa el pago con ticket para "
+"que terminemos de aprobarla."
+
+#: ../../src/Translations/StoreTranslations.php:402
+msgid "Print ticket"
+msgstr "Imprimir ticket"
+
+#: ../../src/Translations/StoreTranslations.php:403
+msgid " and "
+msgstr " e "
+
+#: ../../src/Translations/StoreTranslations.php:404
+msgid "To print the ticket again click"
+msgstr "Para reimprimir o boleto clique"
+
+#: ../../src/Translations/StoreTranslations.php:405
+msgid "here"
+msgstr "aqui"
+
+#: ../../src/Translations/StoreTranslations.php:408
+msgid "Enter payment details"
+msgstr "Ingresa los datos de facturación"
+
+#: ../../src/Translations/StoreTranslations.php:409
+msgid "Use delivery details."
+msgstr "Usar los mismos datos de entrega."
+
+#: ../../src/Translations/StoreTranslations.php:410
+msgid "ZIP code"
+msgstr "CEP"
+
+#: ../../src/Translations/StoreTranslations.php:411
+msgid "E.g.: 01310-200"
+msgstr "Ej.: 01310-200"
+
+#: ../../src/Translations/StoreTranslations.php:413
+msgid "Please enter the full ZIP code."
+msgstr "Ingresa el CEP completo."
+
+#: ../../src/Translations/StoreTranslations.php:414
+msgid "Please enter a valid ZIP code."
+msgstr "Ingresa un CEP válido."
+
+#: ../../src/Translations/StoreTranslations.php:415
+msgid "State"
+msgstr "Estado"
+
+#: ../../src/Translations/StoreTranslations.php:416
+msgid "Select a state"
+msgstr "Selecciona un estado"
+
+#: ../../src/Translations/StoreTranslations.php:417
+msgid "Please select an option."
+msgstr "Selecciona una opción."
+
+#: ../../src/Translations/StoreTranslations.php:418
+msgid "City"
+msgstr "Ciudad"
+
+#: ../../src/Translations/StoreTranslations.php:419
+msgid "E.g.: São Paulo"
+msgstr "Ej.: São Paulo"
+
+#: ../../src/Translations/StoreTranslations.php:421
+msgid "Please enter the full name of the city."
+msgstr "Ingresa el nombre completo de la ciudad."
+
+#: ../../src/Translations/StoreTranslations.php:422
+msgid "Neighborhood"
+msgstr "Barrio"
+
+#: ../../src/Translations/StoreTranslations.php:423
+msgid "E.g.: Jardim das flores"
+msgstr "Ej.: Jardim das flores"
+
+#: ../../src/Translations/StoreTranslations.php:425
+msgid "Please enter the full neighborhood name."
+msgstr "Ingresa el nombre completo del barrio."
+
+#: ../../src/Translations/StoreTranslations.php:426
+msgid "Address"
+msgstr "Dirección"
+
+#: ../../src/Translations/StoreTranslations.php:427
+msgid "E.g.: Avenida das Flores"
+msgstr "Ej.: Avenida das Flores"
+
+#: ../../src/Translations/StoreTranslations.php:429
+msgid "Please enter the full address."
+msgstr "Ingresa la dirección completa."
+
+#: ../../src/Translations/StoreTranslations.php:430
+msgid "Complement (optional)"
+msgstr "Complemento (opcional)"
+
+#: ../../src/Translations/StoreTranslations.php:431
+msgid "E.g.: Apartament 52 block C"
+msgstr "Ej.: Apartamento 52 bloco C"
+
+#: ../../src/Translations/StoreTranslations.php:432
+msgid "Number"
+msgstr "Número"
+
+#: ../../src/Translations/StoreTranslations.php:433
+msgid "E.g.: 148"
+msgstr "Ej.: 148"
+
+#: ../../src/Translations/StoreTranslations.php:434
+msgid "No number"
+msgstr "Sin número"
+
+#: ../../src/Translations/StoreTranslations.php:436
+msgid "Please enter a valid number."
+msgstr "Ingresa un número válido."
+
+#: ../../src/Translations/StoreTranslations.php:449
+msgid "Checkout PSE in Test Mode"
+msgstr "Checkout PSE en Modo Test"
+
+#: ../../src/Translations/StoreTranslations.php:450
+msgid "You can test the flow to generate a payment with PSE"
+msgstr "Puede probar el flujo para generar un pago con PSE"
+
+#: ../../src/Translations/StoreTranslations.php:456
+msgid "Select where you want to pay"
+msgstr "Selecciona dónde quieres pagar"
+
+#: ../../src/Translations/StoreTranslations.php:458
+msgid "Person type "
+msgstr "Tipo de persona "
+
+#: ../../src/Translations/StoreTranslations.php:459
+msgid "Financial institution"
+msgstr "Institución financiera"
+
+#: ../../src/Translations/StoreTranslations.php:460
+msgid "Select the financial institution"
+msgstr "Seleccione la entidad financiera"
+
+#: ../../src/Translations/StoreTranslations.php:461
+msgid "Select the institution"
+msgstr "Seleccione la institución"
+
+#: ../../src/Translations/StoreTranslations.php:478
+msgid "A problem was occurred when processing your payment. Please, try again."
+msgstr ""
+"El problemas ocurrió cuando se procesaba su pago. Por favor, intente otra "
+"vez."
+
+#: ../../src/Translations/StoreTranslations.php:479
+msgid ""
+"A problem was occurred when processing your payment. Are you sure you have "
+"correctly filled all information in the checkout form?"
+msgstr ""
+"El problemas ocurrió cuando se procesaba su pago. Está seguro de haber "
+"cargado la información en el formulario?"
+
+#: ../../src/Translations/StoreTranslations.php:480
+msgid "See your order form"
+msgstr "Ver su hoja de pedido"
+
+#: ../../src/Translations/StoreTranslations.php:481
+msgid "Your payment was declined. You can try again."
+msgstr "Su pago fue rechazado. Puede intentarlo de nuevo."
+
+#: ../../src/Translations/StoreTranslations.php:482
+msgid "Click to try again"
+msgstr "Haga clic para intentarlo de nuevo"
+
+#: ../../src/Translations/StoreTranslations.php:483
+msgid "That's it, payment accepted!"
+msgstr "Listo, ¡aceptamos tu pago!"
+
+#: ../../src/Translations/StoreTranslations.php:484
+msgid ""
+"We are processing your payment. In less than an hour we will send you the "
+"result by email."
+msgstr ""
+"Estamos procesando su pago. En menos de una hora le enviaremos el resultado "
+"por correo electrónico."
+
+#: ../../src/Translations/StoreTranslations.php:485
+msgid ""
+"We are processing your payment. In less than 2 days we will send you by "
+"email if the payment has been approved or if additional information is "
+"needed."
+msgstr ""
+"Estamos procesando su pago. En menos de 2 días le enviaremos por correo "
+"electrónico si se ha aprobado el pago o si se necesita información adicional."
+
+#: ../../src/Translations/StoreTranslations.php:486
+msgid "Check the card number."
+msgstr "Compruebe el número de tarjeta."
+
+#: ../../src/Translations/StoreTranslations.php:487
+msgid "Check the expiration date."
+msgstr "Compruebe la fecha de expiración."
+
+#: ../../src/Translations/StoreTranslations.php:488
+msgid "Check the information provided."
+msgstr "Compruebe la información informada."
+
+#: ../../src/Translations/StoreTranslations.php:489
+msgid "Check the informed security code."
+msgstr "Compruebe el código de seguridad informado."
+
+#: ../../src/Translations/StoreTranslations.php:490,
+#: ../../src/Translations/StoreTranslations.php:491
+msgid "Your payment cannot be processed."
+msgstr "No se puede procesar su pago."
+
+#: ../../src/Translations/StoreTranslations.php:492
+msgid "You must authorize payments for your orders."
+msgstr "Usted debe autorizar los pagos de sus órdenes."
+
+#: ../../src/Translations/StoreTranslations.php:493
+msgid ""
+"Contact your card issuer to activate it. The phone is on the back of your "
+"card."
+msgstr ""
+"Póngase en contacto con el emisor de su tarjeta para activarla. El teléfono "
+"se encuentra en la parte posterior de su tarjeta."
+
+#: ../../src/Translations/StoreTranslations.php:494
+msgid ""
+"You have already made a payment of this amount. If you have to pay again, "
+"use another card or other method of payment."
+msgstr ""
+"Usted ya realizó un pago de este importe. Si tiene que pagar de nuevo, "
+"utilizar otra tarjeta u otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:495
+msgid ""
+"Your payment was declined. Please select another payment method. It is "
+"recommended in cash."
+msgstr "Su pago fue rechazado. Puede intentarlo de nuevo."
+
+#: ../../src/Translations/StoreTranslations.php:496
+msgid "Your payment does not have sufficient funds."
+msgstr "Su metodo de pago no tiene fondos suficientes."
+
+#: ../../src/Translations/StoreTranslations.php:497
+msgid "Payment cannot process the selected fee."
+msgstr "El pago no puede procesar la cuota seleccionada."
+
+#: ../../src/Translations/StoreTranslations.php:498
+msgid ""
+"You have reached the limit of allowed attempts. Choose another card or other "
+"payment method."
+msgstr ""
+"Has alcanzado el límite de intentos permitidos. Elija otra tarjeta u otro "
+"medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:499
+msgid ""
+"Invalid transaction attempt
You are trying to perform a "
+"productive transaction using test credentials, or test transaction using "
+"productive credentials. Please ensure that you are using the correct "
+"environment settings for the desired action."
+msgstr ""
+"Intento de transacción no válido
Está intentando "
+"realizar una transacción productiva con credenciales de prueba o una "
+"transacción de prueba con credenciales productivas. Asegúrese de que está "
+"utilizando la configuración de credenciales correcta para la acción deseada."
+
+#: ../../src/Translations/StoreTranslations.php:500
+msgid ""
+"Invalid transaction attempt
It is not possible to pay "
+"with the email address entered. Please enter another e-mail address."
+msgstr ""
+"Intento de transacción no válido
No es posible pagar con "
+"el email introducido. Por favor, introduzca otro email."
+
+#: ../../src/Translations/StoreTranslations.php:501
+msgid "This payment method cannot process your payment."
+msgstr "Este medio de pago no puede procesar su pago."
+
+#: ../../src/Translations/StoreTranslations.php:513
+msgid ""
+"Your bank needs you to authorize the payment
Please call "
+"the telephone number on your card or pay with another method."
+msgstr ""
+"Tu banco necesita que autorices el pago
Llama al "
+"teléfono que está en la tarjeta o paga con otro medio."
+
+#: ../../src/Translations/StoreTranslations.php:514,
+#: ../../src/Translations/StoreTranslations.php:515
+msgid ""
+"For safety reasons, your payment was declined
We "
+"recommended paying with your usual payment method and device for online "
+"purchases."
+msgstr ""
+"Por motivos de seguridad, tu pago fue rechazado
Te recomendamos "
+"pagar con el medio de pago y dispositivo que sueles usar para compras online."
+
+#: ../../src/Translations/StoreTranslations.php:516,
+#: ../../src/Translations/StoreTranslations.php:517,
+#: ../../src/Translations/StoreTranslations.php:518,
+#: ../../src/Translations/StoreTranslations.php:519
+msgid ""
+"One or more card details were entered incorrecctly"
+"strong>
Please enter them again as they appear on the card to complete "
+"the payment."
+msgstr ""
+"Ingresaste uno o más datos de tu tarjeta de forma incorrecta"
+"strong>
Vuelve a ingresarlos tal como figuran en la tarjeta para "
+"finalizar el pago."
+
+#: ../../src/Translations/StoreTranslations.php:520
+msgid ""
+"Your credit card has no available limit
Please pay using "
+"another card or choose another payment method."
+msgstr ""
+"Tu tarjeta de crédito no tiene límite disponible
Paga "
+"con otra tarjeta o elige otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:521
+msgid ""
+"Your debit card has insufficient founds
Please pay using "
+"another card or choose another payment method."
+msgstr ""
+"Tu tarjeta de débito no tiene saldo suficiente
Paga con "
+"otra tarjeta o elige otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:522
+msgid ""
+"Your card does not accept the number of installments selected"
+"strong>
Please choose a different number of installments or use a "
+"different payment method ."
+msgstr ""
+"Tu tarjeta no acepta la cantidad de pagos que seleccionaste"
+"strong>
Elige una cantidad de pagos diferente o use otro medio."
+
+#: ../../src/Translations/StoreTranslations.php:523
+msgid ""
+"You need to activate your card
Please contact your bank "
+"by calling the number on the back of your card or choose another payment "
+"method."
+msgstr ""
+"Necesitas habilitar tu tarjeta
Comunícate con tu banco "
+"llamando al número que está al dorso de la tarjeta o elige otro medio de "
+"pago."
+
+#: ../../src/Translations/StoreTranslations.php:524
+msgid ""
+"You reached the limit of payment attempts with this card"
+"strong>
Please pay using another card or choose another payment method."
+msgstr ""
+"Alcanzaste el límite de intentos de pago con esta tarjeta"
+"strong>
Paga con otra tarjeta o elige otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:525
+msgid ""
+"Your payment was declined because you already paid for this "
+"purchase
Check your card transactions to verify it."
+msgstr ""
+"Tu pago fue rechazado porque ya pagaste esta compra"
+"strong>
Revisa los consumos de tu tarjeta para verificarlo."
+
+#: ../../src/Translations/StoreTranslations.php:526,
+#: ../../src/Translations/StoreTranslations.php:527,
+#: ../../src/Translations/StoreTranslations.php:528
+msgid ""
+"The card issuing bank declined the payment
We "
+"recommended paying with another payment method or contact your bank."
+msgstr ""
+"El banco emisor de la tarjeta rechazó tu pago
Te "
+"recomendamos pagar con otro medio de pago o comunicarte con tu banco."
+
+#: ../../src/Translations/StoreTranslations.php:529
+msgid ""
+"For safety reasons, the card issuing bank declined the payment"
+"strong>
We recommended paying with your usual payment method and device "
+"for online purchases."
+msgstr ""
+"Por motivos de seguridad, el banco de la tarjeta rechazó el pago"
+"b>
Te recomendamos pagar con el medio de pago y dispositivo que sueles "
+"usar para compras online."
+
+#: ../../src/Translations/StoreTranslations.php:530
+msgid ""
+"Your payment was declined because something went wrong"
+"strong>
We recommended trying again or paying with another method."
+msgstr ""
+"Tu pago fue rechazado porque hube un error
Te "
+"recomendamos intentar nuevamente o pagar con otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:531
+msgid ""
+"Yape declined your payment
Your payment could not be "
+"processed. Please try again or choose another payment method."
+msgstr ""
+"Yape rechazó tu pago
No se pudo procesar tu pago. Por "
+"favor, vuelve a intentarlo o elige otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:532
+msgid ""
+"Yape declined your payment
Your payment could not be "
+"processed. You can contact Yape to find out why or try again with this or "
+"another payment method."
+msgstr ""
+"Yape rechazó tu pago
No se pudo procesar tu pago. Puedes "
+"comunicarte con Yape para saber los motivos o intentar nuevamente con este u "
+"otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:533
+msgid ""
+"Yape declined your payment
Your payment was rejected "
+"because something went wrong. We recommend trying again or paying with "
+"another method."
+msgstr ""
+"Yape rechazó tu pago
Tu pago fue rechazado porque hubo "
+"un error. Te recomendamos intentar nuevamente o pagar otro medio de pago."
+
+#: ../../src/Translations/StoreTranslations.php:534
+msgid ""
+"Yape declined your payment
This payment exceeds your "
+"daily limit for online purchases with Yape. We recommend paying with another "
+"method or trying again tomorrow."
+msgstr ""
+"Yape rechazó tu pago
Este pago excede tu límite diario "
+"para compras por internet con Yape. Te recomendamos usar otro medio de pago "
+"o volver a intentar mañana."
+
+#: ../../src/Translations/StoreTranslations.php:535
+msgid ""
+"Yape declined your payment
After three incorrect "
+"approval codes, the payment can't be done with Yape for your safety. Pay "
+"with another method or try again in 24 hours."
+msgstr ""
+"Yape rechazó tu pago
Luego de 3 códigos de aprobación "
+"incorrectos, por tu seguridad, no se puede realizar el pago con Yape. Paga "
+"con otro medio o intenta nuevamente en 24 horas."
+
+#: ../../src/Translations/StoreTranslations.php:547
+msgid "We are taking you to validate the card"
+msgstr "Te estamos llevando a validar la tarjeta"
+
+#: ../../src/Translations/StoreTranslations.php:548
+msgid "with your bank"
+msgstr "con tu banco"
+
+#: ../../src/Translations/StoreTranslations.php:549
+msgid "We need to confirm that you are the cardholder."
+msgstr "Necesitamos confirmar que eres titular de la tarjeta."
+
+#: ../../src/Translations/StoreTranslations.php:550
+msgid "We are receiving the response from your bank"
+msgstr "Estamos recibiendo la respuesta de tu banco"
+
+#: ../../src/Translations/StoreTranslations.php:551
+msgid "Complete the bank validation so your payment can be approved"
+msgstr "Completa la validación del banco para aprobar tu pago"
+
+#: ../../src/Translations/StoreTranslations.php:552
+msgid ""
+"Please keep this page open. If you close it, you will not be able to resume "
+"the validation."
+msgstr ""
+"Mantén abierta esta pantalla. Si la cierras, no podrás retomar la validación."
+
+#: ../../src/Translations/StoreTranslations.php:553
+msgid ""
+"For safety reasons, your payment was declined
We recommend paying "
+"with your usual payment method and device for online purchases."
+msgstr ""
+"Por motivos de seguridad, tu pago fue rechazado
Te recomendamos "
+"pagar con el medio de pago y dispositivo que sueles usar para compras online."
+
+#~ msgid "Holder document"
+#~ msgstr "Documento del titular"
+
+#~ msgid "Invalid document"
+#~ msgstr "Número de documento no válido"
diff --git a/i18n/languages/woocommerce-mercadopago-pt.mo b/i18n/languages/woocommerce-mercadopago-pt.mo
new file mode 100644
index 000000000..d463231bc
Binary files /dev/null and b/i18n/languages/woocommerce-mercadopago-pt.mo differ
diff --git a/i18n/languages/woocommerce-mercadopago-pt.po b/i18n/languages/woocommerce-mercadopago-pt.po
new file mode 100644
index 000000000..425383c36
--- /dev/null
+++ b/i18n/languages/woocommerce-mercadopago-pt.po
@@ -0,0 +1,3477 @@
+# Copyright (C) 2022 woocommerce-mercadopago
+# This file is distributed under the same license as the woocommerce-mercadopago package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Mercado Pago payments for WooCommerce\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-"
+"mercadopago\n"
+"POT-Creation-Date: 2024-12-10 19:23+0000\n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.4.4\n"
+
+#: ../../src/WoocommerceMercadoPago.php:440,
+#: ../../src/Translations/AdminTranslations.php:109
+msgid "Activate WooCommerce"
+msgstr "Ativar WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:441,
+#: ../../src/Translations/AdminTranslations.php:110
+msgid "Install WooCommerce"
+msgstr "Instalar WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:442,
+#: ../../src/Translations/AdminTranslations.php:111
+msgid "See WooCommerce"
+msgstr "Veja WooCommerce"
+
+#: ../../src/WoocommerceMercadoPago.php:444,
+#: ../../src/Translations/AdminTranslations.php:100
+msgid "The Mercado Pago module needs an active version of %s in order to work!"
+msgstr ""
+"O módulo do Mercado Pago necessita de uma versão ativa de %s para funcionar!"
+
+#: ../../src/Translations/AdminTranslations.php:106
+msgid ""
+"Mercado Pago payments for WooCommerce requires PHP version 7.4 or later. "
+"Please update your PHP version."
+msgstr ""
+"O plugin do Mercado Pago para o WooCommerce requer o PHP versão 7.4 ou "
+"posterior. Por favor, atualize sua versão do PHP."
+
+#: ../../src/Translations/AdminTranslations.php:107
+msgid "Mercado Pago Error: PHP Extension CURL is not installed."
+msgstr "Erro no Mercado Pago: a extensão PHP CURL não está instalada."
+
+#: ../../src/Translations/AdminTranslations.php:108
+msgid ""
+"Mercado Pago Error: PHP Extension GD is not installed. Installation of GD "
+"extension is required to send QR Code Pix by email."
+msgstr ""
+"Erro no Mercado Pago: A extensão PHP GD não está instalada. Instalação da "
+"extensão GD é necessária para envio de QR Code Pix por e-mail."
+
+#: ../../src/Translations/AdminTranslations.php:112
+msgid ""
+"Please note that to receive payments via Pix at our checkout, you must have "
+"a Pix key registered in your Mercado Pago account."
+msgstr ""
+"Lembre-se de que para receber pagamentos via PIX em nosso checkout, você "
+"precisa ter uma chave PIX cadastrada na sua conta Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:113
+msgid "Register your Pix key at Mercado Pago."
+msgstr "Cadastre sua chave PIX no Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:114
+msgid "%s, help us improve the experience we offer"
+msgstr "%s, ajude-nos a melhorar a experiência que oferecemos"
+
+#: ../../src/Translations/AdminTranslations.php:115
+msgid ""
+"Share your opinion with us so that we improve our product and offer the best "
+"payment solution."
+msgstr ""
+"Deixe sua opinião para podermos melhorar nosso produto e oferecermos a "
+"melhor solução de pagamentos para você."
+
+#: ../../src/Translations/AdminTranslations.php:116
+msgid "Rate the plugin"
+msgstr "Avalie o plugin"
+
+#: ../../src/Translations/AdminTranslations.php:117
+msgid "Enable payments via Mercado Pago account"
+msgstr "Ative os pagamentos via conta Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:118
+msgid ""
+"When you enable this function, your customers pay faster using their Mercado "
+"Pago accounts.The approval rate of these payments in your store can be "
+"25% higher compared to other payment methods."
+msgstr ""
+"Ao ativar esta função, seus clientes pagam mais rápido usando suas contas do "
+"Mercado Pago.A taxa de aprovação desses pagamentos em sua loja pode ser "
+"25% maior em comparação com outros métodos de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:119
+msgid "Activate"
+msgstr "Ativar"
+
+#: ../../src/Translations/AdminTranslations.php:120
+msgid ""
+"Our plugin does not support the language you've chosen, so we've switched it "
+"to the English default. If you prefer, you can also select Spanish or "
+"Portuguese (Brazilian)."
+msgstr ""
+
+#: ../../src/Translations/AdminTranslations.php:121
+msgid "You activated Mercado Pago’s plug-in"
+msgstr "Você ativou o plugin do Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:122
+msgid ""
+"Follow the instructions below to integrate your store with Mercado Pago and "
+"start to sell."
+msgstr ""
+"Siga as instruções abaixo para integrar sua loja ao Mercado Pago e começar a "
+"vender."
+
+#: ../../src/Translations/AdminTranslations.php:134
+msgid "Set plugin"
+msgstr "Configurar plugin"
+
+#: ../../src/Translations/AdminTranslations.php:135,
+#: ../../src/Translations/AdminTranslations.php:721,
+#: ../../src/Translations/AdminTranslations.php:781
+msgid "Payment methods"
+msgstr "Meios de pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:136
+msgid "Plugin manual"
+msgstr "Manual do plugin"
+
+#: ../../src/Translations/AdminTranslations.php:148
+msgid "Cancel order"
+msgstr "Cancelar ordem"
+
+#: ../../src/Translations/AdminTranslations.php:149
+msgid "Mercado Pago commission:"
+msgstr "Comissão do Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:150
+msgid "Represents the commission configured on plugin settings."
+msgstr "Representa a comissão definida nas configurações do plugin."
+
+#: ../../src/Translations/AdminTranslations.php:151
+msgid "Mercado Pago discount:"
+msgstr "Desconto do Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:152
+msgid "Represents the discount configured on plugin settings."
+msgstr "Representa o desconto definido nas configurações do plugin."
+
+#: ../../src/Translations/AdminTranslations.php:153
+msgid "Represents the installment fee charged by Mercado Pago."
+msgstr "Representa a taxa de parcelamento cobrada pelo Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:154
+msgid "Mercado Pago Installment Fee:"
+msgstr "Taxa de prestação do Mercado Pago:"
+
+#: ../../src/Translations/AdminTranslations.php:155
+msgid ""
+"Represents the total purchase plus the installment fee charged by Mercado "
+"Pago."
+msgstr ""
+"Representa o total da compra mais a taxa de parcelamento cobrada pelo "
+"Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:156
+msgid "Mercado Pago Total:"
+msgstr "Mercado Pago Total:"
+
+#: ../../src/Translations/AdminTranslations.php:169
+msgid "Accept"
+msgstr "Aceite"
+
+#: ../../src/Translations/AdminTranslations.php:170
+msgid "payments"
+msgstr "pagamentos"
+
+#: ../../src/Translations/AdminTranslations.php:171
+msgid "safely"
+msgstr "de forma"
+
+#: ../../src/Translations/AdminTranslations.php:172
+msgid "with"
+msgstr "segura com o"
+
+#: ../../src/Translations/AdminTranslations.php:173
+msgid "Mercado Pago"
+msgstr "Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:178
+msgid "Choose"
+msgstr "Escolha"
+
+#: ../../src/Translations/AdminTranslations.php:179
+msgid "when you want to receive the money"
+msgstr "quando quer receber o dinheiro"
+
+#: ../../src/Translations/AdminTranslations.php:180
+msgid "from your sales and if you want to offer"
+msgstr "das vendas e se quer oferecer"
+
+#: ../../src/Translations/AdminTranslations.php:181
+msgid "interest-free installments"
+msgstr "parcelamento sem acréscimos"
+
+#: ../../src/Translations/AdminTranslations.php:182
+msgid "to your clients."
+msgstr "aos clientes."
+
+#: ../../src/Translations/AdminTranslations.php:188
+msgid "SSL"
+msgstr "SSL"
+
+#: ../../src/Translations/AdminTranslations.php:189
+msgid "Curl"
+msgstr "Curl"
+
+#: ../../src/Translations/AdminTranslations.php:190
+msgid "GD Extensions"
+msgstr "Extensões GD"
+
+#: ../../src/Translations/AdminTranslations.php:192
+msgid "Technical requirements"
+msgstr "Requisitos técnicos"
+
+#: ../../src/Translations/AdminTranslations.php:193
+msgid "Collections and installments"
+msgstr "Recebimentos e parcelamento"
+
+#: ../../src/Translations/AdminTranslations.php:194
+msgid "More information"
+msgstr "Mais informações"
+
+#: ../../src/Translations/AdminTranslations.php:195
+msgid ""
+"Implementation responsible for transmitting data to Mercado Pago in a secure "
+"and encrypted way."
+msgstr ""
+"Implementação responsável pela transmissão de dados para o Mercado Pago de "
+"maneira segura e criptografada."
+
+#: ../../src/Translations/AdminTranslations.php:196
+msgid ""
+"It is an extension responsible for making payments via requests from the "
+"plugin to Mercado Pago."
+msgstr ""
+"É uma extensão responsável pela realização de pagamentos via solicitações do "
+"plugin ao Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:197
+msgid ""
+"These extensions are responsible for the implementation and operation of Pix "
+"in your store."
+msgstr ""
+"São extensões responsáveis pela implementação e funcionamento do Pix na sua "
+"loja."
+
+#: ../../src/Translations/AdminTranslations.php:199
+msgid "Check our documentation to learn more about integrating our plug-in."
+msgstr ""
+"Confira a documentação para saber mais sobre a integração do nosso plugin."
+
+#: ../../src/Translations/AdminTranslations.php:200
+msgid "Set deadlines and fees"
+msgstr "Ajustar prazos e taxas"
+
+#: ../../src/Translations/AdminTranslations.php:201
+msgid "Go to documentation"
+msgstr "Ir para documentação"
+
+#: ../../src/Translations/AdminTranslations.php:214
+msgid "Public Key"
+msgstr "Public key"
+
+#: ../../src/Translations/AdminTranslations.php:215
+msgid "Access Token"
+msgstr "Access Token"
+
+#: ../../src/Translations/AdminTranslations.php:216
+msgid "1. Enter your credentials to integrate your store with Mercado Pago"
+msgstr "1. Insira suas credenciais para integrar sua loja ao Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:217
+msgid "Production credentials"
+msgstr "Credenciais de produção"
+
+#: ../../src/Translations/AdminTranslations.php:218
+msgid "Test credentials"
+msgstr "Credenciais de teste"
+
+#: ../../src/Translations/AdminTranslations.php:219
+msgid "To start selling, "
+msgstr "Para começar a vender, basta "
+
+#: ../../src/Translations/AdminTranslations.php:220
+msgid ""
+"in the fields below. If you don’t have credentials yet, you’ll have to "
+"create them from this link."
+msgstr ""
+"nos campos abaixo. Se você ainda não tiver credenciais, terá que criá-las "
+"nesse mesmo link."
+
+#: ../../src/Translations/AdminTranslations.php:221
+msgid "Enable Mercado Pago checkouts for test purchases in the store."
+msgstr "Habilite os checkouts Mercado Pago para testes de compras na loja."
+
+#: ../../src/Translations/AdminTranslations.php:222
+msgid "Enable Mercado Pago checkouts to receive real payments in the store."
+msgstr ""
+"Habilite os checkouts Mercado Pago para receber pagamentos reais na loja."
+
+#: ../../src/Translations/AdminTranslations.php:223
+msgid "Paste your Public Key here"
+msgstr "Cole aqui sua Public Key"
+
+#: ../../src/Translations/AdminTranslations.php:224
+msgid "Paste your Access Token here"
+msgstr "Cole aqui seu Access Token"
+
+#: ../../src/Translations/AdminTranslations.php:225,
+#: ../../src/Translations/AdminTranslations.php:279
+msgid "Save and continue"
+msgstr "Salvar e continuar"
+
+#: ../../src/Translations/AdminTranslations.php:226
+msgid ""
+"You have to enter your production credentials to start selling with Mercado "
+"Pago."
+msgstr ""
+"Você precisa inserir suas credenciais de produção para começar a vender com "
+"o Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:227
+msgid "Enter credentials"
+msgstr "Inserir credenciais"
+
+#: ../../src/Translations/AdminTranslations.php:228
+msgid "Activate your credentials to be able to sell"
+msgstr "Ative suas credenciais para poder vender"
+
+#: ../../src/Translations/AdminTranslations.php:229
+msgid ""
+"Credentials are codes that you must enter to enable sales. Go below on "
+"Activate Credentials. On the next screen, use again the Activate Credentials "
+"button and fill in the fields with the requested information."
+msgstr ""
+"Credenciais são códigos que você deve inserir para ativar as vendas. Vá "
+"abaixo em Ativar Credenciais. Na próxima tela, utilize novamente o botão "
+"Ativar Credenciais e preencha os campos com as informações solicitadas."
+
+#: ../../src/Translations/AdminTranslations.php:230
+msgid "Activate credentials"
+msgstr "Ativar credenciais"
+
+#: ../../src/Translations/AdminTranslations.php:231
+msgid "copy and paste your production credentials "
+msgstr "copiar e colar suas credenciais de produção "
+
+#: ../../src/Translations/AdminTranslations.php:244
+msgid "Add the URL to receive payments notifications."
+msgstr "Insira a URL para receber notificações de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:245
+msgid "Find out more information in the"
+msgstr "Confira mais informações nos"
+
+#: ../../src/Translations/AdminTranslations.php:247
+msgid "guides"
+msgstr "manuais"
+
+#: ../../src/Translations/AdminTranslations.php:252
+msgid ""
+"If you are a Mercado Pago Certified Partner, make sure to add your "
+"integrator_id."
+msgstr ""
+"Se você é Parceiro certificado do Mercado Pago, não esqueça de inserir seu "
+"integrator_id."
+
+#: ../../src/Translations/AdminTranslations.php:253
+msgid "If you do not have the code, please"
+msgstr "Se você não possui o código, por favor"
+
+#: ../../src/Translations/AdminTranslations.php:255
+msgid "request it now"
+msgstr "solicite agora"
+
+#: ../../src/Translations/AdminTranslations.php:259
+msgid "2. Customize your business’ information"
+msgstr "2. Personalize as informações da sua loja"
+
+#: ../../src/Translations/AdminTranslations.php:260
+msgid "Your store information"
+msgstr "Informações sobre sua loja"
+
+#: ../../src/Translations/AdminTranslations.php:261
+msgid "Advanced integration options (optional)"
+msgstr "Opções avançadas de integração (opcional)"
+
+#: ../../src/Translations/AdminTranslations.php:262
+msgid "Debug and Log Mode"
+msgstr "Modo debug e log"
+
+#: ../../src/Translations/AdminTranslations.php:263
+msgid ""
+"Fill out the following details to have a better experience and offer your "
+"customers more information."
+msgstr ""
+"Preencha os dados a seguir para oferecer uma experiência melhor e dê mais "
+"informações aos seus clientes."
+
+#: ../../src/Translations/AdminTranslations.php:264
+msgid "Name of your store in your client's invoice"
+msgstr "Nome da sua loja na fatura dos clientes"
+
+#: ../../src/Translations/AdminTranslations.php:265
+msgid "Identification in Activities of Mercado Pago"
+msgstr "Identificação em Atividades do Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:266
+msgid ""
+"For further integration of your store with Mercado Pago (IPN, Certified "
+"Partners, Debug Mode)"
+msgstr ""
+"Para mais integração da sua loja com o Mercado Pago (IPN, Parceiros "
+"Certificados, Modo Debug)"
+
+#: ../../src/Translations/AdminTranslations.php:267
+msgid "Store category"
+msgstr "Categoria da loja"
+
+#: ../../src/Translations/AdminTranslations.php:268
+msgid "URL for IPN"
+msgstr "URL para IPN"
+
+#: ../../src/Translations/AdminTranslations.php:269
+msgid "Integrator ID"
+msgstr "Integrator ID"
+
+#: ../../src/Translations/AdminTranslations.php:270
+msgid "We record your store's actions in order to provide a better assistance."
+msgstr "Gravamos ações da sua loja para proporcionar melhor suporte."
+
+#: ../../src/Translations/AdminTranslations.php:271
+msgid "Ex: Mary's Store"
+msgstr "Ex.: Loja da Maria"
+
+#: ../../src/Translations/AdminTranslations.php:272
+msgid "Ex: Mary Store"
+msgstr "Ex.: LojaMaria"
+
+#: ../../src/Translations/AdminTranslations.php:273,
+#: ../../src/Translations/AdminTranslations.php:1304
+msgid "Select"
+msgstr "Selecionar"
+
+#: ../../src/Translations/AdminTranslations.php:274
+msgid "Ex: https://examples.com/my-custom-ipn-url"
+msgstr "Ex.: https://examples.com/my-custom-ipn-url"
+
+#: ../../src/Translations/AdminTranslations.php:275
+msgid "Add plugin default params"
+msgstr "Adicionar parâmetros padrão do plugin"
+
+#: ../../src/Translations/AdminTranslations.php:276
+msgid "Ex: 14987126498"
+msgstr "Ex.: 14987126498"
+
+#: ../../src/Translations/AdminTranslations.php:277
+msgid "Show advanced options"
+msgstr "Ver opções avançadas"
+
+#: ../../src/Translations/AdminTranslations.php:278
+msgid "Hide advanced options"
+msgstr "Esconder opções avançadas"
+
+#: ../../src/Translations/AdminTranslations.php:280
+msgid ""
+"If this field is empty, the purchase will be identified as Mercado Pago."
+msgstr ""
+"Se o campo estiver vazio, a compra do cliente será identificada como Mercado "
+"Pago."
+
+#: ../../src/Translations/AdminTranslations.php:281
+msgid "In Activities, you will view this term before the order number"
+msgstr "Nas Ativades você verá o termo inserido antes do número do pedido"
+
+#: ../../src/Translations/AdminTranslations.php:282
+msgid ""
+"Select \"Other categories\" if you do not find the appropriate category."
+msgstr "Selecione ”Other categories” caso não encontre uma categoria adequada."
+
+#: ../../src/Translations/AdminTranslations.php:283
+msgid "request it now."
+msgstr "solicite agora."
+
+#: ../../src/Translations/AdminTranslations.php:286
+msgid "Order tracking"
+msgstr "Monitoramento de pedidos"
+
+#: ../../src/Translations/AdminTranslations.php:287
+msgid ""
+"We will keep your Mercado Pago orders updated every hour. We recommend "
+"activating this option only in the event of automatic order update failures."
+msgstr ""
+"Manteremos seus pedidos do Mercado Pago atualizados a cada hora. "
+"Recomendamos ativar essa opção somente no caso de falhas na atualização "
+"automática de pedidos."
+
+#: ../../src/Translations/AdminTranslations.php:299
+msgid "3. Activate and set up payment methods"
+msgstr "3. Ative e configure os meios de pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:300
+msgid ""
+"Select the payment method you want to appear in your store to activate and "
+"set it up."
+msgstr ""
+"Selecione o meio de pagamento que você quer que seja mostrado na sua loja "
+"para ativá-lo e configurá-lo."
+
+#: ../../src/Translations/AdminTranslations.php:301
+msgid "Settings"
+msgstr "Configurar"
+
+#: ../../src/Translations/AdminTranslations.php:302
+msgid "Continue"
+msgstr "Continuar"
+
+#: ../../src/Translations/AdminTranslations.php:303
+msgid "Enabled"
+msgstr "Ativado"
+
+#: ../../src/Translations/AdminTranslations.php:304
+msgid "Disabled"
+msgstr "Inativo"
+
+#: ../../src/Translations/AdminTranslations.php:305
+msgid "Configure your credentials to enable Mercado Pago payment methods."
+msgstr ""
+"Configure suas credenciais para ativar os métodos de pagamento do Mercado "
+"Pago."
+
+#: ../../src/Translations/AdminTranslations.php:318,
+#: ../../src/Translations/AdminTranslations.php:324
+msgid "The checkout is"
+msgstr "O checkout está"
+
+#: ../../src/Translations/AdminTranslations.php:319,
+#: ../../src/Translations/AdminTranslations.php:331,
+#: ../../src/Translations/AdminTranslations.php:447,
+#: ../../src/Translations/AdminTranslations.php:459,
+#: ../../src/Translations/AdminTranslations.php:471,
+#: ../../src/Translations/AdminTranslations.php:582,
+#: ../../src/Translations/AdminTranslations.php:594,
+#: ../../src/Translations/AdminTranslations.php:606,
+#: ../../src/Translations/AdminTranslations.php:683,
+#: ../../src/Translations/AdminTranslations.php:745,
+#: ../../src/Translations/AdminTranslations.php:805,
+#: ../../src/Translations/AdminTranslations.php:817,
+#: ../../src/Translations/AdminTranslations.php:917
+msgid "enabled"
+msgstr "ativo"
+
+#: ../../src/Translations/AdminTranslations.php:325,
+#: ../../src/Translations/AdminTranslations.php:337,
+#: ../../src/Translations/AdminTranslations.php:453,
+#: ../../src/Translations/AdminTranslations.php:465,
+#: ../../src/Translations/AdminTranslations.php:477,
+#: ../../src/Translations/AdminTranslations.php:588,
+#: ../../src/Translations/AdminTranslations.php:600,
+#: ../../src/Translations/AdminTranslations.php:612,
+#: ../../src/Translations/AdminTranslations.php:689,
+#: ../../src/Translations/AdminTranslations.php:751,
+#: ../../src/Translations/AdminTranslations.php:811,
+#: ../../src/Translations/AdminTranslations.php:823,
+#: ../../src/Translations/AdminTranslations.php:910,
+#: ../../src/Translations/AdminTranslations.php:923
+msgid "disabled"
+msgstr "inativo"
+
+#: ../../src/Translations/AdminTranslations.php:330,
+#: ../../src/Translations/AdminTranslations.php:336,
+#: ../../src/Translations/AdminTranslations.php:470,
+#: ../../src/Translations/AdminTranslations.php:476,
+#: ../../src/Translations/AdminTranslations.php:593,
+#: ../../src/Translations/AdminTranslations.php:599,
+#: ../../src/Translations/AdminTranslations.php:682,
+#: ../../src/Translations/AdminTranslations.php:688,
+#: ../../src/Translations/AdminTranslations.php:744,
+#: ../../src/Translations/AdminTranslations.php:750,
+#: ../../src/Translations/AdminTranslations.php:816,
+#: ../../src/Translations/AdminTranslations.php:822,
+#: ../../src/Translations/AdminTranslations.php:916,
+#: ../../src/Translations/AdminTranslations.php:922
+msgid "Currency conversion is"
+msgstr "Conversão de moeda está"
+
+#: ../../src/Translations/AdminTranslations.php:342,
+#: ../../src/Translations/AdminTranslations.php:348
+msgid "The buyer"
+msgstr "O comprador"
+
+#: ../../src/Translations/AdminTranslations.php:343
+msgid "will be automatically redirected to the store"
+msgstr "será redirecionado automaticamente à loja"
+
+#: ../../src/Translations/AdminTranslations.php:349
+msgid "will not be automatically redirected to the store"
+msgstr "não será redirecionado automaticamente à loja"
+
+#: ../../src/Translations/AdminTranslations.php:355,
+#: ../../src/Translations/AdminTranslations.php:361,
+#: ../../src/Translations/AdminTranslations.php:617,
+#: ../../src/Translations/AdminTranslations.php:623
+msgid "Pending payments"
+msgstr "Pagamentos pendentes"
+
+#: ../../src/Translations/AdminTranslations.php:356,
+#: ../../src/Translations/AdminTranslations.php:618
+msgid "will be automatically declined"
+msgstr "serão recusados automaticamente"
+
+#: ../../src/Translations/AdminTranslations.php:362,
+#: ../../src/Translations/AdminTranslations.php:624
+msgid "will not be automatically declined"
+msgstr "não serão recusados automaticamente"
+
+#: ../../src/Translations/AdminTranslations.php:366,
+#: ../../src/Translations/AdminTranslations.php:381
+msgid "Your saved cards or money available in Mercado Pago"
+msgstr "Seus cartões salvos ou dinheiro no Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:367,
+#: ../../src/Translations/AdminTranslations.php:369
+msgid "Your clients finalize their payments in Mercado Pago."
+msgstr "Seus clientes concluem o pagamento no Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:368,
+#: ../../src/Translations/AdminTranslations.php:483
+msgid "Mercado Pago - Checkout Pro"
+msgstr "Mercado Pago - Checkout Pro"
+
+#: ../../src/Translations/AdminTranslations.php:370
+msgid "Checkout Pro"
+msgstr "Checkout Pro"
+
+#: ../../src/Translations/AdminTranslations.php:371
+msgid ""
+"With Checkout Pro you sell with all the safety inside Mercado Pago "
+"environment."
+msgstr ""
+"Com o Checkout Pro, você vende com toda a segurança, no ambiente do Mercado "
+"Pago."
+
+#: ../../src/Translations/AdminTranslations.php:372,
+#: ../../src/Translations/AdminTranslations.php:487,
+#: ../../src/Translations/AdminTranslations.php:698,
+#: ../../src/Translations/AdminTranslations.php:760,
+#: ../../src/Translations/AdminTranslations.php:841,
+#: ../../src/Translations/AdminTranslations.php:934
+msgid "Mercado Pago plugin general settings"
+msgstr "Configurações gerais do plugin do Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:373,
+#: ../../src/Translations/AdminTranslations.php:488,
+#: ../../src/Translations/AdminTranslations.php:635,
+#: ../../src/Translations/AdminTranslations.php:699,
+#: ../../src/Translations/AdminTranslations.php:761,
+#: ../../src/Translations/AdminTranslations.php:842,
+#: ../../src/Translations/AdminTranslations.php:935
+msgid ""
+"Set the deadlines and fees, test your store or access the Plugin manual."
+msgstr "Ajuste taxas e prazos, teste sua loja ou acesso o manual do plugin."
+
+#: ../../src/Translations/AdminTranslations.php:374,
+#: ../../src/Translations/AdminTranslations.php:489,
+#: ../../src/Translations/AdminTranslations.php:636,
+#: ../../src/Translations/AdminTranslations.php:700,
+#: ../../src/Translations/AdminTranslations.php:762,
+#: ../../src/Translations/AdminTranslations.php:843,
+#: ../../src/Translations/AdminTranslations.php:936
+msgid "Go to Settings"
+msgstr "Ir para configurações"
+
+#: ../../src/Translations/AdminTranslations.php:375,
+#: ../../src/Translations/AdminTranslations.php:637,
+#: ../../src/Translations/AdminTranslations.php:844,
+#: ../../src/Translations/AdminTranslations.php:937
+msgid "Enable the checkout"
+msgstr "Ativar o checkout"
+
+#: ../../src/Translations/AdminTranslations.php:376
+msgid ""
+"By disabling it, you will disable all payments from Mercado Pago Checkout at "
+"Mercado Pago website by redirect."
+msgstr ""
+"Ao desativar, você desabilita todos os meios de pagamentos para o checkout "
+"com redirecionamento no site do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:379,
+#: ../../src/Translations/AdminTranslations.php:641,
+#: ../../src/Translations/AdminTranslations.php:705,
+#: ../../src/Translations/AdminTranslations.php:767,
+#: ../../src/Translations/AdminTranslations.php:848
+msgid "Title in the store Checkout"
+msgstr "Título no checkout da loja"
+
+#: ../../src/Translations/AdminTranslations.php:380,
+#: ../../src/Translations/AdminTranslations.php:642,
+#: ../../src/Translations/AdminTranslations.php:706,
+#: ../../src/Translations/AdminTranslations.php:768,
+#: ../../src/Translations/AdminTranslations.php:849
+msgid "Change the display text in Checkout, maximum characters: 85"
+msgstr ""
+"É possível modificar o título dentro da sua loja. Caracteres máximos: 85"
+
+#: ../../src/Translations/AdminTranslations.php:382,
+#: ../../src/Translations/AdminTranslations.php:501,
+#: ../../src/Translations/AdminTranslations.php:644,
+#: ../../src/Translations/AdminTranslations.php:708,
+#: ../../src/Translations/AdminTranslations.php:770,
+#: ../../src/Translations/AdminTranslations.php:851,
+#: ../../src/Translations/AdminTranslations.php:944
+msgid "The text inserted here will not be translated to other languages"
+msgstr "O texto inserido aqui não será traduzido para outras línguas"
+
+#: ../../src/Translations/AdminTranslations.php:383,
+#: ../../src/Translations/AdminTranslations.php:502,
+#: ../../src/Translations/AdminTranslations.php:648,
+#: ../../src/Translations/AdminTranslations.php:709,
+#: ../../src/Translations/AdminTranslations.php:771,
+#: ../../src/Translations/AdminTranslations.php:865,
+#: ../../src/Translations/AdminTranslations.php:945
+msgid "Convert Currency"
+msgstr "Converter moeda"
+
+#: ../../src/Translations/AdminTranslations.php:384,
+#: ../../src/Translations/AdminTranslations.php:503,
+#: ../../src/Translations/AdminTranslations.php:649,
+#: ../../src/Translations/AdminTranslations.php:710,
+#: ../../src/Translations/AdminTranslations.php:772,
+#: ../../src/Translations/AdminTranslations.php:866,
+#: ../../src/Translations/AdminTranslations.php:946
+msgid ""
+"Activate this option so that the value of the currency set in WooCommerce is "
+"compatible with the value of the currency you use in Mercado Pago."
+msgstr ""
+"Ative esta opção para que o valor da moeda configurada no WooCommerce seja "
+"compatível ao valor da moeda que você usa no Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:387
+msgid "Choose the payment methods you accept in your store"
+msgstr "Escolha os meios de pagamento aceitos na loja"
+
+#: ../../src/Translations/AdminTranslations.php:388
+msgid "Enable the payment methods available to your clients."
+msgstr "Habilite os meios de pagamento disponíveis para os seus clientes."
+
+#: ../../src/Translations/AdminTranslations.php:389
+msgid "Credit Cards"
+msgstr "Cartões de crédito"
+
+#: ../../src/Translations/AdminTranslations.php:390
+msgid "Debit Cards"
+msgstr "Cartões de débito"
+
+#: ../../src/Translations/AdminTranslations.php:391
+msgid "Other Payment Methods"
+msgstr "Outros meios"
+
+#: ../../src/Translations/AdminTranslations.php:392
+msgid "Maximum number of installments"
+msgstr "Máximo de parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:393
+msgid "What is the maximum quota with which a customer can buy?"
+msgstr ""
+"Qual é o número máximo de vezes que um cliente pode parcelar sua compra?"
+
+#: ../../src/Translations/AdminTranslations.php:394
+msgid "1 installment"
+msgstr "1 parcela"
+
+#: ../../src/Translations/AdminTranslations.php:395
+msgid "2 installments"
+msgstr "2 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:396
+msgid "3 installments"
+msgstr "3 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:397
+msgid "4 installments"
+msgstr "4 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:398
+msgid "5 installments"
+msgstr "5 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:399
+msgid "6 installments"
+msgstr "6 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:400
+msgid "10 installments"
+msgstr "10 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:401
+msgid "12 installments"
+msgstr "12 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:402
+msgid "15 installments"
+msgstr "15 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:403
+msgid "18 installments"
+msgstr "18 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:404
+msgid "24 installments"
+msgstr "24 parcelas"
+
+#: ../../src/Translations/AdminTranslations.php:405,
+#: ../../src/Translations/AdminTranslations.php:516,
+#: ../../src/Translations/AdminTranslations.php:949
+msgid "Advanced settings"
+msgstr "Configuração Avançada"
+
+#: ../../src/Translations/AdminTranslations.php:406,
+#: ../../src/Translations/AdminTranslations.php:517,
+#: ../../src/Translations/AdminTranslations.php:658,
+#: ../../src/Translations/AdminTranslations.php:716,
+#: ../../src/Translations/AdminTranslations.php:776,
+#: ../../src/Translations/AdminTranslations.php:873,
+#: ../../src/Translations/AdminTranslations.php:950
+msgid ""
+"Edit these advanced fields only when you want to modify the preset values."
+msgstr ""
+"Edite estes campos avançados da experiência de pagamento somente quando "
+"quiser alterar os valores pré-definidos."
+
+#: ../../src/Translations/AdminTranslations.php:407
+msgid "Payment experience"
+msgstr "Experiência de pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:408
+msgid ""
+"Define what payment experience your customers will have, whether inside or "
+"outside your store."
+msgstr ""
+"Defina qual experiência de pagamento seus clientes terão se dentro ou fora "
+"da sua loja."
+
+#: ../../src/Translations/AdminTranslations.php:409
+msgid "Redirect"
+msgstr "Redirect"
+
+#: ../../src/Translations/AdminTranslations.php:410
+msgid "Modal"
+msgstr "Modal"
+
+#: ../../src/Translations/AdminTranslations.php:411
+msgid "Return to the store"
+msgstr "Voltar à loja"
+
+#: ../../src/Translations/AdminTranslations.php:412
+msgid ""
+"Do you want your customer to automatically return to the store after payment?"
+msgstr ""
+"Deseja que seu cliente retorne automaticamente à loja após o pagamento?"
+
+#: ../../src/Translations/AdminTranslations.php:415
+msgid "Success URL"
+msgstr "URL de sucesso"
+
+#: ../../src/Translations/AdminTranslations.php:416
+msgid ""
+"Choose the URL that we will show your customers when they finish their "
+"purchase."
+msgstr ""
+"Selecione a URL que mostraremos aos seus clientes quando concluirem a compra."
+
+#: ../../src/Translations/AdminTranslations.php:417
+msgid "Payment URL rejected"
+msgstr "URL de pagamento recusado"
+
+#: ../../src/Translations/AdminTranslations.php:418
+msgid ""
+"Choose the URL that we will show to your customers when we refuse their "
+"purchase. Make sure it includes a message appropriate to the situation and "
+"give them useful information so they can solve it."
+msgstr ""
+"Selecione a URL que mostraremos aos seus clientes quando recusarmos a "
+"compra. Certifique-se de incluir uma mensagem adequada à situação e dê "
+"informações úteis para que eles possam solucionar a questão."
+
+#: ../../src/Translations/AdminTranslations.php:419
+msgid "Payment URL pending"
+msgstr "URL de pagamento pendente"
+
+#: ../../src/Translations/AdminTranslations.php:420
+msgid ""
+"Choose the URL that we will show to your customers when they have a payment "
+"pending approval."
+msgstr ""
+"Selecione a URL que mostraremos aos seus clientes quando tiverem um "
+"pagamento pendente de aprovação."
+
+#: ../../src/Translations/AdminTranslations.php:421,
+#: ../../src/Translations/AdminTranslations.php:659
+msgid "Automatic decline of payments without instant approval"
+msgstr "Recusa automática de pagamentos sem aprovação instantânea"
+
+#: ../../src/Translations/AdminTranslations.php:422,
+#: ../../src/Translations/AdminTranslations.php:660
+msgid ""
+"Enable it if you want to automatically decline payments that are not "
+"instantly approved by banks or other institutions."
+msgstr ""
+"Ative se quiser recusar automaticamente pagamentos que não são aprovados "
+"instantaneamente por bancos ou outros adquirentes."
+
+#: ../../src/Translations/AdminTranslations.php:423
+msgid "Debit, Credit and Invoice in Mercado Pago environment."
+msgstr "Pix, débito, crédito e boleto, no ambiente do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:426,
+#: ../../src/Translations/AdminTranslations.php:518,
+#: ../../src/Translations/AdminTranslations.php:663,
+#: ../../src/Translations/AdminTranslations.php:725,
+#: ../../src/Translations/AdminTranslations.php:785,
+#: ../../src/Translations/AdminTranslations.php:874,
+#: ../../src/Translations/AdminTranslations.php:951
+msgid "Discount in Mercado Pago Checkouts"
+msgstr "Desconto nos checkouts Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:427,
+#: ../../src/Translations/AdminTranslations.php:519,
+#: ../../src/Translations/AdminTranslations.php:664,
+#: ../../src/Translations/AdminTranslations.php:726,
+#: ../../src/Translations/AdminTranslations.php:786,
+#: ../../src/Translations/AdminTranslations.php:875,
+#: ../../src/Translations/AdminTranslations.php:952
+msgid ""
+"Choose a percentage value that you want to discount your customers for "
+"paying with Mercado Pago."
+msgstr ""
+"Selecione um valor percentual que quiser descontar para seus clientes por "
+"pagar com Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:428,
+#: ../../src/Translations/AdminTranslations.php:431,
+#: ../../src/Translations/AdminTranslations.php:520,
+#: ../../src/Translations/AdminTranslations.php:523,
+#: ../../src/Translations/AdminTranslations.php:665,
+#: ../../src/Translations/AdminTranslations.php:668,
+#: ../../src/Translations/AdminTranslations.php:727,
+#: ../../src/Translations/AdminTranslations.php:730,
+#: ../../src/Translations/AdminTranslations.php:787,
+#: ../../src/Translations/AdminTranslations.php:790,
+#: ../../src/Translations/AdminTranslations.php:876,
+#: ../../src/Translations/AdminTranslations.php:879,
+#: ../../src/Translations/AdminTranslations.php:953,
+#: ../../src/Translations/AdminTranslations.php:956
+msgid "Activate and show this information on Mercado Pago Checkout"
+msgstr "Ativar e mostrar essa informação no checkout Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:429,
+#: ../../src/Translations/AdminTranslations.php:521,
+#: ../../src/Translations/AdminTranslations.php:666,
+#: ../../src/Translations/AdminTranslations.php:728,
+#: ../../src/Translations/AdminTranslations.php:788,
+#: ../../src/Translations/AdminTranslations.php:877,
+#: ../../src/Translations/AdminTranslations.php:954
+msgid "Commission in Mercado Pago Checkouts"
+msgstr "Comissão nos checkouts Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:430,
+#: ../../src/Translations/AdminTranslations.php:522,
+#: ../../src/Translations/AdminTranslations.php:667,
+#: ../../src/Translations/AdminTranslations.php:729,
+#: ../../src/Translations/AdminTranslations.php:789,
+#: ../../src/Translations/AdminTranslations.php:878,
+#: ../../src/Translations/AdminTranslations.php:955
+msgid ""
+"Choose an additional percentage value that you want to charge as commission "
+"to your customers for paying with Mercado Pago."
+msgstr ""
+"Selecione um valor percentual adicional que quiser cobrar como tarifa dos "
+"seus clientes por pagar com Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:432
+msgid "This seems to be an invalid URL"
+msgstr "Esta parece ser uma URL inválida"
+
+#: ../../src/Translations/AdminTranslations.php:446,
+#: ../../src/Translations/AdminTranslations.php:452
+msgid "“Installments without cards through Mercado Pago” is"
+msgstr "“Linha de Crédito Mercado Pago“ está"
+
+#: ../../src/Translations/AdminTranslations.php:458,
+#: ../../src/Translations/AdminTranslations.php:464
+msgid "“Up to 12 installments without cards through Mercado Pago” is"
+msgstr "“Até 12x sem cartão com a Linha de Crédito” está"
+
+#: ../../src/Translations/AdminTranslations.php:481
+msgid "Installments without cards through Mercado Pago"
+msgstr "Linha de Crédito Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:482,
+#: ../../src/Translations/AdminTranslations.php:484
+msgid "Your customers finish their payments on Mercado Pago."
+msgstr "Seus clientes concluem os pagamentos no Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:485
+msgid "Up to 12 installments without cards through Mercado Pago"
+msgstr "Linha de Crédito Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:486
+msgid ""
+"With this alternative, you’ll be able to sell in installments without cards "
+"and receive the money immediately with the same fees as with credit cards. "
+"Your sales are protected and guaranteed by Mercado Pago."
+msgstr ""
+"Com essa alternativa, você pode vender parcelado sem cartão e receber o "
+"dinheiro na hora com as mesmas taxas do cartão de crédito. Suas vendas são "
+"protegidas e garantidas pelo Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:490
+msgid "Activate the installments without cards in the checkout"
+msgstr "Ativar opção de pagamento sem cartão no checkout"
+
+#: ../../src/Translations/AdminTranslations.php:491
+msgid ""
+"Activate this feature to reach more buyers. It will be available in your "
+"store's checkout."
+msgstr ""
+"Ative este recurso para alcançar mais compradores. Ele estará disponível no "
+"checkout da sua loja."
+
+#: ../../src/Translations/AdminTranslations.php:494
+msgid "Checkout visualization"
+msgstr "Visualização no checkout"
+
+#: ../../src/Translations/AdminTranslations.php:495
+msgid "Check below how this feature will be displayed to your customers:"
+msgstr "Confira como aparecerá este recurso para seus clientes:"
+
+#: ../../src/Translations/AdminTranslations.php:496
+msgid "Checkout Preview"
+msgstr "Visualização no checkout"
+
+#: ../../src/Translations/AdminTranslations.php:497
+msgid "PREVIEW"
+msgstr "PRÉ-VISUALIZAÇÃO"
+
+#: ../../src/Translations/AdminTranslations.php:498
+msgid "Title in the checkout"
+msgstr "Título no checkout"
+
+#: ../../src/Translations/AdminTranslations.php:499
+msgid "We recommend using the default title. Maximum characters: 85."
+msgstr "Recomendamos que você use o título padrão. Máximo de caracteres: 85."
+
+#: ../../src/Translations/AdminTranslations.php:500
+msgid "Checkout without card"
+msgstr "Parcelado sem cartão com Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:506
+msgid "Promote the payment of your products with Mercado Pago"
+msgstr ""
+"Promova o pagamento dos seus produtos com a Linha de Crédito Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:507
+msgid ""
+"Activate this promotional banner to offer the option of paying in "
+"installments without cards through Mercado Pago within product pages."
+msgstr ""
+"Ative esse banner promocional para oferecer a opção de pagamento parcelado "
+"sem cartão com a Linha de Crédito na página do seu produto."
+
+#: ../../src/Translations/AdminTranslations.php:510
+msgid "Banner on the product page | Computer version"
+msgstr "Informativo na página do produto | Versão para computador"
+
+#: ../../src/Translations/AdminTranslations.php:511
+msgid "Banner on the product page | Cellphone version"
+msgstr "Informativo na página do produto | Versão para celular"
+
+#: ../../src/Translations/AdminTranslations.php:512
+msgid "Computer"
+msgstr "Computador"
+
+#: ../../src/Translations/AdminTranslations.php:513
+msgid "Mobile"
+msgstr "Celular"
+
+#: ../../src/Translations/AdminTranslations.php:514
+msgid "Display in your product pages"
+msgstr "Visualização na página dos seus produtos"
+
+#: ../../src/Translations/AdminTranslations.php:515
+msgid ""
+"Below you can preview how the banner will be displayed to your customers:"
+msgstr "Abaixo, você verá como o banner aparecerá para os seus clientes:"
+
+#: ../../src/Translations/AdminTranslations.php:524
+msgid "Choose how to promote “Pagos sin Tarjeta de Mercado Pago” on your store"
+msgstr "Escolha como divulgar a Linha de Crédito Mercado Pago na sua loja"
+
+#: ../../src/Translations/AdminTranslations.php:525
+msgid ""
+"You can only select one alternative and you may edit it whenever you want."
+msgstr ""
+"Você só pode selecionar uma alternativa e pode alterá-la quando quiser."
+
+#: ../../src/Translations/AdminTranslations.php:526
+msgid "Example:"
+msgstr "Exemplo:"
+
+#: ../../src/Translations/AdminTranslations.php:541,
+#: ../../src/Translations/StoreTranslations.php:196
+msgid "Up to 12 installments without cards"
+msgstr "Até 12x sem cartão"
+
+#: ../../src/Translations/AdminTranslations.php:542,
+#: ../../src/Translations/AdminTranslations.php:548
+msgid "through Mercado Pago. Learn more"
+msgstr "com a Linha de Crédito. Saiba mais"
+
+#: ../../src/Translations/AdminTranslations.php:547,
+#: ../../src/Translations/StoreTranslations.php:202
+msgid "Buy now, pay later"
+msgstr "Compre agora, pague depois"
+
+#: ../../src/Translations/AdminTranslations.php:553,
+#: ../../src/Translations/StoreTranslations.php:208
+msgid "With Mercado Pago,"
+msgstr "Com a Linha de Crédito, "
+
+#: ../../src/Translations/AdminTranslations.php:554,
+#: ../../src/Translations/StoreTranslations.php:209
+msgid "get it now and pay month by month"
+msgstr "você compra agora e paga por mês"
+
+#: ../../src/Translations/AdminTranslations.php:555
+msgid " Learn more"
+msgstr "Saiba mais"
+
+#: ../../src/Translations/AdminTranslations.php:560,
+#: ../../src/Translations/StoreTranslations.php:214
+msgid "Pay in up to 12 installments"
+msgstr "Pague em até 12x"
+
+#: ../../src/Translations/AdminTranslations.php:561
+msgid "without credit card. Learn more"
+msgstr "sem cartão de crédito. Saiba mais"
+
+#: ../../src/Translations/AdminTranslations.php:581,
+#: ../../src/Translations/AdminTranslations.php:587
+msgid "Transparent Checkout for credit cards is"
+msgstr "O Checkout Transparente para cartões de crédito está"
+
+#: ../../src/Translations/AdminTranslations.php:605,
+#: ../../src/Translations/AdminTranslations.php:611
+msgid "Payments via Mercado Pago accounts are"
+msgstr "Pagamentos via conta Mercado Pago estão"
+
+#: ../../src/Translations/AdminTranslations.php:628,
+#: ../../src/Translations/AdminTranslations.php:643
+msgid "Credit and debit cards"
+msgstr "Cartão de crédito e débito"
+
+#: ../../src/Translations/AdminTranslations.php:629,
+#: ../../src/Translations/AdminTranslations.php:631,
+#: ../../src/Translations/AdminTranslations.php:694,
+#: ../../src/Translations/AdminTranslations.php:756,
+#: ../../src/Translations/AdminTranslations.php:836,
+#: ../../src/Translations/AdminTranslations.php:838
+msgid "Payments without leaving your store with our customizable checkout"
+msgstr "Pagamentos sem sair da sua loja com nosso checkout customizável"
+
+#: ../../src/Translations/AdminTranslations.php:630,
+#: ../../src/Translations/AdminTranslations.php:695,
+#: ../../src/Translations/AdminTranslations.php:757,
+#: ../../src/Translations/AdminTranslations.php:837,
+#: ../../src/Translations/AdminTranslations.php:930
+msgid "Mercado Pago - Checkout API"
+msgstr "Mercado Pago - Checkout Transparente"
+
+#: ../../src/Translations/AdminTranslations.php:632
+msgid "Transparent Checkout | Credit card"
+msgstr "Checkout Transparente | Cartão de Crédito"
+
+#: ../../src/Translations/AdminTranslations.php:633
+msgid ""
+"With the Transparent Checkout, you can sell inside your store environment, "
+"without redirection and with the security from Mercado Pago."
+msgstr ""
+"Com o Checkout Transparente, você consegue vender dentro do ambiente da sua "
+"loja, sem redirecionamento, com toda a segurança do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:634
+msgid "Mercado Pago Plugin general settings"
+msgstr "Configurações gerais do plugin do Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:638
+msgid ""
+"By disabling it, you will disable all credit cards payments from Mercado "
+"Pago Transparent Checkout."
+msgstr ""
+"Ao desativar, você desabilita todos os meios de pagamento de cartão de "
+"crédito no Checkout Transparente Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:645
+msgid "Installments Fees"
+msgstr "Taxas de parcelamento"
+
+#: ../../src/Translations/AdminTranslations.php:646
+msgid ""
+"Set installment fees and whether they will be charged from the store or from "
+"the buyer."
+msgstr ""
+"Configure as taxas de parcelamento e se elas serão cobradas da loja ou do "
+"comprador."
+
+#: ../../src/Translations/AdminTranslations.php:647
+msgid "Set fees"
+msgstr "Configurar taxas"
+
+#: ../../src/Translations/AdminTranslations.php:652
+msgid "Payments via Mercado Pago account"
+msgstr "Pagamentos via conta Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:653
+msgid ""
+"Your customers pay faster with saved cards, money balance or other available "
+"methods in their Mercado Pago accounts."
+msgstr ""
+"Seus clientes pagam mais rapidamente com cartões salvos, saldo ou outros "
+"meios disponíveis nas contas MP deles."
+
+#: ../../src/Translations/AdminTranslations.php:656
+msgid "Check an example of how it will appear in your store:"
+msgstr "Confira um exemplo de como vai aparecer na loja:"
+
+#: ../../src/Translations/AdminTranslations.php:657
+msgid "Advanced configuration of the personalized payment experience"
+msgstr "Configuração Avançada"
+
+#: ../../src/Translations/AdminTranslations.php:693,
+#: ../../src/Translations/AdminTranslations.php:707
+msgid "Invoice"
+msgstr "Boleto e lotérica"
+
+#: ../../src/Translations/AdminTranslations.php:696
+msgid "Transparent Checkout | Invoice or Loterica"
+msgstr "Checkout Transparente | Boleto ou lotérica"
+
+#: ../../src/Translations/AdminTranslations.php:697,
+#: ../../src/Translations/AdminTranslations.php:759,
+#: ../../src/Translations/AdminTranslations.php:840
+msgid ""
+"With the Transparent Checkout, you can sell inside your store environment, "
+"without redirection and all the safety from Mercado Pago."
+msgstr ""
+"Com o Checkout Transparente, você consegue vender dentro do ambiente da sua "
+"loja, sem redirecionamento, com toda a segurança do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:701,
+#: ../../src/Translations/AdminTranslations.php:763
+msgid "Enable the Checkout"
+msgstr "Ativar o checkout"
+
+#: ../../src/Translations/AdminTranslations.php:702
+msgid ""
+"By disabling it, you will disable all invoice payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Ao desativar, você desabilita pagamentos por boleto e lotérica no Checkout "
+"Transparente Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:703
+msgid "The transparent checkout for tickets is enabled."
+msgstr "O checkout transparente para boletos está ativo."
+
+#: ../../src/Translations/AdminTranslations.php:704
+msgid "The transparent checkout for tickets is disabled."
+msgstr "O checkout transparente para boletos está inativo."
+
+#: ../../src/Translations/AdminTranslations.php:713
+msgid "Payment Due"
+msgstr "Vencimento do pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:714
+msgid "In how many days will cash payments expire."
+msgstr "Em quantos dias os pagamentos via boleto e em lotéricas vencerão."
+
+#: ../../src/Translations/AdminTranslations.php:715
+msgid "Advanced configuration of the cash payment experience"
+msgstr ""
+"Configuração avançada da experiência de pagamento via boleto e em lotéricas"
+
+#: ../../src/Translations/AdminTranslations.php:717,
+#: ../../src/Translations/AdminTranslations.php:777
+msgid "Reduce inventory"
+msgstr "Reduzir inventário"
+
+#: ../../src/Translations/AdminTranslations.php:718,
+#: ../../src/Translations/AdminTranslations.php:778
+msgid ""
+"Activates inventory reduction during the creation of an order, whether or "
+"not the final payment is credited. Disable this option to reduce it only "
+"when payments are approved."
+msgstr ""
+"Ative a redução de inventário durante a criação de um pedido, seja o "
+"pagamento aprovado ou não. Desative esta opção para reduzi-lo somente quando "
+"os pagamentos estiverem aprovados."
+
+#: ../../src/Translations/AdminTranslations.php:719,
+#: ../../src/Translations/AdminTranslations.php:779
+msgid "Reduce inventory is enabled."
+msgstr "Reduzir inventário está ativo."
+
+#: ../../src/Translations/AdminTranslations.php:720,
+#: ../../src/Translations/AdminTranslations.php:780
+msgid "Reduce inventory is disabled."
+msgstr "Reduzir inventário está inativo."
+
+#: ../../src/Translations/AdminTranslations.php:722,
+#: ../../src/Translations/AdminTranslations.php:782
+msgid "Enable the available payment methods"
+msgstr "Habilite os meios de pagamento disponíveis"
+
+#: ../../src/Translations/AdminTranslations.php:723,
+#: ../../src/Translations/AdminTranslations.php:783
+msgid "Choose the available payment methods in your store."
+msgstr "Habilite os meios de pagamento disponíveis para seus clientes."
+
+#: ../../src/Translations/AdminTranslations.php:724,
+#: ../../src/Translations/AdminTranslations.php:784
+msgid "All payment methods"
+msgstr "Todos os meios de pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:755,
+#: ../../src/Translations/AdminTranslations.php:769
+msgid "PSE"
+msgstr "PSE"
+
+#: ../../src/Translations/AdminTranslations.php:758
+msgid "Transparent Checkout PSE"
+msgstr "Checkout Transparente PSE"
+
+#: ../../src/Translations/AdminTranslations.php:764
+msgid ""
+"By deactivating it, you will disable PSE payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Ao desativar, você desabilita pagamentos por PSE no Checkout Transparente "
+"Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:765
+msgid "The transparent checkout for PSE is enabled."
+msgstr "O checkout transparente para PSE está ativo."
+
+#: ../../src/Translations/AdminTranslations.php:766
+msgid "The transparent checkout for PSE is disabled."
+msgstr "O checkout transparente para PSE está inativo."
+
+#: ../../src/Translations/AdminTranslations.php:775
+msgid "Advanced configuration of the PSE payment experience"
+msgstr "Configuração avançada da experiência de pagamento via PSE"
+
+#: ../../src/Translations/AdminTranslations.php:804,
+#: ../../src/Translations/AdminTranslations.php:810
+msgid "The transparent checkout for Pix payment is"
+msgstr "O checkout transparente para pagamentos com Pix está"
+
+#: ../../src/Translations/AdminTranslations.php:828
+msgid "Go to the"
+msgstr "Acesse a área"
+
+#: ../../src/Translations/AdminTranslations.php:829
+msgid "Your Profile"
+msgstr "Seu Perfil"
+
+#: ../../src/Translations/AdminTranslations.php:830
+msgid "area and choose the"
+msgstr "e escolha a seção"
+
+#: ../../src/Translations/AdminTranslations.php:831
+msgid "Your Pix Keys section"
+msgstr "Suas chaves Pix"
+
+#: ../../src/Translations/AdminTranslations.php:835,
+#: ../../src/Translations/AdminTranslations.php:850
+msgid "Pix"
+msgstr "Pix"
+
+#: ../../src/Translations/AdminTranslations.php:839
+msgid "Transparent Checkout | Pix"
+msgstr "Checkout Transparente | Pix"
+
+#: ../../src/Translations/AdminTranslations.php:845
+msgid ""
+"By disabling it, you will disable all Pix payments from Mercado Pago "
+"Transparent Checkout."
+msgstr ""
+"Ao desativar, você desabilita pagamentos por Pix no Checkout Transparente "
+"Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:852
+msgid "Expiration for payments via Pix"
+msgstr "Vencimento para pagamentos com Pix"
+
+#: ../../src/Translations/AdminTranslations.php:853
+msgid "Set the limit in minutes for your clients to pay via Pix."
+msgstr "Defina o limite de minutos para seus clientes poderem pagar com Pix."
+
+#: ../../src/Translations/AdminTranslations.php:854
+msgid "15 minutes"
+msgstr "15 minutos"
+
+#: ../../src/Translations/AdminTranslations.php:855
+msgid "30 minutes (recommended)"
+msgstr "30 minutos (recomendado)"
+
+#: ../../src/Translations/AdminTranslations.php:856
+msgid "60 minutes"
+msgstr "60 minutos"
+
+#: ../../src/Translations/AdminTranslations.php:857
+msgid "12 hours"
+msgstr "12 horas"
+
+#: ../../src/Translations/AdminTranslations.php:858
+msgid "24 hours"
+msgstr "24 horas"
+
+#: ../../src/Translations/AdminTranslations.php:859
+msgid "2 days"
+msgstr "2 dias"
+
+#: ../../src/Translations/AdminTranslations.php:860
+msgid "3 days"
+msgstr "3 dias"
+
+#: ../../src/Translations/AdminTranslations.php:861
+msgid "4 days"
+msgstr "4 dias"
+
+#: ../../src/Translations/AdminTranslations.php:862
+msgid "5 days"
+msgstr "5 dias"
+
+#: ../../src/Translations/AdminTranslations.php:863
+msgid "6 days"
+msgstr "6 dias"
+
+#: ../../src/Translations/AdminTranslations.php:864
+msgid "7 days"
+msgstr "7 dias"
+
+#: ../../src/Translations/AdminTranslations.php:869
+msgid "Would you like to know how Pix works?"
+msgstr "Quer saber como funciona o Pix?"
+
+#: ../../src/Translations/AdminTranslations.php:870
+msgid ""
+"We have a dedicated page where we explain how it works and its advantages."
+msgstr "Criamos uma página que explica seu funcionamento e vantagens."
+
+#: ../../src/Translations/AdminTranslations.php:871
+msgid "Find out more about Pix"
+msgstr "Saber mais sobre o Pix"
+
+#: ../../src/Translations/AdminTranslations.php:872
+msgid "Advanced configuration of the Pix experience"
+msgstr "Configurações avançadas da experiência de pagamento via Pix"
+
+#: ../../src/Translations/AdminTranslations.php:880
+msgid "To activate Pix, you must have a key registered in Mercado Pago."
+msgstr ""
+"Para ativar o PIX, você precisa ter uma chave cadastrada no Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:881
+msgid "Download the Mercado Pago app on your cell phone."
+msgstr "Baixe o app do Mercado Pago no seu celular."
+
+#: ../../src/Translations/AdminTranslations.php:883
+msgid ""
+"Choose which data to register as Pix keys. After registering, you can set up "
+"Pix in your checkout."
+msgstr ""
+"Escolha quais dados cadastrar como chaves Pix. Após fazer esse cadastro, "
+"você poderá configurar o Pix no seu checkout."
+
+#: ../../src/Translations/AdminTranslations.php:884
+msgid ""
+"Remember that, for the time being, the Central Bank of Brazil is open Monday "
+"through Friday, from 9am to 6pm."
+msgstr ""
+"Lembre-se de que, por enquanto, o Banco Central do Brasil funciona de "
+"segunda a sexta-feira, das 9h às 18h."
+
+#: ../../src/Translations/AdminTranslations.php:885
+msgid ""
+"If you requested your registration outside these hours, we will confirm it "
+"within the next business day."
+msgstr ""
+"Se você solicitou seu cadastro fora desse horário, vamos confirmar no "
+"próximo dia útil."
+
+#: ../../src/Translations/AdminTranslations.php:886
+msgid "Learn more about Pix"
+msgstr "Saber mais sobre o Pix"
+
+#: ../../src/Translations/AdminTranslations.php:887
+msgid ""
+"If you have already registered a Pix key at Mercado Pago and cannot activate "
+"Pix in the checkout, "
+msgstr ""
+"Caso já tenha cadastrado uma chave PIX no Mercado Pago e não consiga ativar "
+"o PIX no checkout, "
+
+#: ../../src/Translations/AdminTranslations.php:888
+msgid "click here."
+msgstr "clique aqui."
+
+#: ../../src/Translations/AdminTranslations.php:902,
+#: ../../src/Translations/AdminTranslations.php:909
+msgid "Checkout API is"
+msgstr "O Checkout API está"
+
+#: ../../src/Translations/AdminTranslations.php:903
+msgid "active"
+msgstr "ativo"
+
+#: ../../src/Translations/AdminTranslations.php:904,
+#: ../../src/Translations/AdminTranslations.php:911
+msgid "for payments with Yape"
+msgstr "para pagamentos com o Yape"
+
+#: ../../src/Translations/AdminTranslations.php:928,
+#: ../../src/Translations/AdminTranslations.php:943
+msgid "Yape"
+msgstr "Yape"
+
+#: ../../src/Translations/AdminTranslations.php:929,
+#: ../../src/Translations/AdminTranslations.php:931
+msgid "Payments without leaving your store with our customizable checkout."
+msgstr "Pagamentos sem sair da sua loja com nosso checkout customizável."
+
+#: ../../src/Translations/AdminTranslations.php:932
+msgid "Checkout API | Yape"
+msgstr "Checkout API | Yape"
+
+#: ../../src/Translations/AdminTranslations.php:933
+msgid ""
+"Receive payments through the Yape app automatically, without redirects, and "
+"with all the security of Mercado Pago. "
+msgstr ""
+"Receba pagamentos através do aplicativo Yape de forma automática, sem "
+"redirecionamentos e com toda a segurança do Mercado Pago. "
+
+#: ../../src/Translations/AdminTranslations.php:938
+msgid ""
+"By disabling it, you will disable Yape from the Mercado Pago Checkout API."
+msgstr ""
+"Ao desativar, você desabilitará o Yape no Checkout API do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:941
+msgid "Title in the website’s checkout"
+msgstr "Título no checkout do site"
+
+#: ../../src/Translations/AdminTranslations.php:942
+msgid ""
+"Enter a title and a description for Yape in your Checkout API , maximum "
+"characters: 85"
+msgstr ""
+"Insira um título e uma descrição para o Yape no seu Checkout API, máximo de "
+"85 caracteres."
+
+#: ../../src/Translations/AdminTranslations.php:970
+msgid "To enable test mode"
+msgstr "Para habilitar o modo teste"
+
+#: ../../src/Translations/AdminTranslations.php:972
+msgid "copy your test credentials"
+msgstr "copie suas credenciais de teste"
+
+#: ../../src/Translations/AdminTranslations.php:973
+msgid "and paste them above in section 1 of this page"
+msgstr "e cole acima na seção 1 desta página"
+
+#: ../../src/Translations/AdminTranslations.php:978
+msgid "Create your"
+msgstr "Crie seu"
+
+#: ../../src/Translations/AdminTranslations.php:980
+msgid "test user"
+msgstr "usuário de teste"
+
+#: ../../src/Translations/AdminTranslations.php:981
+msgid ""
+"(Optional. Can be used in Production Mode and Test Mode, to test payments)"
+msgstr ""
+"(Opcional. Pode ser usado no Modo Produção e Modo teste, para testar "
+"pagamentos)"
+
+#: ../../src/Translations/AdminTranslations.php:987
+msgid "Use our test cards"
+msgstr "Use nossos cartões de teste"
+
+#: ../../src/Translations/AdminTranslations.php:988
+msgid "never use real cards"
+msgstr "nunca use cartões reais"
+
+#: ../../src/Translations/AdminTranslations.php:994
+msgid "Visit your store"
+msgstr "Visite sua loja"
+
+#: ../../src/Translations/AdminTranslations.php:995
+msgid "to test purchases"
+msgstr "para testar compras"
+
+#: ../../src/Translations/AdminTranslations.php:999
+msgid "4. Test your store before you start to sell"
+msgstr "4. Teste sua loja antes de começar a vender"
+
+#: ../../src/Translations/AdminTranslations.php:1000
+msgid "Choose how you want to operate your store:"
+msgstr "Escolha como você quer operar sua loja:"
+
+#: ../../src/Translations/AdminTranslations.php:1001
+msgid "Test Mode"
+msgstr "Modo Teste"
+
+#: ../../src/Translations/AdminTranslations.php:1002
+msgid "Sale Mode (Production)"
+msgstr "Modo Vendas (Produção)"
+
+#: ../../src/Translations/AdminTranslations.php:1003
+msgid "Mercado Pago payment methods in Production Mode"
+msgstr "Meios de pagamento Mercado Pago em Modo Produção"
+
+#: ../../src/Translations/AdminTranslations.php:1004
+msgid "Mercado Pago payment methods in Test Mode"
+msgstr "Meios de pagamento Mercado Pago em Modo Teste"
+
+#: ../../src/Translations/AdminTranslations.php:1005
+msgid "Enter test credentials"
+msgstr "Insira as credenciais de teste"
+
+#: ../../src/Translations/AdminTranslations.php:1006
+msgid ""
+"Select “Test Mode” if you want to try the payment experience before you "
+"start to sell or “Sales Mode” (Production) to start now."
+msgstr ""
+"Selecione o “Modo Teste” se quiser testar a experiência de pagamento antes "
+"de começar a vender ou o “Modo Vendas” (Produção) para começar a vender "
+"agora mesmo."
+
+#: ../../src/Translations/AdminTranslations.php:1007
+msgid "Mercado Pago Checkouts disabled for real collections."
+msgstr "Checkouts Mercado Pago inativos para cobranças reais."
+
+#: ../../src/Translations/AdminTranslations.php:1008
+msgid "Test Mode rules."
+msgstr "Consulte as regras do modo teste."
+
+#: ../../src/Translations/AdminTranslations.php:1009
+msgid "Mercado Pago Checkouts enabled for real collections."
+msgstr "Checkouts Mercado Pago ativos para cobranças reais."
+
+#: ../../src/Translations/AdminTranslations.php:1010
+msgid "The clients can make real purchases in your store."
+msgstr "Clientes podem fazer compras reais na sua loja."
+
+#: ../../src/Translations/AdminTranslations.php:1015
+msgid "Store in sale mode (Production)"
+msgstr "Loja em Modo Vendas (Produção)"
+
+#: ../../src/Translations/AdminTranslations.php:1016
+msgid "Store under test"
+msgstr "Loja em Modo Teste"
+
+#: ../../src/Translations/AdminTranslations.php:1017
+msgid "Save changes"
+msgstr "Salvar mudanças"
+
+#: ../../src/Translations/AdminTranslations.php:1029
+msgid "Store business fields are valid"
+msgstr "Os campos de negócio são válidos"
+
+#: ../../src/Translations/AdminTranslations.php:1030
+msgid "Store business fields could not be validated"
+msgstr "Os campos de negócio não puderam ser validados"
+
+#: ../../src/Translations/AdminTranslations.php:1031
+msgid "At least one payment method is enabled"
+msgstr "Pelo menos um meio de pagamento está ativado"
+
+#: ../../src/Translations/AdminTranslations.php:1032
+msgid "No payment method enabled"
+msgstr "Nenhum meio de pagamento ativada"
+
+#: ../../src/Translations/AdminTranslations.php:1033
+msgid "Credentials fields are valid"
+msgstr "Os campos de credenciais são válidos"
+
+#: ../../src/Translations/AdminTranslations.php:1034
+msgid "Credentials fields could not be validated"
+msgstr "Os campos de credenciais não puderam ser validados"
+
+#: ../../src/Translations/AdminTranslations.php:1046
+msgid "Valid Public Key"
+msgstr "Public key válida"
+
+#: ../../src/Translations/AdminTranslations.php:1047
+msgid "Invalid Public Key"
+msgstr "Public key inválida"
+
+#: ../../src/Translations/AdminTranslations.php:1048
+msgid "Valid Access Token"
+msgstr "Access token válido"
+
+#: ../../src/Translations/AdminTranslations.php:1049
+msgid "Invalid Access Token"
+msgstr "Access token inválido"
+
+#: ../../src/Translations/AdminTranslations.php:1061
+msgid "Credentials were updated"
+msgstr "As credenciais foram atualizadas"
+
+#: ../../src/Translations/AdminTranslations.php:1062
+msgid ""
+"Your store has exited Test Mode and is making real sales in Production Mode."
+msgstr ""
+"Sua loja saiu do Modo Teste e está fazendo vendas reais no Modo Produção."
+
+#: ../../src/Translations/AdminTranslations.php:1063
+msgid "To test the store, re-enter both test credentials."
+msgstr "Para testar a loja, insira novamente as duas credenciais de teste."
+
+#: ../../src/Translations/AdminTranslations.php:1064
+msgid "Invalid credentials"
+msgstr "Credenciais inválidas"
+
+#: ../../src/Translations/AdminTranslations.php:1065
+msgid "See our manual to learn"
+msgstr "Consulte nosso manual para saber"
+
+#: ../../src/Translations/AdminTranslations.php:1066
+msgid "how to enter the credentials the right way."
+msgstr "como inserir as credenciais da maneira correta."
+
+#: ../../src/Translations/AdminTranslations.php:1067
+msgid " for test mode"
+msgstr " para o modo teste"
+
+#: ../../src/Translations/AdminTranslations.php:1079
+msgid "Store information is valid"
+msgstr "As informações sobre a loja são válidas"
+
+#: ../../src/Translations/AdminTranslations.php:1092
+msgid "Attention:"
+msgstr "Atenção:"
+
+#: ../../src/Translations/AdminTranslations.php:1093
+msgid ""
+"The currency settings you have in WooCommerce are not compatible with the "
+"currency you use in your Mercado Pago account. Please activate the currency "
+"conversion."
+msgstr ""
+"A configuração de moeda que você tem no WooCommerce não é compatível com a "
+"moeda que você usa na sua conta do Mercado Pago. Por favor, ative a "
+"conversão de moeda."
+
+#: ../../src/Translations/AdminTranslations.php:1096
+msgid "We are converting your currency from: "
+msgstr "Agora convertemos sua moeda de: "
+
+#: ../../src/Translations/AdminTranslations.php:1112
+msgid "to "
+msgstr "para "
+
+#: ../../src/Translations/AdminTranslations.php:1123
+msgid "Payment status on Mercado Pago"
+msgstr "Status de pagamento no Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:1124
+msgid ""
+"This is the payment status of your Mercado Pago Activities. To check the "
+"order status, please refer to Order details."
+msgstr ""
+"Este é o status de pagamento das suas Atividades no Mercado Pago. Para "
+"verificar o status do pedido, consulte Detalhes do pedido."
+
+#: ../../src/Translations/AdminTranslations.php:1125,
+#: ../../src/Translations/AdminTranslations.php:1127
+msgid "View purchase details at Mercado Pago"
+msgstr "Ver detalhes da compra no Mercado Pago"
+
+#: ../../src/Translations/AdminTranslations.php:1126,
+#: ../../src/Translations/AdminTranslations.php:1128,
+#: ../../src/Translations/AdminTranslations.php:1130
+msgid "Sync order status"
+msgstr "Sincronizar status do pedido"
+
+#: ../../src/Translations/AdminTranslations.php:1129
+msgid "Consult the reasons for refusal"
+msgstr "Consultar motivos de recusa"
+
+#: ../../src/Translations/AdminTranslations.php:1131
+msgid "Order update successfully. This page will be reloaded..."
+msgstr "Pedido atualizado com sucesso. Esta página será recarregada…"
+
+#: ../../src/Translations/AdminTranslations.php:1132
+msgid "Unable to update order:"
+msgstr "Não foi possível atualizar o pedido:"
+
+#: ../../src/Translations/AdminTranslations.php:1133
+msgid "Payment made"
+msgstr "Pagamento realizado"
+
+#: ../../src/Translations/AdminTranslations.php:1134
+msgid "Payment made by the buyer and already credited in the account."
+msgstr "Pagamento realizado pelo comprador e já creditado na conta."
+
+#: ../../src/Translations/AdminTranslations.php:1135
+msgid "Call resolved"
+msgstr "Chamado resolvido"
+
+#: ../../src/Translations/AdminTranslations.php:1136,
+#: ../../src/Translations/AdminTranslations.php:1186
+msgid "Please contact Mercado Pago for further details."
+msgstr "Entre em contato com o Mercado Pago para consultar mais detalhes."
+
+#: ../../src/Translations/AdminTranslations.php:1137
+msgid "Payment refunded"
+msgstr "Pagamento devolvido"
+
+#: ../../src/Translations/AdminTranslations.php:1138
+msgid ""
+"Your refund request has been made. Please contact Mercado Pago for further "
+"details."
+msgstr ""
+"Sua solicitação de reembolso foi feita. Entre em contato com o Mercado Pago "
+"para mais detalhes."
+
+#: ../../src/Translations/AdminTranslations.php:1139,
+#: ../../src/Translations/AdminTranslations.php:1141
+msgid "Payment returned"
+msgstr "Pagamento devolvido"
+
+#: ../../src/Translations/AdminTranslations.php:1140
+msgid "The payment has been returned to the client."
+msgstr "O pagamento já foi devolvido ao cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1142
+msgid "The payment has been partially returned to the client."
+msgstr "O pagamento já foi devolvido parcialmente ao cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1143
+msgid "Payment canceled"
+msgstr "Pagamento cancelado"
+
+#: ../../src/Translations/AdminTranslations.php:1144
+msgid "The payment has been successfully canceled."
+msgstr "O pagamento foi cancelado com sucesso."
+
+#: ../../src/Translations/AdminTranslations.php:1145
+msgid "Purchase canceled"
+msgstr "Compra cancelada"
+
+#: ../../src/Translations/AdminTranslations.php:1146
+msgid "The payment has been canceled by the customer."
+msgstr "O pagamento foi cancelado pelo cliente."
+
+#: ../../src/Translations/AdminTranslations.php:1147,
+#: ../../src/Translations/AdminTranslations.php:1149,
+#: ../../src/Translations/AdminTranslations.php:1151,
+#: ../../src/Translations/AdminTranslations.php:1153,
+#: ../../src/Translations/AdminTranslations.php:1155,
+#: ../../src/Translations/AdminTranslations.php:1163,
+#: ../../src/Translations/AdminTranslations.php:1165,
+#: ../../src/Translations/AdminTranslations.php:1167,
+#: ../../src/Translations/AdminTranslations.php:1169,
+#: ../../src/Translations/AdminTranslations.php:1171,
+#: ../../src/Translations/AdminTranslations.php:1173,
+#: ../../src/Translations/AdminTranslations.php:1175,
+#: ../../src/Translations/AdminTranslations.php:1230
+msgid "Pending payment"
+msgstr "Pagamento pendente"
+
+#: ../../src/Translations/AdminTranslations.php:1148,
+#: ../../src/Translations/AdminTranslations.php:1150,
+#: ../../src/Translations/AdminTranslations.php:1152,
+#: ../../src/Translations/AdminTranslations.php:1154
+msgid "Awaiting payment from the buyer."
+msgstr "Aguardando pagamento do comprador."
+
+#: ../../src/Translations/AdminTranslations.php:1156
+msgid ""
+"We are veryfing the payment. We will notify you by email in up to 6 hours if "
+"everything is fine so that you can deliver the product or provide the "
+"service."
+msgstr ""
+"Estamos verificando o pagamento. Avisaremos por e-mail em até 6 horas se "
+"estiver tudo bem para que você possa entregar o produto ou prestar o serviço."
+
+#: ../../src/Translations/AdminTranslations.php:1157,
+#: ../../src/Translations/AdminTranslations.php:1181,
+#: ../../src/Translations/AdminTranslations.php:1197,
+#: ../../src/Translations/AdminTranslations.php:1216,
+#: ../../src/Translations/AdminTranslations.php:1220,
+#: ../../src/Translations/AdminTranslations.php:1222,
+#: ../../src/Translations/AdminTranslations.php:1224,
+#: ../../src/Translations/AdminTranslations.php:1228
+msgid "Declined payment"
+msgstr "Pagamento recusado"
+
+#: ../../src/Translations/AdminTranslations.php:1158,
+#: ../../src/Translations/AdminTranslations.php:1182
+msgid ""
+"The card-issuing bank declined the payment. Please ask your client to use "
+"another card or to get in touch with the bank."
+msgstr ""
+"O banco emissor do cartão recusou o pagamento. Solicite ao seu cliente que "
+"utilize outro cartão ou entre em contato com o banco."
+
+#: ../../src/Translations/AdminTranslations.php:1159
+msgid "Payment authorized. Awaiting capture."
+msgstr "Pagamento autorizado. Aguardando captura."
+
+#: ../../src/Translations/AdminTranslations.php:1160
+msgid ""
+"The payment has been authorized on the client's card. Please capture the "
+"payment."
+msgstr ""
+"O pagamento foi autorizado no cartão do cliente. Por favor, confirme o "
+"pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1161
+msgid "Payment in process"
+msgstr "Pagamento em processamento"
+
+#: ../../src/Translations/AdminTranslations.php:1162,
+#: ../../src/Translations/AdminTranslations.php:1172
+msgid "Please wait or contact Mercado Pago for further details"
+msgstr ""
+"Aguarde ou entre em contato com o Mercado Pago para consultar mais detalhes"
+
+#: ../../src/Translations/AdminTranslations.php:1164
+msgid ""
+"The bank is reviewing the payment. As soon as we have their confirmation, we "
+"will notify you via email so that you can deliver the product or provide the "
+"service."
+msgstr ""
+"O banco está analisando o pagamento. Assim que tivermos a sua confirmação, "
+"iremos notificá-lo por email para que possa entregar o produto ou prestar o "
+"serviço."
+
+#: ../../src/Translations/AdminTranslations.php:1166,
+#: ../../src/Translations/AdminTranslations.php:1168,
+#: ../../src/Translations/AdminTranslations.php:1170
+msgid "Awaiting payment information validation."
+msgstr "Aguardando validação das informações de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1174
+msgid "Waiting for the buyer."
+msgstr "Aguardando o comprador."
+
+#: ../../src/Translations/AdminTranslations.php:1176
+msgid "Waiting for the card issuer."
+msgstr "Aguardando o emissor do cartão."
+
+#: ../../src/Translations/AdminTranslations.php:1177,
+#: ../../src/Translations/AdminTranslations.php:1179,
+#: ../../src/Translations/AdminTranslations.php:1183,
+#: ../../src/Translations/AdminTranslations.php:1204,
+#: ../../src/Translations/AdminTranslations.php:1226
+msgid "The card issuing bank declined the payment"
+msgstr "O banco emissor do cartão recusou o pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1178,
+#: ../../src/Translations/AdminTranslations.php:1180,
+#: ../../src/Translations/AdminTranslations.php:1184,
+#: ../../src/Translations/AdminTranslations.php:1205,
+#: ../../src/Translations/AdminTranslations.php:1227
+msgid ""
+"Please recommend your customer to pay with another payment method or to "
+"contact their bank."
+msgstr ""
+"Recomende a seu cliente que que pague com outro meio de pagamento ou entre "
+"em contato com o banco."
+
+#: ../../src/Translations/AdminTranslations.php:1185
+msgid "Mercado Pago did not process the payment"
+msgstr "O Mercado Pago não processou o pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1187,
+#: ../../src/Translations/AdminTranslations.php:1232
+msgid "Expired payment deadline"
+msgstr "Prazo expirado para pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1188,
+#: ../../src/Translations/AdminTranslations.php:1233
+msgid "The client did not pay within the time limit."
+msgstr "O cliente não pagou dentro do limite de tempo."
+
+#: ../../src/Translations/AdminTranslations.php:1189,
+#: ../../src/Translations/AdminTranslations.php:1191,
+#: ../../src/Translations/AdminTranslations.php:1193,
+#: ../../src/Translations/AdminTranslations.php:1234
+msgid "Your customer entered one or more incorrect card details"
+msgstr "Seu cliente inseriu um ou mais dados do cartão incorretamente"
+
+#: ../../src/Translations/AdminTranslations.php:1190,
+#: ../../src/Translations/AdminTranslations.php:1192,
+#: ../../src/Translations/AdminTranslations.php:1194,
+#: ../../src/Translations/AdminTranslations.php:1235,
+#: ../../src/Translations/AdminTranslations.php:1236
+msgid ""
+"Please ask them to enter to enter them again exactly as they appear on the "
+"card or on their bank app to complete the payment."
+msgstr ""
+"Peça para a pessoa inserir os dados da forma como aparecem no cartão ou no "
+"app do banco para concluir o pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1195,
+#: ../../src/Translations/AdminTranslations.php:1218
+msgid "We protected you from a suspicious payment"
+msgstr "Protegemos você de um pagamento suspeito"
+
+#: ../../src/Translations/AdminTranslations.php:1196
+msgid "For safety reasons, this transaction cannot be completed."
+msgstr "Por medidas de segurança, está transação não pode ser concluída."
+
+#: ../../src/Translations/AdminTranslations.php:1198,
+#: ../../src/Translations/AdminTranslations.php:1217
+msgid ""
+"The buyer is suspended in our platform. Your client must contact us to check "
+"what happened."
+msgstr ""
+"O comprador está suspenso em nossa plataforma. Seu cliente deverá entrar em "
+"contato conosco para verificar o ocorrido."
+
+#: ../../src/Translations/AdminTranslations.php:1199
+msgid "For safety reasons, the card issuing bank declined the payment"
+msgstr "O banco emissor do cartão recusou o pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1200,
+#: ../../src/Translations/AdminTranslations.php:1219
+msgid ""
+"Recommend your customer to pay with their usual payment method and device "
+"for online purchases."
+msgstr ""
+"Recomende a seu cliente que pague com o meio de pagamento e dispositivo que "
+"costuma usar para compras on-line."
+
+#: ../../src/Translations/AdminTranslations.php:1201
+msgid "Your customer's credit card has no available limit"
+msgstr "O banco emissor do cartão recusou o pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1202,
+#: ../../src/Translations/AdminTranslations.php:1203,
+#: ../../src/Translations/AdminTranslations.php:1207
+msgid ""
+"Please ask them to pay with another card or to choose another payment method."
+msgstr ""
+"Peça para a pessoa pagar com outro cartão ou escolher outro meio de "
+"pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1206
+msgid "Your customer reached the limit of payment attempts with this card"
+msgstr "O cliente alcançou o limite de tentativas de pagamento com o cartão"
+
+#: ../../src/Translations/AdminTranslations.php:1208
+msgid ""
+"Your customer's card does not accept the number of installments selected"
+msgstr "O cartão do seu cliente não aceita o parcelamento selecionado"
+
+#: ../../src/Translations/AdminTranslations.php:1209
+msgid ""
+"Please ask them to choose a different number of installments or to pay with "
+"another method."
+msgstr ""
+"Peça para ele escolher uma opção de parcelamento diferente ou usar outro "
+"meio de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1210,
+#: ../../src/Translations/AdminTranslations.php:1237
+msgid "Your customer needs to authorize the payment through their bank"
+msgstr "Seu cliente precisa autorizar o pagamento com o banco"
+
+#: ../../src/Translations/AdminTranslations.php:1211,
+#: ../../src/Translations/AdminTranslations.php:1238
+msgid ""
+"Please ask them to call the telephone number on their card or to pay with "
+"another method."
+msgstr ""
+"Peça para a pessoa acessar o app do banco ou ligar para o telefone que está "
+"no cartão. Se preferir, ela também pode pagar com outro meio."
+
+#: ../../src/Translations/AdminTranslations.php:1212
+msgid ""
+"The payment was declined because your customer already paid for this purchase"
+msgstr "O pagamento foi recusado porque o cliente já pagou esta compra"
+
+#: ../../src/Translations/AdminTranslations.php:1213
+msgid "Check your approved payments to verify it."
+msgstr "Consulte seus pagamentos aprovados para confirmar a transação."
+
+#: ../../src/Translations/AdminTranslations.php:1214
+msgid "Your customer's card was is not activated yet"
+msgstr "O cartão do cliente ainda não foi desbloqueado"
+
+#: ../../src/Translations/AdminTranslations.php:1215
+msgid ""
+"Please ask them to contact their bank by calling the number on the back of "
+"their card or to pay with another method."
+msgstr ""
+"Para desbloqueá-lo, peça para o cliente acessar o app ou entrar em contato "
+"com o banco dele ligando para o número que está no verso do cartão. Se ele "
+"preferir, também pode usar outro meio de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1221
+msgid ""
+"This payment was declined because it did not pass Mercado Pago security "
+"controls. Please ask your client to use another card."
+msgstr ""
+"Este pagamento foi recusado porque não passou nos controles de segurança do "
+"Mercado Pago. Por favor, peça ao seu cliente para usar outro cartão."
+
+#: ../../src/Translations/AdminTranslations.php:1223
+msgid ""
+"The amount exceeded the card limit. Please ask your client to use another "
+"card or to get in touch with the bank."
+msgstr ""
+"O valor ultrapassou o limite do cartão. Solicite ao seu cliente que utilize "
+"outro cartão ou entre em contato com o banco."
+
+#: ../../src/Translations/AdminTranslations.php:1225,
+#: ../../src/Translations/AdminTranslations.php:1229
+msgid ""
+"Please ask your client to use another card or to get in touch with the card "
+"issuer."
+msgstr ""
+"Peça ao seu cliente para usar outro cartão ou entre em contato com o emissor "
+"do cartão."
+
+#: ../../src/Translations/AdminTranslations.php:1231
+msgid ""
+"The amount exceeded the card's limit. Please ask your client to use another "
+"card or to get in touch with the bank."
+msgstr ""
+"O valor ultrapassou o limite do cartão. Solicite ao seu cliente que utilize "
+"outro cartão ou entre em contato com o banco."
+
+#: ../../src/Translations/AdminTranslations.php:1239
+msgid "Your customer's debit card has insufficient funds"
+msgstr "O banco emissor do cartão recusou o pagamento"
+
+#: ../../src/Translations/AdminTranslations.php:1240
+msgid ""
+"Please recommend your customer to pay with another card or to choose another "
+"payment method."
+msgstr ""
+"Peça para a pessoa pagar com outro cartão ou escolher outro meio de "
+"pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1241
+msgid "Something went wrong and the payment was declined"
+msgstr "O pagamento foi recusado devido a um erro"
+
+#: ../../src/Translations/AdminTranslations.php:1242
+msgid ""
+"Please recommend you customer to try again or to pay with another payment "
+"method."
+msgstr ""
+"Recomende ao seu cliente tentar novamente ou usar outro meio de pagamento."
+
+#: ../../src/Translations/AdminTranslations.php:1255
+msgid "Any questions?"
+msgstr "Dúvidas?"
+
+#: ../../src/Translations/AdminTranslations.php:1256
+msgid "Please check the"
+msgstr "Visite nosso site para desenvolvedores e consulte as"
+
+#: ../../src/Translations/AdminTranslations.php:1257,
+#: ../../src/Translations/AdminTranslations.php:1273
+msgid "FAQs"
+msgstr "perguntas frequentes"
+
+#: ../../src/Translations/AdminTranslations.php:1258
+msgid "on the dev website."
+msgstr "."
+
+#: ../../src/Translations/AdminTranslations.php:1271
+msgid "Check our"
+msgstr "Consulte nossas"
+
+#: ../../src/Translations/AdminTranslations.php:1274
+msgid "or open a ticket to contact the Mercado Pago team."
+msgstr "ou abra um ticket para entrar em contato com a equipe do Mercado Pago."
+
+#: ../../src/Translations/AdminTranslations.php:1279
+msgid "1. Go to the dev website and open a"
+msgstr ""
+"1. Acesse o site para desenvolvedores, visite a seção de suporte e abra um"
+
+#: ../../src/Translations/AdminTranslations.php:1281
+msgid "ticket"
+msgstr "ticket"
+
+#: ../../src/Translations/AdminTranslations.php:1282
+msgid "in the Support section."
+msgstr "."
+
+#: ../../src/Translations/AdminTranslations.php:1287
+msgid "4. Download the"
+msgstr "4. Baixe o"
+
+#: ../../src/Translations/AdminTranslations.php:1288
+msgid "error history"
+msgstr "histórico de erros"
+
+#: ../../src/Translations/AdminTranslations.php:1289
+msgid "and share it with the Mercado Pago team when asked for it."
+msgstr "e compartilhe-o com a equipe do Mercado Pago quando solicitado."
+
+#: ../../src/Translations/AdminTranslations.php:1293
+msgid "Do you need help?"
+msgstr "Precisa de ajuda?"
+
+#: ../../src/Translations/AdminTranslations.php:1294
+msgid "How to open a ticket:"
+msgstr "Como abrir um ticket:"
+
+#: ../../src/Translations/AdminTranslations.php:1296
+msgid "2. Fill out the form with your store details."
+msgstr "2. Preencha o formulário com os dados da sua loja."
+
+#: ../../src/Translations/AdminTranslations.php:1297
+msgid ""
+"3. Copy and paste the following details when asked for the the technical "
+"information:"
+msgstr ""
+"3. Copie e cole os dados abaixo quando as informações técnicas forem "
+"solicitadas:"
+
+#: ../../src/Translations/AdminTranslations.php:1300
+msgid "Version:"
+msgstr "Versão:"
+
+#: ../../src/Translations/AdminTranslations.php:1301
+msgid "History of errors"
+msgstr "Histórico de erros"
+
+#: ../../src/Translations/AdminTranslations.php:1302
+msgid ""
+"Select the files you want to share with our team and click on Download. This "
+"information will be requested by e-mail if necessary."
+msgstr ""
+"Selecione os arquivos que você quer compartilhar com nossa equipe e clique "
+"em “Baixar”. Essas informações serão solicitadas por e-mail caso necessário."
+
+#: ../../src/Translations/AdminTranslations.php:1305
+msgid "Source"
+msgstr "Origem"
+
+#: ../../src/Translations/AdminTranslations.php:1306
+msgid "File date"
+msgstr "Data de criação"
+
+#: ../../src/Translations/AdminTranslations.php:1307
+msgid "Download"
+msgstr "Baixar"
+
+#: ../../src/Translations/AdminTranslations.php:1308
+msgid "Next Page"
+msgstr "Próxima página"
+
+#: ../../src/Translations/AdminTranslations.php:1309
+msgid "Previous page"
+msgstr "Página anterior"
+
+#: ../../src/Translations/AdminTranslations.php:1310
+msgid "The plugin has not yet recorded any logs in your store."
+msgstr "O plug-in ainda não registrou nenhum log em sua loja."
+
+#: ../../src/Translations/StoreTranslations.php:70
+msgid "discount of"
+msgstr "desconto de"
+
+#: ../../src/Translations/StoreTranslations.php:71
+msgid "fee of"
+msgstr "taxa de"
+
+#: ../../src/Translations/StoreTranslations.php:72
+msgid "and"
+msgstr "e"
+
+#: ../../src/Translations/StoreTranslations.php:73
+msgid "Shipping service used by the store."
+msgstr "Serviço de envio usado pela loja."
+
+#: ../../src/Translations/StoreTranslations.php:74
+msgid "Discount provided by store"
+msgstr "Desconto concedido pela loja"
+
+#: ../../src/Translations/StoreTranslations.php:75
+msgid "Mercado Pago Discount"
+msgstr "Desconto do Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:76
+msgid "Mercado Pago Commission"
+msgstr "Comissão do Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:77,
+#: ../../src/Translations/StoreTranslations.php:118,
+#: ../../src/Translations/StoreTranslations.php:148,
+#: ../../src/Translations/StoreTranslations.php:288,
+#: ../../src/Translations/StoreTranslations.php:325,
+#: ../../src/Translations/StoreTranslations.php:407,
+#: ../../src/Translations/StoreTranslations.php:465
+msgid "There was an error. Please try again in a few minutes."
+msgstr "Houve um erro. Tente novamente em alguns minutos."
+
+#: ../../src/Translations/StoreTranslations.php:90
+msgid "Checkout Pro in Test Mode"
+msgstr "Checkout Pro em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:91,
+#: ../../src/Translations/StoreTranslations.php:132,
+#: ../../src/Translations/StoreTranslations.php:235
+msgid "Use Mercado Pago's payment methods without real charges. "
+msgstr "Utilize meios do Mercado Pago sem cobranças reais. "
+
+#: ../../src/Translations/StoreTranslations.php:92,
+#: ../../src/Translations/StoreTranslations.php:133,
+#: ../../src/Translations/StoreTranslations.php:236,
+#: ../../src/Translations/StoreTranslations.php:339,
+#: ../../src/Translations/StoreTranslations.php:391,
+#: ../../src/Translations/StoreTranslations.php:451
+msgid "See the rules for the test mode."
+msgstr "Consulte as regras do modo teste."
+
+#: ../../src/Translations/StoreTranslations.php:93
+msgid "Log in to Mercado Pago and earn benefits"
+msgstr "Inicie sessão no Mercado Pago e garanta vantagens"
+
+#: ../../src/Translations/StoreTranslations.php:94
+msgid "Easy login"
+msgstr "Entre fácil"
+
+#: ../../src/Translations/StoreTranslations.php:95
+msgid "Log in with the same email and password you use in Mercado Libre."
+msgstr "Inicie sessão com seu mesmo e-mail e senha do Mercado Livre."
+
+#: ../../src/Translations/StoreTranslations.php:96
+msgid "Blue phone image"
+msgstr "Imagem de telefone azul"
+
+#: ../../src/Translations/StoreTranslations.php:97
+msgid "Quick payments"
+msgstr "Pague rápido"
+
+#: ../../src/Translations/StoreTranslations.php:98
+msgid "Use your saved cards, Pix or available balance."
+msgstr "Use seus cartões salvos, Pix ou saldo disponível."
+
+#: ../../src/Translations/StoreTranslations.php:99
+msgid "Use your available Mercado Pago Wallet balance or saved cards."
+msgstr "Use seu saldo disponível no Mercado Pago Wallet ou cartões salvos."
+
+#: ../../src/Translations/StoreTranslations.php:100
+msgid "Use your available money or saved cards."
+msgstr "Use seu dinheiro disponível e cartões salvos."
+
+#: ../../src/Translations/StoreTranslations.php:101
+msgid "Blue wallet image"
+msgstr "Imagem de carteira azul"
+
+#: ../../src/Translations/StoreTranslations.php:102
+msgid "Protected purchases"
+msgstr "Proteja sua compra"
+
+#: ../../src/Translations/StoreTranslations.php:103
+msgid "Reliable purchases"
+msgstr "Compre com confiança"
+
+#: ../../src/Translations/StoreTranslations.php:104
+msgid "Get your money back in case you don't receive your product."
+msgstr "Receba o dinheiro de volta se você não receber o produto."
+
+#: ../../src/Translations/StoreTranslations.php:105
+msgid "Get help if you have a problem with your purchase."
+msgstr "Receba ajuda se tiver algum problema com sua compra."
+
+#: ../../src/Translations/StoreTranslations.php:106
+msgid "Blue protection image"
+msgstr "Imagem de proteção azul"
+
+#: ../../src/Translations/StoreTranslations.php:107
+msgid "Installments option"
+msgstr "Use parcelas"
+
+#: ../../src/Translations/StoreTranslations.php:108
+msgid "Pay with or without a credit card."
+msgstr "Pague com ou sem cartão de crédito."
+
+#: ../../src/Translations/StoreTranslations.php:109
+msgid "Interest-free installments with selected banks."
+msgstr "Parcelas sem acréscimos em bancos selecionados."
+
+#: ../../src/Translations/StoreTranslations.php:110
+msgid "Blue phone installments image"
+msgstr "Imagem de telefone azul com parcelas"
+
+#: ../../src/Translations/StoreTranslations.php:111
+msgid "Available payment methods"
+msgstr "Meios de pagamento disponíveis"
+
+#: ../../src/Translations/StoreTranslations.php:112
+msgid ""
+"By continuing, you will be taken to Mercado Pago to safely complete your "
+"purchase."
+msgstr ""
+"Ao continuar, te levaremos ao Mercado Pago para completar a compra de forma "
+"segura."
+
+#: ../../src/Translations/StoreTranslations.php:113,
+#: ../../src/Translations/StoreTranslations.php:137
+msgid "Checkout Pro redirect info image"
+msgstr "Imagem de redirecionamento do Checkout Pro"
+
+#: ../../src/Translations/StoreTranslations.php:114,
+#: ../../src/Translations/StoreTranslations.php:138,
+#: ../../src/Translations/StoreTranslations.php:262,
+#: ../../src/Translations/StoreTranslations.php:307,
+#: ../../src/Translations/StoreTranslations.php:341,
+#: ../../src/Translations/StoreTranslations.php:399,
+#: ../../src/Translations/StoreTranslations.php:463
+msgid "By continuing, you agree to our"
+msgstr "Ao continuar, você concorda com nossos"
+
+#: ../../src/Translations/StoreTranslations.php:115,
+#: ../../src/Translations/StoreTranslations.php:139,
+#: ../../src/Translations/StoreTranslations.php:263,
+#: ../../src/Translations/StoreTranslations.php:308,
+#: ../../src/Translations/StoreTranslations.php:343,
+#: ../../src/Translations/StoreTranslations.php:400,
+#: ../../src/Translations/StoreTranslations.php:464
+msgid "Terms and conditions"
+msgstr "Termos e condições"
+
+#: ../../src/Translations/StoreTranslations.php:116,
+#: ../../src/Translations/StoreTranslations.php:239,
+#: ../../src/Translations/StoreTranslations.php:286
+msgid "Pay with Mercado Pago"
+msgstr "Pagar com Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:117,
+#: ../../src/Translations/StoreTranslations.php:287
+msgid "Cancel & Clear Cart"
+msgstr "Cancelar & Limpar carrinho"
+
+#: ../../src/Translations/StoreTranslations.php:131
+msgid "No card installments in Test Mode"
+msgstr "Parcelado sem cartão em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:134
+msgid "Buy in up to 12 installments without credit cards"
+msgstr "Compre em até 12x sem cartão de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:135
+msgid "We will take you to Mercado Pago"
+msgstr "Vamos te redirecionar para o Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:136
+msgid "If you don't have a credits line yet, active it when paying."
+msgstr ""
+"Se você ainda não tiver a Linha de Crédito Mercado Pago, basta ativá-la na "
+"hora de pagar."
+
+#: ../../src/Translations/StoreTranslations.php:140
+msgid "Learn more"
+msgstr "Saiba mais"
+
+#: ../../src/Translations/StoreTranslations.php:141
+msgid "Buy through Mercado Pago without cards and pay month by month"
+msgstr "Compre parcelado sem cartão com a Linha de Crédito Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:142
+msgid ""
+"Add your product to the cart and, for the payment, select “Meses sin "
+"Tarjeta” or “Cuotas sin Tarjeta”."
+msgstr ""
+"Adicione o produto ao carrinho de compras e, na hora de pagar, selecione "
+"“Linha de Crédito”."
+
+#: ../../src/Translations/StoreTranslations.php:143
+msgid "Log in to Mercado Pago."
+msgstr "Inicie sessão no Mercado Pago."
+
+#: ../../src/Translations/StoreTranslations.php:144
+msgid ""
+"Choose the amount of installments that best suit you and you’re all set!"
+msgstr "Escolha o número de parcelas que melhor se adapte a você e pronto!"
+
+#: ../../src/Translations/StoreTranslations.php:145
+msgid "Any Questions? Check our "
+msgstr "Dúvidas? Confira nossa página de "
+
+#: ../../src/Translations/StoreTranslations.php:146
+msgid "Help"
+msgstr "Ajuda"
+
+#: ../../src/Translations/StoreTranslations.php:147
+msgid "Credit subject to approval."
+msgstr "Crédito sujeito a aprovação."
+
+#: ../../src/Translations/StoreTranslations.php:163
+msgid "Find out the available limit"
+msgstr "Saiba o limite disponível"
+
+#: ../../src/Translations/StoreTranslations.php:164
+msgid "of your Línea de Crédito and"
+msgstr "da sua Linha de Crédito e"
+
+#: ../../src/Translations/StoreTranslations.php:165
+msgid "choose the number of installments"
+msgstr "escolha o número de parcelas"
+
+#: ../../src/Translations/StoreTranslations.php:170
+msgid "Confirm your payment,"
+msgstr "Confirme seu pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:171
+msgid "which is credited right away and is 100% protected"
+msgstr "Ele é aprovado na hora e é 100% protegido"
+
+#: ../../src/Translations/StoreTranslations.php:176
+msgid "Pay month by month"
+msgstr "Pague todo mês"
+
+#: ../../src/Translations/StoreTranslations.php:177
+msgid "from the Mercado Pago app with your preferred payment method"
+msgstr "pela sua conta Mercado Pago com o meio de pagamento que preferir"
+
+#: ../../src/Translations/StoreTranslations.php:197,
+#: ../../src/Translations/StoreTranslations.php:203
+msgid "through Mercado Pago"
+msgstr "com a Linha de Crédito"
+
+#: ../../src/Translations/StoreTranslations.php:215
+msgid "without credit card"
+msgstr "sem cartão de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:234
+msgid "Checkout Custom in Test Mode"
+msgstr "Cartões de crédito em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:237
+msgid "Pay with saved cards"
+msgstr "Pague com cartões salvos"
+
+#: ../../src/Translations/StoreTranslations.php:238
+msgid ""
+"Do you have a Mercado Libre account? Then use the same email and password to "
+"pay faster with Mercado Pago."
+msgstr ""
+"Tem conta Mercado Livre? Use o mesmo e-mail e senha para pagar mais rápido "
+"com Mercado Pago."
+
+#: ../../src/Translations/StoreTranslations.php:240
+msgid "With which card can you pay?"
+msgstr "Quais cartões você pode usar?"
+
+#: ../../src/Translations/StoreTranslations.php:241,
+#: ../../src/Translations/StoreTranslations.php:245
+msgid "See current promotions"
+msgstr "Promoções vigentes"
+
+#: ../../src/Translations/StoreTranslations.php:242
+msgid "Credit cards"
+msgstr "Cartões de crédito"
+
+#: ../../src/Translations/StoreTranslations.php:243
+msgid "Up to 12 installments"
+msgstr "Até 12x"
+
+#: ../../src/Translations/StoreTranslations.php:244
+msgid "Debit cards"
+msgstr "Cartões de débito"
+
+#: ../../src/Translations/StoreTranslations.php:246
+msgid "Fill in your card details"
+msgstr "Preencha os dados do seu cartão"
+
+#: ../../src/Translations/StoreTranslations.php:247
+msgid "Card number"
+msgstr "Número do cartão"
+
+#: ../../src/Translations/StoreTranslations.php:248,
+#: ../../src/Translations/StoreTranslations.php:250,
+#: ../../src/Translations/StoreTranslations.php:252,
+#: ../../src/Translations/StoreTranslations.php:254
+msgid "Required data"
+msgstr "Dado obrigatório"
+
+#: ../../src/Translations/StoreTranslations.php:249
+msgid "Holder name as it appears on the card"
+msgstr "Nome do titular como aparece no cartão"
+
+#: ../../src/Translations/StoreTranslations.php:251
+msgid "Expiration"
+msgstr "Vencimento"
+
+#: ../../src/Translations/StoreTranslations.php:253
+msgid "Security Code"
+msgstr "Código de segurança"
+
+#: ../../src/Translations/StoreTranslations.php:255,
+#: ../../src/Translations/StoreTranslations.php:392,
+#: ../../src/Translations/StoreTranslations.php:452
+msgid "Holder ID"
+msgstr "Documento do titular"
+
+#: ../../src/Translations/StoreTranslations.php:256,
+#: ../../src/Translations/StoreTranslations.php:393,
+#: ../../src/Translations/StoreTranslations.php:412,
+#: ../../src/Translations/StoreTranslations.php:420,
+#: ../../src/Translations/StoreTranslations.php:424,
+#: ../../src/Translations/StoreTranslations.php:428,
+#: ../../src/Translations/StoreTranslations.php:435,
+#: ../../src/Translations/StoreTranslations.php:453
+msgid "Please complete this field."
+msgstr "Preencha este campo."
+
+#: ../../src/Translations/StoreTranslations.php:257,
+#: ../../src/Translations/StoreTranslations.php:394,
+#: ../../src/Translations/StoreTranslations.php:454
+msgid "Please enter the full ID number."
+msgstr "Insira o documento completo."
+
+#: ../../src/Translations/StoreTranslations.php:258,
+#: ../../src/Translations/StoreTranslations.php:395,
+#: ../../src/Translations/StoreTranslations.php:455
+msgid "Please enter a valid ID."
+msgstr "Insira um documento válido."
+
+#: ../../src/Translations/StoreTranslations.php:259,
+#: ../../src/Translations/StoreTranslations.php:261
+msgid "Select the number of installments"
+msgstr "Escolha o número de parcelas"
+
+#: ../../src/Translations/StoreTranslations.php:260,
+#: ../../src/Translations/StoreTranslations.php:265
+msgid "Issuer"
+msgstr "Banco emissor"
+
+#: ../../src/Translations/StoreTranslations.php:264
+msgid "mm/yy"
+msgstr "mm/aa"
+
+#: ../../src/Translations/StoreTranslations.php:266
+msgid "Installments"
+msgstr "Parcelamento"
+
+#: ../../src/Translations/StoreTranslations.php:267
+msgid "on the back"
+msgstr "do verso"
+
+#: ../../src/Translations/StoreTranslations.php:268
+msgid "on the front"
+msgstr "da frente"
+
+#: ../../src/Translations/StoreTranslations.php:269
+msgid "digits"
+msgstr "dígitos"
+
+#: ../../src/Translations/StoreTranslations.php:270
+msgid "No fee"
+msgstr "Sem acréscimos"
+
+#: ../../src/Translations/StoreTranslations.php:271
+msgid "More options"
+msgstr "Mais opções"
+
+#: ../../src/Translations/StoreTranslations.php:272
+msgid "The interest rate is applied and charged by your bank."
+msgstr "A taxa de juros é aplicada e cobrada por seu banco."
+
+#: ../../src/Translations/StoreTranslations.php:273
+msgid "Interest"
+msgstr "Acréscimos"
+
+#: ../../src/Translations/StoreTranslations.php:274
+msgid "Card number is required"
+msgstr "Número do cartão é obrigatório"
+
+#: ../../src/Translations/StoreTranslations.php:275
+msgid "Card number invalid"
+msgstr "Número do cartão inválido"
+
+#: ../../src/Translations/StoreTranslations.php:276
+msgid "Holder name is required"
+msgstr "Nome do titular é obrigatório"
+
+#: ../../src/Translations/StoreTranslations.php:277
+msgid "Holder name invalid"
+msgstr "Nome do titular inválido"
+
+#: ../../src/Translations/StoreTranslations.php:278,
+#: ../../src/Translations/StoreTranslations.php:280
+msgid "Expiration date invalid"
+msgstr "Data de vencimento inválida"
+
+#: ../../src/Translations/StoreTranslations.php:279
+msgid "Expiration date incomplete"
+msgstr "Data de vencimento incompleta"
+
+#: ../../src/Translations/StoreTranslations.php:281
+msgid "Security code is required"
+msgstr "Código de segurança é obrigatório"
+
+#: ../../src/Translations/StoreTranslations.php:282
+msgid "Security code incomplete"
+msgstr "Código de segurança incompleto"
+
+#: ../../src/Translations/StoreTranslations.php:283
+msgid "Cost of installments"
+msgstr "Custo do parcelamento"
+
+#: ../../src/Translations/StoreTranslations.php:284
+msgid "Total with installments"
+msgstr "Total parcelado"
+
+#: ../../src/Translations/StoreTranslations.php:285
+msgid "installments of"
+msgstr "x de"
+
+#: ../../src/Translations/StoreTranslations.php:289
+msgid ""
+"This amount does not allow payments by credit card, we recommend paying with "
+"another method or changing the contents of your cart."
+msgstr ""
+"Este valor não permite pagamentos com cartão de crédito, recomendamos pagar "
+"com outro meio de pagamento ou alterar o conteúdo do seu carrinho."
+
+#: ../../src/Translations/StoreTranslations.php:290
+msgid ""
+"Something went wrong, we recommend trying again or paying with another "
+"method."
+msgstr ""
+"Algo deu errado, recomendamos que você tente novamente ou pague com outro "
+"meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:302
+msgid "Pix in Test Mode"
+msgstr "Pix em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:303,
+#: ../../src/Translations/StoreTranslations.php:340
+msgid ""
+"You can test the flow to generate a code, but you cannot finalize the "
+"payment."
+msgstr ""
+"É possível testar o fluxo para gerar uma fatura, mas não é possível "
+"finalizar o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:304
+msgid "Pay instantly"
+msgstr "Pague de forma segura e instantânea"
+
+#: ../../src/Translations/StoreTranslations.php:305
+msgid ""
+"By confirming your purchase, we will show you a code to make the payment."
+msgstr ""
+"Ao confirmar a compra, nós vamos te mostrar o código para fazer o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:306
+msgid "Pix logo"
+msgstr "Logo Pix"
+
+#: ../../src/Translations/StoreTranslations.php:309,
+#: ../../src/Translations/StoreTranslations.php:318
+msgid "Code valid for "
+msgstr "Código válido por "
+
+#: ../../src/Translations/StoreTranslations.php:310
+msgid "Now you just need to pay with Pix to finalize your purchase"
+msgstr "Agora é só pagar com o Pix para finalizar sua compra"
+
+#: ../../src/Translations/StoreTranslations.php:311
+msgid "How to pay with Pix:"
+msgstr "Como pagar com Pix:"
+
+#: ../../src/Translations/StoreTranslations.php:312
+msgid "Go to your bank's app or website"
+msgstr "Acesse o app ou site do seu banco"
+
+#: ../../src/Translations/StoreTranslations.php:313
+msgid "Search for the option to pay with Pix"
+msgstr "Busque a opção de pagar com Pix"
+
+#: ../../src/Translations/StoreTranslations.php:314
+msgid "Scan the QR code or Pix code"
+msgstr "Leia o QR code ou código Pix"
+
+#: ../../src/Translations/StoreTranslations.php:315
+msgid "Done! You will see the payment confirmation"
+msgstr "Pronto! Você verá a confirmação do pagamento"
+
+#: ../../src/Translations/StoreTranslations.php:316
+msgid "Value: "
+msgstr "Valor a pagar: "
+
+#: ../../src/Translations/StoreTranslations.php:317
+msgid "Scan the QR code:"
+msgstr "Escaneie o QR code:"
+
+#: ../../src/Translations/StoreTranslations.php:319
+msgid "If you prefer, you can pay by copying and pasting the following code"
+msgstr "Se preferir, você pode pagar copiando e colando o seguinte código"
+
+#: ../../src/Translations/StoreTranslations.php:320
+msgid "Copy code"
+msgstr "Copiar código"
+
+#: ../../src/Translations/StoreTranslations.php:321,
+#: ../../src/Translations/StoreTranslations.php:406,
+#: ../../src/Translations/StoreTranslations.php:462
+msgid "Mercado Pago: The customer has not paid yet."
+msgstr "Mercado Pago: Cliente ainda não pagou."
+
+#: ../../src/Translations/StoreTranslations.php:322
+msgid ""
+"Mercado Pago: Now you just need to pay with Pix to finalize your purchase."
+msgstr "Mercado Pago: Agora é só pagar com o Pix para finalizar sua compra."
+
+#: ../../src/Translations/StoreTranslations.php:323
+msgid ""
+"Scan the QR code below or copy and paste the code into your bank's "
+"application."
+msgstr ""
+"Escaneie o código QR abaixo ou copie e cole o código no aplicativo do seu "
+"banco."
+
+#: ../../src/Translations/StoreTranslations.php:324
+msgid "30 minutes"
+msgstr "30 minutos"
+
+#: ../../src/Translations/StoreTranslations.php:338
+msgid "Yape in Test Mode"
+msgstr "Yape em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:342
+msgid "Cell phone linked to Yape"
+msgstr "Celular vinculado ao Yape"
+
+#: ../../src/Translations/StoreTranslations.php:344
+msgid ""
+"Verify in Yape that the option \"Compra por internet\" is activated and that "
+"the daily limit is enough."
+msgstr ""
+"Confira no Yape se a opção “Compras por internet” está ativada e se o seu "
+"limite diário é suficiente."
+
+#: ../../src/Translations/StoreTranslations.php:345
+msgid "Pay with Yape in a few minutes"
+msgstr "Pague com o Yape em instantes"
+
+#: ../../src/Translations/StoreTranslations.php:346
+msgid "Fill out the following details and confirm your purchase."
+msgstr "Preencha os dados a seguir e confirme sua compra."
+
+#: ../../src/Translations/StoreTranslations.php:347
+msgid "Approval code"
+msgstr "Código de aprovação"
+
+#: ../../src/Translations/StoreTranslations.php:348
+msgid "Processed by Mercado Pago"
+msgstr "Processado pelo Mercado Pago"
+
+#: ../../src/Translations/StoreTranslations.php:349
+msgid "The code is available in the Yape app menu."
+msgstr "O código está disponível no menu do app do Yape."
+
+#: ../../src/Translations/StoreTranslations.php:350,
+#: ../../src/Translations/StoreTranslations.php:352
+msgid "Enter the entire number."
+msgstr "Insira o número completo."
+
+#: ../../src/Translations/StoreTranslations.php:351,
+#: ../../src/Translations/StoreTranslations.php:353
+msgid "Fill out this field."
+msgstr "Preencha este campo."
+
+#: ../../src/Translations/StoreTranslations.php:365
+msgid "Payment approved."
+msgstr "Pagamento aprovado."
+
+#: ../../src/Translations/StoreTranslations.php:366
+msgid "Waiting for the Pix payment."
+msgstr "Esperando o pagamento via Pix."
+
+#: ../../src/Translations/StoreTranslations.php:367
+msgid "Waiting for the ticket payment."
+msgstr "Esperando o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:368
+msgid "The customer has not made the payment yet."
+msgstr "O cliente ainda não realizou o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:369
+msgid "Payment is pending review."
+msgstr "O pagamento está em revisão."
+
+#: ../../src/Translations/StoreTranslations.php:370
+msgid "Payment was declined. The customer can try again."
+msgstr "O pagamento foi recusado. O cliente pode tentar novamente."
+
+#: ../../src/Translations/StoreTranslations.php:371
+msgid "Payment was returned to the customer."
+msgstr "O pagamento foi estornado ao cliente."
+
+#: ../../src/Translations/StoreTranslations.php:372
+msgid ""
+"The payment was partially returned to the customer. the amount refunded "
+"was : "
+msgstr ""
+"O pagamento já foi devolvido parcialmente ao cliente. O valor reembolsado "
+"foi de : "
+
+#: ../../src/Translations/StoreTranslations.php:373
+msgid "Payment was canceled."
+msgstr "O pagamento foi cancelado."
+
+#: ../../src/Translations/StoreTranslations.php:374,
+#: ../../src/Translations/StoreTranslations.php:375
+msgid ""
+"The payment is in mediation or the purchase was unknown by the customer."
+msgstr ""
+"O pagamento está em mediação ou a compra não foi reconhecida pelo cliente."
+
+#: ../../src/Translations/StoreTranslations.php:376
+msgid "The payment"
+msgstr "O pagamento"
+
+#: ../../src/Translations/StoreTranslations.php:377
+msgid "was notified by Mercado Pago with status"
+msgstr "foi notificado pelo Mercado Pago com status"
+
+#: ../../src/Translations/StoreTranslations.php:389
+msgid "Offline Methods in Test Mode"
+msgstr "Meios offline em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:390
+msgid ""
+"You can test the flow to generate an invoice, but you cannot finalize the "
+"payment."
+msgstr ""
+"É possível testar o fluxo para gerar uma fatura, mas não é possível "
+"finalizar o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:396
+msgid "Select your payment method"
+msgstr "Selecione onde você quer pagar"
+
+#: ../../src/Translations/StoreTranslations.php:397,
+#: ../../src/Translations/StoreTranslations.php:457
+msgid "more options"
+msgstr "mais opções"
+
+#: ../../src/Translations/StoreTranslations.php:398
+msgid "Select a payment method."
+msgstr "Selecione uma opção de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:401
+msgid ""
+"Great, we processed your purchase order. Complete the payment with ticket so "
+"that we finish approving it."
+msgstr ""
+"Ótimo, processamos seu pedido. Complete o pagamento com ticket para que "
+"possamos aprovar o pedido."
+
+#: ../../src/Translations/StoreTranslations.php:402
+msgid "Print ticket"
+msgstr "Imprimir boleto"
+
+#: ../../src/Translations/StoreTranslations.php:403
+msgid " and "
+msgstr " e "
+
+#: ../../src/Translations/StoreTranslations.php:404
+msgid "To print the ticket again click"
+msgstr "Para reimprimir o boleto clique"
+
+#: ../../src/Translations/StoreTranslations.php:405
+msgid "here"
+msgstr "aqui"
+
+#: ../../src/Translations/StoreTranslations.php:408
+msgid "Enter payment details"
+msgstr "Informe os dados de cobrança"
+
+#: ../../src/Translations/StoreTranslations.php:409
+msgid "Use delivery details."
+msgstr "Usar os mesmos dados de entrega."
+
+#: ../../src/Translations/StoreTranslations.php:410
+msgid "ZIP code"
+msgstr "CEP"
+
+#: ../../src/Translations/StoreTranslations.php:411
+msgid "E.g.: 01310-200"
+msgstr "Ex.: 01310-200"
+
+#: ../../src/Translations/StoreTranslations.php:413
+msgid "Please enter the full ZIP code."
+msgstr "Insira o CEP completo."
+
+#: ../../src/Translations/StoreTranslations.php:414
+msgid "Please enter a valid ZIP code."
+msgstr "Insira um CEP válido."
+
+#: ../../src/Translations/StoreTranslations.php:415
+msgid "State"
+msgstr "Estado"
+
+#: ../../src/Translations/StoreTranslations.php:416
+msgid "Select a state"
+msgstr "Selecione um estado"
+
+#: ../../src/Translations/StoreTranslations.php:417
+msgid "Please select an option."
+msgstr "Selecione uma opção."
+
+#: ../../src/Translations/StoreTranslations.php:418
+msgid "City"
+msgstr "Cidade"
+
+#: ../../src/Translations/StoreTranslations.php:419
+msgid "E.g.: São Paulo"
+msgstr "Ex.: São Paulo"
+
+#: ../../src/Translations/StoreTranslations.php:421
+msgid "Please enter the full name of the city."
+msgstr "Insira o nome completo da cidade."
+
+#: ../../src/Translations/StoreTranslations.php:422
+msgid "Neighborhood"
+msgstr "Bairro"
+
+#: ../../src/Translations/StoreTranslations.php:423
+msgid "E.g.: Jardim das flores"
+msgstr "Ex.: Jardim das flores"
+
+#: ../../src/Translations/StoreTranslations.php:425
+msgid "Please enter the full neighborhood name."
+msgstr "Insira o nome completo do bairro."
+
+#: ../../src/Translations/StoreTranslations.php:426
+msgid "Address"
+msgstr "Endereço"
+
+#: ../../src/Translations/StoreTranslations.php:427
+msgid "E.g.: Avenida das Flores"
+msgstr "Ex.: Avenida das Flores"
+
+#: ../../src/Translations/StoreTranslations.php:429
+msgid "Please enter the full address."
+msgstr "Insira o endereço completo."
+
+#: ../../src/Translations/StoreTranslations.php:430
+msgid "Complement (optional)"
+msgstr "Complemento (opcional)"
+
+#: ../../src/Translations/StoreTranslations.php:431
+msgid "E.g.: Apartament 52 block C"
+msgstr "Ex.: Apartamento 52 bloco C"
+
+#: ../../src/Translations/StoreTranslations.php:432
+msgid "Number"
+msgstr "Número"
+
+#: ../../src/Translations/StoreTranslations.php:433
+msgid "E.g.: 148"
+msgstr "Ex.: 148"
+
+#: ../../src/Translations/StoreTranslations.php:434
+msgid "No number"
+msgstr "Sem número"
+
+#: ../../src/Translations/StoreTranslations.php:436
+msgid "Please enter a valid number."
+msgstr "Insira um número válido."
+
+#: ../../src/Translations/StoreTranslations.php:449
+msgid "Checkout PSE in Test Mode"
+msgstr "Checkout PSE em Modo Teste"
+
+#: ../../src/Translations/StoreTranslations.php:450
+msgid "You can test the flow to generate a payment with PSE"
+msgstr "Você pode testar o fluxo para gerar um pagamento com o PSE"
+
+#: ../../src/Translations/StoreTranslations.php:456
+msgid "Select where you want to pay"
+msgstr "Selecione uma opção de pagamento"
+
+#: ../../src/Translations/StoreTranslations.php:458
+msgid "Person type "
+msgstr "Tipo de pessoa "
+
+#: ../../src/Translations/StoreTranslations.php:459
+msgid "Financial institution"
+msgstr "Instituição financeira"
+
+#: ../../src/Translations/StoreTranslations.php:460
+msgid "Select the financial institution"
+msgstr "Selecione a instituição financeira"
+
+#: ../../src/Translations/StoreTranslations.php:461
+msgid "Select the institution"
+msgstr "Selecione a instituição"
+
+#: ../../src/Translations/StoreTranslations.php:478
+msgid "A problem was occurred when processing your payment. Please, try again."
+msgstr ""
+"Ocorreu um problema ao processar seu pagamento. Por favor, tente novamente."
+
+#: ../../src/Translations/StoreTranslations.php:479
+msgid ""
+"A problem was occurred when processing your payment. Are you sure you have "
+"correctly filled all information in the checkout form?"
+msgstr ""
+"Ocorreu um problema ao processar seu pagamento. Tem certeza de que preencheu "
+"corretamente todas as informações no formulário de checkout?"
+
+#: ../../src/Translations/StoreTranslations.php:480
+msgid "See your order form"
+msgstr "Ver o resumo do pedido"
+
+#: ../../src/Translations/StoreTranslations.php:481
+msgid "Your payment was declined. You can try again."
+msgstr "Seu pagamento foi rejeitado. Você pode tentar novamente."
+
+#: ../../src/Translations/StoreTranslations.php:482
+msgid "Click to try again"
+msgstr "Clique para tentar novamente"
+
+#: ../../src/Translations/StoreTranslations.php:483
+msgid "That's it, payment accepted!"
+msgstr "Pronto, aceitamos seu pagamento!"
+
+#: ../../src/Translations/StoreTranslations.php:484
+msgid ""
+"We are processing your payment. In less than an hour we will send you the "
+"result by email."
+msgstr ""
+"Estamos processando seu pagamento. Em menos de uma hora você será notificado "
+"por email."
+
+#: ../../src/Translations/StoreTranslations.php:485
+msgid ""
+"We are processing your payment. In less than 2 days we will send you by "
+"email if the payment has been approved or if additional information is "
+"needed."
+msgstr ""
+"Estamos processando seu pagamento. Em menos de 2 dias úteis você será "
+"notificado por email se o pagamento foi aprovado ou se são necessárias "
+"informações adicionais."
+
+#: ../../src/Translations/StoreTranslations.php:486
+msgid "Check the card number."
+msgstr "Verifique o número do cartão."
+
+#: ../../src/Translations/StoreTranslations.php:487
+msgid "Check the expiration date."
+msgstr "Verifique a data de expiração."
+
+#: ../../src/Translations/StoreTranslations.php:488
+msgid "Check the information provided."
+msgstr "Verifique as informações preenchidas."
+
+#: ../../src/Translations/StoreTranslations.php:489
+msgid "Check the informed security code."
+msgstr "Verifique o código de segurança informado."
+
+#: ../../src/Translations/StoreTranslations.php:490,
+#: ../../src/Translations/StoreTranslations.php:491
+msgid "Your payment cannot be processed."
+msgstr "Não foi possível processar seu pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:492
+msgid "You must authorize payments for your orders."
+msgstr "Você deve autorizar o pagamento dos seus pedidos."
+
+#: ../../src/Translations/StoreTranslations.php:493
+msgid ""
+"Contact your card issuer to activate it. The phone is on the back of your "
+"card."
+msgstr ""
+"Contacte o emissor de seu cartão para ativá-lo. O telefone está no verso do "
+"seu cartão."
+
+#: ../../src/Translations/StoreTranslations.php:494
+msgid ""
+"You have already made a payment of this amount. If you have to pay again, "
+"use another card or other method of payment."
+msgstr ""
+"Você já realizou o pagamento para esse valor. Se precisa pagar novamente, "
+"use outro cartão ou outro método de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:495
+msgid ""
+"Your payment was declined. Please select another payment method. It is "
+"recommended in cash."
+msgstr ""
+"Seu pagamento foi rejeitado. Escolha outro método de pagamento. Recomenda-se "
+"dinheiro."
+
+#: ../../src/Translations/StoreTranslations.php:496
+msgid "Your payment does not have sufficient funds."
+msgstr "Seu pagamento não possui saldo suficiente."
+
+#: ../../src/Translations/StoreTranslations.php:497
+msgid "Payment cannot process the selected fee."
+msgstr "Seu pagamento não pode processar o parcelamento selecionado."
+
+#: ../../src/Translations/StoreTranslations.php:498
+msgid ""
+"You have reached the limit of allowed attempts. Choose another card or other "
+"payment method."
+msgstr ""
+"Você atingiu o limite de tentativas permitidas. Escolha outro cartão ou "
+"outro método de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:499
+msgid ""
+"Invalid transaction attempt
You are trying to perform a "
+"productive transaction using test credentials, or test transaction using "
+"productive credentials. Please ensure that you are using the correct "
+"environment settings for the desired action."
+msgstr ""
+"Tentativa de transação inválida
Você está tentando "
+"realizar uma transação produtiva usando credenciais de teste ou uma "
+"transação de teste usando credenciais produtivas. Verifique se está usando "
+"as configurações de credencial corretas para a ação desejada."
+
+#: ../../src/Translations/StoreTranslations.php:500
+msgid ""
+"Invalid transaction attempt
It is not possible to pay "
+"with the email address entered. Please enter another e-mail address."
+msgstr ""
+"Tentativa de transação inválida
Não é possível pagar com "
+"o endereço de e-mail informado. Digite outro endereço de e-mail."
+
+#: ../../src/Translations/StoreTranslations.php:501
+msgid "This payment method cannot process your payment."
+msgstr "Este método de pagamento não pôde processar o seu pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:513
+msgid ""
+"Your bank needs you to authorize the payment
Please call "
+"the telephone number on your card or pay with another method."
+msgstr ""
+"Seu banco precisa que você autorize o pagamento
Para "
+"autorizar, acesse o app do banco ou ligue para o telefone que está no "
+"cartão. Se preferir, você também pode pagar com outro meio."
+
+#: ../../src/Translations/StoreTranslations.php:514,
+#: ../../src/Translations/StoreTranslations.php:515
+msgid ""
+"For safety reasons, your payment was declined
We "
+"recommended paying with your usual payment method and device for online "
+"purchases."
+msgstr ""
+"O banco emissor do cartão recusou o pagamento
Recomendamos que "
+"você pague com o meio de pagamento e dispositivo que costuma usar para "
+"compras on-line."
+
+#: ../../src/Translations/StoreTranslations.php:516,
+#: ../../src/Translations/StoreTranslations.php:517,
+#: ../../src/Translations/StoreTranslations.php:518,
+#: ../../src/Translations/StoreTranslations.php:519
+msgid ""
+"One or more card details were entered incorrecctly"
+"strong>
Please enter them again as they appear on the card to complete "
+"the payment."
+msgstr ""
+"Você inseriu um ou mais dados do cartão incorretamente"
+"strong>
Insira os dados de forma como aparecem no cartão ou no app do seu "
+"banco para concluir o pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:520
+msgid ""
+"Your credit card has no available limit
Please pay using "
+"another card or choose another payment method."
+msgstr ""
+"O banco emissor do cartão recusou seu pagamento
Pague "
+"com outro cartão ou escolha outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:521
+msgid ""
+"Your debit card has insufficient founds
Please pay using "
+"another card or choose another payment method."
+msgstr ""
+"O banco emissor do cartão recusou seu pagamento
Pague "
+"com outro cartão ou escolha outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:522
+msgid ""
+"Your card does not accept the number of installments selected"
+"strong>
Please choose a different number of installments or use a "
+"different payment method ."
+msgstr ""
+"Seu cartão não aceita o parcelamento selecionado
Escolha "
+"uma opção de parcelamento diferente ou use outro meio de pagamento ."
+
+#: ../../src/Translations/StoreTranslations.php:523
+msgid ""
+"You need to activate your card
Please contact your bank "
+"by calling the number on the back of your card or choose another payment "
+"method."
+msgstr ""
+"Seu cartão está bloqueado
Acesse o app ou entre em "
+"contato com o banco para desbloquear ou pague com outro meio."
+
+#: ../../src/Translations/StoreTranslations.php:524
+msgid ""
+"You reached the limit of payment attempts with this card"
+"strong>
Please pay using another card or choose another payment method."
+msgstr ""
+"Você alcançou o limite de tentativas de pagamento com este cartão"
+"strong>
Pague com outro cartão ou escolha outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:525
+msgid ""
+"Your payment was declined because you already paid for this "
+"purchase
Check your card transactions to verify it."
+msgstr ""
+"Seu pagamento foi recusado porque você já pagou esta compra"
+"strong>
Consulte os gastos do seu cartão para confirmar a transação."
+
+#: ../../src/Translations/StoreTranslations.php:526,
+#: ../../src/Translations/StoreTranslations.php:527,
+#: ../../src/Translations/StoreTranslations.php:528
+msgid ""
+"The card issuing bank declined the payment
We "
+"recommended paying with another payment method or contact your bank."
+msgstr ""
+"O banco emissor do cartão recusou seu pagamento"
+"strong>
Recomendamos que você pague com outro meio de pagamento ou entre "
+"em contato com seu banco."
+
+#: ../../src/Translations/StoreTranslations.php:529
+msgid ""
+"For safety reasons, the card issuing bank declined the payment"
+"strong>
We recommended paying with your usual payment method and device "
+"for online purchases."
+msgstr ""
+"Seu pagamento foi recusado
Recomendamos que você pague "
+"com o meio de pagamento e dispositivo que costuma usar para compras on-line."
+
+#: ../../src/Translations/StoreTranslations.php:530
+msgid ""
+"Your payment was declined because something went wrong"
+"strong>
We recommended trying again or paying with another method."
+msgstr ""
+"Seu pagamento foi recusado devido a um erro
Por favor, "
+"tente novamente ou use outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:531
+msgid ""
+"Yape declined your payment
Your payment could not be "
+"processed. Please try again or choose another payment method."
+msgstr ""
+"O Yape recusou seu pagamento
Não foi possível processar "
+"seu pagamento. Por favor, tente novamente ou escolha outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:532
+msgid ""
+"Yape declined your payment
Your payment could not be "
+"processed. You can contact Yape to find out why or try again with this or "
+"another payment method."
+msgstr ""
+"O Yape recusou seu pagamento
Não foi possível processar "
+"seu pagamento. Você pode entrar em contato com Yape para saber os motivos ou "
+"tentar novamente com este ou outro meio de pagamento."
+
+#: ../../src/Translations/StoreTranslations.php:533
+msgid ""
+"Yape declined your payment
Your payment was rejected "
+"because something went wrong. We recommend trying again or paying with "
+"another method."
+msgstr ""
+"O Yape recusou seu pagamento
Seu pagamento foi recusado "
+"devido a um erro. Recomendamos que você tente novamente ou pague com outro "
+"meio."
+
+#: ../../src/Translations/StoreTranslations.php:534
+msgid ""
+"Yape declined your payment
This payment exceeds your "
+"daily limit for online purchases with Yape. We recommend paying with another "
+"method or trying again tomorrow."
+msgstr ""
+"O Yape recusou seu pagamento
Este pagamento excede seu "
+"limite diário para compras online com o Yape. Recomendamos que você pague "
+"com outro meio ou tente novamente amanhã."
+
+#: ../../src/Translations/StoreTranslations.php:535
+msgid ""
+"Yape declined your payment
After three incorrect "
+"approval codes, the payment can't be done with Yape for your safety. Pay "
+"with another method or try again in 24 hours."
+msgstr ""
+"O Yape recusou seu pagamento
Por segurança, não é "
+"possível pagar com o Yape após inserir os códigos de aprovação "
+"incorretamente 3 vezes. Pague com outro meio ou tente novamente em 24 horas."
+
+#: ../../src/Translations/StoreTranslations.php:547
+msgid "We are taking you to validate the card"
+msgstr "Estamos levando você para validar o cartão"
+
+#: ../../src/Translations/StoreTranslations.php:548
+msgid "with your bank"
+msgstr "com seu banco"
+
+#: ../../src/Translations/StoreTranslations.php:549
+msgid "We need to confirm that you are the cardholder."
+msgstr "Precisamos confirmar que você é o titular do cartão."
+
+#: ../../src/Translations/StoreTranslations.php:550
+msgid "We are receiving the response from your bank"
+msgstr "Estamos recebendo a resposta do seu banco"
+
+#: ../../src/Translations/StoreTranslations.php:551
+msgid "Complete the bank validation so your payment can be approved"
+msgstr "Conclua a validação bancária para aprovar seu pagamento"
+
+#: ../../src/Translations/StoreTranslations.php:552
+msgid ""
+"Please keep this page open. If you close it, you will not be able to resume "
+"the validation."
+msgstr ""
+"Mantenha esta tela aberta. Se você fechá-la, não poderá retomar a validação."
+
+#: ../../src/Translations/StoreTranslations.php:553
+msgid ""
+"For safety reasons, your payment was declined
We recommend paying "
+"with your usual payment method and device for online purchases."
+msgstr ""
+"Por motivos de segurança, seu pagamento foi recusado
Recomendamos "
+"que você pague com o meio de pagamento e dispositivo que costuma usar para "
+"compras on-line."
+
+#~ msgid "Holder document"
+#~ msgstr "Documento do titular"
+
+#~ msgid "Invalid document"
+#~ msgstr "Número de documento inválido"
diff --git a/i18n/languages/woocommerce-mercadopago.pot b/i18n/languages/woocommerce-mercadopago.pot
index e37b17e70..915903499 100644
--- a/i18n/languages/woocommerce-mercadopago.pot
+++ b/i18n/languages/woocommerce-mercadopago.pot
@@ -7,7 +7,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: Mercado Pago Developers \n"
-"POT-Creation-Date: 2024-09-20 13:05+0000\n"
+"POT-Creation-Date: 2024-12-10 19:23+0000\n"
"Project-Id-Version: undefined\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
@@ -16,19 +16,19 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../../src/WoocommerceMercadoPago.php:430, ../../src/Translations/AdminTranslations.php:109
+#: ../../src/WoocommerceMercadoPago.php:440, ../../src/Translations/AdminTranslations.php:109
msgid "Activate WooCommerce"
msgstr ""
-#: ../../src/WoocommerceMercadoPago.php:431, ../../src/Translations/AdminTranslations.php:110
+#: ../../src/WoocommerceMercadoPago.php:441, ../../src/Translations/AdminTranslations.php:110
msgid "Install WooCommerce"
msgstr ""
-#: ../../src/WoocommerceMercadoPago.php:432, ../../src/Translations/AdminTranslations.php:111
+#: ../../src/WoocommerceMercadoPago.php:442, ../../src/Translations/AdminTranslations.php:111
msgid "See WooCommerce"
msgstr ""
-#: ../../src/WoocommerceMercadoPago.php:434, ../../src/Translations/AdminTranslations.php:100
+#: ../../src/WoocommerceMercadoPago.php:444, ../../src/Translations/AdminTranslations.php:100
msgid "The Mercado Pago module needs an active version of %s in order to work!"
msgstr ""
@@ -92,7 +92,7 @@ msgstr ""
msgid "Set plugin"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:135, ../../src/Translations/AdminTranslations.php:709, ../../src/Translations/AdminTranslations.php:769
+#: ../../src/Translations/AdminTranslations.php:135, ../../src/Translations/AdminTranslations.php:721, ../../src/Translations/AdminTranslations.php:781
msgid "Payment methods"
msgstr ""
@@ -376,7 +376,7 @@ msgstr ""
msgid "Ex: Mary Store"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:273, ../../src/Translations/AdminTranslations.php:1292
+#: ../../src/Translations/AdminTranslations.php:273, ../../src/Translations/AdminTranslations.php:1304
msgid "Select"
msgstr ""
@@ -456,15 +456,15 @@ msgstr ""
msgid "The checkout is"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:319, ../../src/Translations/AdminTranslations.php:331, ../../src/Translations/AdminTranslations.php:447, ../../src/Translations/AdminTranslations.php:459, ../../src/Translations/AdminTranslations.php:570, ../../src/Translations/AdminTranslations.php:582, ../../src/Translations/AdminTranslations.php:594, ../../src/Translations/AdminTranslations.php:671, ../../src/Translations/AdminTranslations.php:733, ../../src/Translations/AdminTranslations.php:793, ../../src/Translations/AdminTranslations.php:805, ../../src/Translations/AdminTranslations.php:905
+#: ../../src/Translations/AdminTranslations.php:319, ../../src/Translations/AdminTranslations.php:331, ../../src/Translations/AdminTranslations.php:447, ../../src/Translations/AdminTranslations.php:459, ../../src/Translations/AdminTranslations.php:471, ../../src/Translations/AdminTranslations.php:582, ../../src/Translations/AdminTranslations.php:594, ../../src/Translations/AdminTranslations.php:606, ../../src/Translations/AdminTranslations.php:683, ../../src/Translations/AdminTranslations.php:745, ../../src/Translations/AdminTranslations.php:805, ../../src/Translations/AdminTranslations.php:817, ../../src/Translations/AdminTranslations.php:917
msgid "enabled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:325, ../../src/Translations/AdminTranslations.php:337, ../../src/Translations/AdminTranslations.php:453, ../../src/Translations/AdminTranslations.php:465, ../../src/Translations/AdminTranslations.php:576, ../../src/Translations/AdminTranslations.php:588, ../../src/Translations/AdminTranslations.php:600, ../../src/Translations/AdminTranslations.php:677, ../../src/Translations/AdminTranslations.php:739, ../../src/Translations/AdminTranslations.php:799, ../../src/Translations/AdminTranslations.php:811, ../../src/Translations/AdminTranslations.php:898, ../../src/Translations/AdminTranslations.php:911
+#: ../../src/Translations/AdminTranslations.php:325, ../../src/Translations/AdminTranslations.php:337, ../../src/Translations/AdminTranslations.php:453, ../../src/Translations/AdminTranslations.php:465, ../../src/Translations/AdminTranslations.php:477, ../../src/Translations/AdminTranslations.php:588, ../../src/Translations/AdminTranslations.php:600, ../../src/Translations/AdminTranslations.php:612, ../../src/Translations/AdminTranslations.php:689, ../../src/Translations/AdminTranslations.php:751, ../../src/Translations/AdminTranslations.php:811, ../../src/Translations/AdminTranslations.php:823, ../../src/Translations/AdminTranslations.php:910, ../../src/Translations/AdminTranslations.php:923
msgid "disabled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:330, ../../src/Translations/AdminTranslations.php:336, ../../src/Translations/AdminTranslations.php:458, ../../src/Translations/AdminTranslations.php:464, ../../src/Translations/AdminTranslations.php:581, ../../src/Translations/AdminTranslations.php:587, ../../src/Translations/AdminTranslations.php:670, ../../src/Translations/AdminTranslations.php:676, ../../src/Translations/AdminTranslations.php:732, ../../src/Translations/AdminTranslations.php:738, ../../src/Translations/AdminTranslations.php:804, ../../src/Translations/AdminTranslations.php:810, ../../src/Translations/AdminTranslations.php:904, ../../src/Translations/AdminTranslations.php:910
+#: ../../src/Translations/AdminTranslations.php:330, ../../src/Translations/AdminTranslations.php:336, ../../src/Translations/AdminTranslations.php:470, ../../src/Translations/AdminTranslations.php:476, ../../src/Translations/AdminTranslations.php:593, ../../src/Translations/AdminTranslations.php:599, ../../src/Translations/AdminTranslations.php:682, ../../src/Translations/AdminTranslations.php:688, ../../src/Translations/AdminTranslations.php:744, ../../src/Translations/AdminTranslations.php:750, ../../src/Translations/AdminTranslations.php:816, ../../src/Translations/AdminTranslations.php:822, ../../src/Translations/AdminTranslations.php:916, ../../src/Translations/AdminTranslations.php:922
msgid "Currency conversion is"
msgstr ""
@@ -480,15 +480,15 @@ msgstr ""
msgid "will not be automatically redirected to the store"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:355, ../../src/Translations/AdminTranslations.php:361, ../../src/Translations/AdminTranslations.php:605, ../../src/Translations/AdminTranslations.php:611
+#: ../../src/Translations/AdminTranslations.php:355, ../../src/Translations/AdminTranslations.php:361, ../../src/Translations/AdminTranslations.php:617, ../../src/Translations/AdminTranslations.php:623
msgid "Pending payments"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:356, ../../src/Translations/AdminTranslations.php:606
+#: ../../src/Translations/AdminTranslations.php:356, ../../src/Translations/AdminTranslations.php:618
msgid "will be automatically declined"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:362, ../../src/Translations/AdminTranslations.php:612
+#: ../../src/Translations/AdminTranslations.php:362, ../../src/Translations/AdminTranslations.php:624
msgid "will not be automatically declined"
msgstr ""
@@ -500,7 +500,7 @@ msgstr ""
msgid "Your clients finalize their payments in Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:368, ../../src/Translations/AdminTranslations.php:471
+#: ../../src/Translations/AdminTranslations.php:368, ../../src/Translations/AdminTranslations.php:483
msgid "Mercado Pago - Checkout Pro"
msgstr ""
@@ -512,19 +512,19 @@ msgstr ""
msgid "With Checkout Pro you sell with all the safety inside Mercado Pago environment."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:372, ../../src/Translations/AdminTranslations.php:475, ../../src/Translations/AdminTranslations.php:686, ../../src/Translations/AdminTranslations.php:748, ../../src/Translations/AdminTranslations.php:829, ../../src/Translations/AdminTranslations.php:922
+#: ../../src/Translations/AdminTranslations.php:372, ../../src/Translations/AdminTranslations.php:487, ../../src/Translations/AdminTranslations.php:698, ../../src/Translations/AdminTranslations.php:760, ../../src/Translations/AdminTranslations.php:841, ../../src/Translations/AdminTranslations.php:934
msgid "Mercado Pago plugin general settings"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:373, ../../src/Translations/AdminTranslations.php:476, ../../src/Translations/AdminTranslations.php:623, ../../src/Translations/AdminTranslations.php:687, ../../src/Translations/AdminTranslations.php:749, ../../src/Translations/AdminTranslations.php:830, ../../src/Translations/AdminTranslations.php:923
+#: ../../src/Translations/AdminTranslations.php:373, ../../src/Translations/AdminTranslations.php:488, ../../src/Translations/AdminTranslations.php:635, ../../src/Translations/AdminTranslations.php:699, ../../src/Translations/AdminTranslations.php:761, ../../src/Translations/AdminTranslations.php:842, ../../src/Translations/AdminTranslations.php:935
msgid "Set the deadlines and fees, test your store or access the Plugin manual."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:374, ../../src/Translations/AdminTranslations.php:477, ../../src/Translations/AdminTranslations.php:624, ../../src/Translations/AdminTranslations.php:688, ../../src/Translations/AdminTranslations.php:750, ../../src/Translations/AdminTranslations.php:831, ../../src/Translations/AdminTranslations.php:924
+#: ../../src/Translations/AdminTranslations.php:374, ../../src/Translations/AdminTranslations.php:489, ../../src/Translations/AdminTranslations.php:636, ../../src/Translations/AdminTranslations.php:700, ../../src/Translations/AdminTranslations.php:762, ../../src/Translations/AdminTranslations.php:843, ../../src/Translations/AdminTranslations.php:936
msgid "Go to Settings"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:375, ../../src/Translations/AdminTranslations.php:625, ../../src/Translations/AdminTranslations.php:832, ../../src/Translations/AdminTranslations.php:925
+#: ../../src/Translations/AdminTranslations.php:375, ../../src/Translations/AdminTranslations.php:637, ../../src/Translations/AdminTranslations.php:844, ../../src/Translations/AdminTranslations.php:937
msgid "Enable the checkout"
msgstr ""
@@ -532,23 +532,23 @@ msgstr ""
msgid "By disabling it, you will disable all payments from Mercado Pago Checkout at Mercado Pago website by redirect."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:379, ../../src/Translations/AdminTranslations.php:629, ../../src/Translations/AdminTranslations.php:693, ../../src/Translations/AdminTranslations.php:755, ../../src/Translations/AdminTranslations.php:836
+#: ../../src/Translations/AdminTranslations.php:379, ../../src/Translations/AdminTranslations.php:641, ../../src/Translations/AdminTranslations.php:705, ../../src/Translations/AdminTranslations.php:767, ../../src/Translations/AdminTranslations.php:848
msgid "Title in the store Checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:380, ../../src/Translations/AdminTranslations.php:630, ../../src/Translations/AdminTranslations.php:694, ../../src/Translations/AdminTranslations.php:756, ../../src/Translations/AdminTranslations.php:837
+#: ../../src/Translations/AdminTranslations.php:380, ../../src/Translations/AdminTranslations.php:642, ../../src/Translations/AdminTranslations.php:706, ../../src/Translations/AdminTranslations.php:768, ../../src/Translations/AdminTranslations.php:849
msgid "Change the display text in Checkout, maximum characters: 85"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:382, ../../src/Translations/AdminTranslations.php:489, ../../src/Translations/AdminTranslations.php:632, ../../src/Translations/AdminTranslations.php:696, ../../src/Translations/AdminTranslations.php:758, ../../src/Translations/AdminTranslations.php:839, ../../src/Translations/AdminTranslations.php:932
+#: ../../src/Translations/AdminTranslations.php:382, ../../src/Translations/AdminTranslations.php:501, ../../src/Translations/AdminTranslations.php:644, ../../src/Translations/AdminTranslations.php:708, ../../src/Translations/AdminTranslations.php:770, ../../src/Translations/AdminTranslations.php:851, ../../src/Translations/AdminTranslations.php:944
msgid "The text inserted here will not be translated to other languages"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:383, ../../src/Translations/AdminTranslations.php:490, ../../src/Translations/AdminTranslations.php:636, ../../src/Translations/AdminTranslations.php:697, ../../src/Translations/AdminTranslations.php:759, ../../src/Translations/AdminTranslations.php:853, ../../src/Translations/AdminTranslations.php:933
+#: ../../src/Translations/AdminTranslations.php:383, ../../src/Translations/AdminTranslations.php:502, ../../src/Translations/AdminTranslations.php:648, ../../src/Translations/AdminTranslations.php:709, ../../src/Translations/AdminTranslations.php:771, ../../src/Translations/AdminTranslations.php:865, ../../src/Translations/AdminTranslations.php:945
msgid "Convert Currency"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:384, ../../src/Translations/AdminTranslations.php:491, ../../src/Translations/AdminTranslations.php:637, ../../src/Translations/AdminTranslations.php:698, ../../src/Translations/AdminTranslations.php:760, ../../src/Translations/AdminTranslations.php:854, ../../src/Translations/AdminTranslations.php:934
+#: ../../src/Translations/AdminTranslations.php:384, ../../src/Translations/AdminTranslations.php:503, ../../src/Translations/AdminTranslations.php:649, ../../src/Translations/AdminTranslations.php:710, ../../src/Translations/AdminTranslations.php:772, ../../src/Translations/AdminTranslations.php:866, ../../src/Translations/AdminTranslations.php:946
msgid "Activate this option so that the value of the currency set in WooCommerce is compatible with the value of the currency you use in Mercado Pago."
msgstr ""
@@ -624,11 +624,11 @@ msgstr ""
msgid "24 installments"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:405, ../../src/Translations/AdminTranslations.php:504, ../../src/Translations/AdminTranslations.php:937
+#: ../../src/Translations/AdminTranslations.php:405, ../../src/Translations/AdminTranslations.php:516, ../../src/Translations/AdminTranslations.php:949
msgid "Advanced settings"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:406, ../../src/Translations/AdminTranslations.php:505, ../../src/Translations/AdminTranslations.php:646, ../../src/Translations/AdminTranslations.php:704, ../../src/Translations/AdminTranslations.php:764, ../../src/Translations/AdminTranslations.php:861, ../../src/Translations/AdminTranslations.php:938
+#: ../../src/Translations/AdminTranslations.php:406, ../../src/Translations/AdminTranslations.php:517, ../../src/Translations/AdminTranslations.php:658, ../../src/Translations/AdminTranslations.php:716, ../../src/Translations/AdminTranslations.php:776, ../../src/Translations/AdminTranslations.php:873, ../../src/Translations/AdminTranslations.php:950
msgid "Edit these advanced fields only when you want to modify the preset values."
msgstr ""
@@ -680,11 +680,11 @@ msgstr ""
msgid "Choose the URL that we will show to your customers when they have a payment pending approval."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:421, ../../src/Translations/AdminTranslations.php:647
+#: ../../src/Translations/AdminTranslations.php:421, ../../src/Translations/AdminTranslations.php:659
msgid "Automatic decline of payments without instant approval"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:422, ../../src/Translations/AdminTranslations.php:648
+#: ../../src/Translations/AdminTranslations.php:422, ../../src/Translations/AdminTranslations.php:660
msgid "Enable it if you want to automatically decline payments that are not instantly approved by banks or other institutions."
msgstr ""
@@ -692,23 +692,23 @@ msgstr ""
msgid "Debit, Credit and Invoice in Mercado Pago environment."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:426, ../../src/Translations/AdminTranslations.php:506, ../../src/Translations/AdminTranslations.php:651, ../../src/Translations/AdminTranslations.php:713, ../../src/Translations/AdminTranslations.php:773, ../../src/Translations/AdminTranslations.php:862, ../../src/Translations/AdminTranslations.php:939
+#: ../../src/Translations/AdminTranslations.php:426, ../../src/Translations/AdminTranslations.php:518, ../../src/Translations/AdminTranslations.php:663, ../../src/Translations/AdminTranslations.php:725, ../../src/Translations/AdminTranslations.php:785, ../../src/Translations/AdminTranslations.php:874, ../../src/Translations/AdminTranslations.php:951
msgid "Discount in Mercado Pago Checkouts"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:427, ../../src/Translations/AdminTranslations.php:507, ../../src/Translations/AdminTranslations.php:652, ../../src/Translations/AdminTranslations.php:714, ../../src/Translations/AdminTranslations.php:774, ../../src/Translations/AdminTranslations.php:863, ../../src/Translations/AdminTranslations.php:940
+#: ../../src/Translations/AdminTranslations.php:427, ../../src/Translations/AdminTranslations.php:519, ../../src/Translations/AdminTranslations.php:664, ../../src/Translations/AdminTranslations.php:726, ../../src/Translations/AdminTranslations.php:786, ../../src/Translations/AdminTranslations.php:875, ../../src/Translations/AdminTranslations.php:952
msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:428, ../../src/Translations/AdminTranslations.php:431, ../../src/Translations/AdminTranslations.php:508, ../../src/Translations/AdminTranslations.php:511, ../../src/Translations/AdminTranslations.php:653, ../../src/Translations/AdminTranslations.php:656, ../../src/Translations/AdminTranslations.php:715, ../../src/Translations/AdminTranslations.php:718, ../../src/Translations/AdminTranslations.php:775, ../../src/Translations/AdminTranslations.php:778, ../../src/Translations/AdminTranslations.php:864, ../../src/Translations/AdminTranslations.php:867, ../../src/Translations/AdminTranslations.php:941, ../../src/Translations/AdminTranslations.php:944
+#: ../../src/Translations/AdminTranslations.php:428, ../../src/Translations/AdminTranslations.php:431, ../../src/Translations/AdminTranslations.php:520, ../../src/Translations/AdminTranslations.php:523, ../../src/Translations/AdminTranslations.php:665, ../../src/Translations/AdminTranslations.php:668, ../../src/Translations/AdminTranslations.php:727, ../../src/Translations/AdminTranslations.php:730, ../../src/Translations/AdminTranslations.php:787, ../../src/Translations/AdminTranslations.php:790, ../../src/Translations/AdminTranslations.php:876, ../../src/Translations/AdminTranslations.php:879, ../../src/Translations/AdminTranslations.php:953, ../../src/Translations/AdminTranslations.php:956
msgid "Activate and show this information on Mercado Pago Checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:429, ../../src/Translations/AdminTranslations.php:509, ../../src/Translations/AdminTranslations.php:654, ../../src/Translations/AdminTranslations.php:716, ../../src/Translations/AdminTranslations.php:776, ../../src/Translations/AdminTranslations.php:865, ../../src/Translations/AdminTranslations.php:942
+#: ../../src/Translations/AdminTranslations.php:429, ../../src/Translations/AdminTranslations.php:521, ../../src/Translations/AdminTranslations.php:666, ../../src/Translations/AdminTranslations.php:728, ../../src/Translations/AdminTranslations.php:788, ../../src/Translations/AdminTranslations.php:877, ../../src/Translations/AdminTranslations.php:954
msgid "Commission in Mercado Pago Checkouts"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:430, ../../src/Translations/AdminTranslations.php:510, ../../src/Translations/AdminTranslations.php:655, ../../src/Translations/AdminTranslations.php:717, ../../src/Translations/AdminTranslations.php:777, ../../src/Translations/AdminTranslations.php:866, ../../src/Translations/AdminTranslations.php:943
+#: ../../src/Translations/AdminTranslations.php:430, ../../src/Translations/AdminTranslations.php:522, ../../src/Translations/AdminTranslations.php:667, ../../src/Translations/AdminTranslations.php:729, ../../src/Translations/AdminTranslations.php:789, ../../src/Translations/AdminTranslations.php:878, ../../src/Translations/AdminTranslations.php:955
msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago."
msgstr ""
@@ -717,1006 +717,1010 @@ msgid "This seems to be an invalid URL"
msgstr ""
#: ../../src/Translations/AdminTranslations.php:446, ../../src/Translations/AdminTranslations.php:452
+msgid "“Installments without cards through Mercado Pago” is"
+msgstr ""
+
+#: ../../src/Translations/AdminTranslations.php:458, ../../src/Translations/AdminTranslations.php:464
msgid "“Up to 12 installments without cards through Mercado Pago” is"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:469
+#: ../../src/Translations/AdminTranslations.php:481
msgid "Installments without cards through Mercado Pago"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:470, ../../src/Translations/AdminTranslations.php:472
+#: ../../src/Translations/AdminTranslations.php:482, ../../src/Translations/AdminTranslations.php:484
msgid "Your customers finish their payments on Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:473
+#: ../../src/Translations/AdminTranslations.php:485
msgid "Up to 12 installments without cards through Mercado Pago"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:474
+#: ../../src/Translations/AdminTranslations.php:486
msgid "With this alternative, you’ll be able to sell in installments without cards and receive the money immediately with the same fees as with credit cards. Your sales are protected and guaranteed by Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:478
+#: ../../src/Translations/AdminTranslations.php:490
msgid "Activate the installments without cards in the checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:479
+#: ../../src/Translations/AdminTranslations.php:491
msgid "Activate this feature to reach more buyers. It will be available in your store's checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:482
+#: ../../src/Translations/AdminTranslations.php:494
msgid "Checkout visualization"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:483
+#: ../../src/Translations/AdminTranslations.php:495
msgid "Check below how this feature will be displayed to your customers:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:484
+#: ../../src/Translations/AdminTranslations.php:496
msgid "Checkout Preview"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:485
+#: ../../src/Translations/AdminTranslations.php:497
msgid "PREVIEW"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:486
+#: ../../src/Translations/AdminTranslations.php:498
msgid "Title in the checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:487
+#: ../../src/Translations/AdminTranslations.php:499
msgid "We recommend using the default title. Maximum characters: 85."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:488
+#: ../../src/Translations/AdminTranslations.php:500
msgid "Checkout without card"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:494
+#: ../../src/Translations/AdminTranslations.php:506
msgid "Promote the payment of your products with Mercado Pago"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:495
+#: ../../src/Translations/AdminTranslations.php:507
msgid "Activate this promotional banner to offer the option of paying in installments without cards through Mercado Pago within product pages."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:498
+#: ../../src/Translations/AdminTranslations.php:510
msgid "Banner on the product page | Computer version"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:499
+#: ../../src/Translations/AdminTranslations.php:511
msgid "Banner on the product page | Cellphone version"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:500
+#: ../../src/Translations/AdminTranslations.php:512
msgid "Computer"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:501
+#: ../../src/Translations/AdminTranslations.php:513
msgid "Mobile"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:502
+#: ../../src/Translations/AdminTranslations.php:514
msgid "Display in your product pages"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:503
+#: ../../src/Translations/AdminTranslations.php:515
msgid "Below you can preview how the banner will be displayed to your customers:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:512
+#: ../../src/Translations/AdminTranslations.php:524
msgid "Choose how to promote “Pagos sin Tarjeta de Mercado Pago” on your store"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:513
+#: ../../src/Translations/AdminTranslations.php:525
msgid "You can only select one alternative and you may edit it whenever you want."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:514
+#: ../../src/Translations/AdminTranslations.php:526
msgid "Example:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:529, ../../src/Translations/StoreTranslations.php:196
+#: ../../src/Translations/AdminTranslations.php:541, ../../src/Translations/StoreTranslations.php:196
msgid "Up to 12 installments without cards"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:530, ../../src/Translations/AdminTranslations.php:536
+#: ../../src/Translations/AdminTranslations.php:542, ../../src/Translations/AdminTranslations.php:548
msgid "through Mercado Pago. Learn more"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:535, ../../src/Translations/StoreTranslations.php:202
+#: ../../src/Translations/AdminTranslations.php:547, ../../src/Translations/StoreTranslations.php:202
msgid "Buy now, pay later"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:541, ../../src/Translations/StoreTranslations.php:208
+#: ../../src/Translations/AdminTranslations.php:553, ../../src/Translations/StoreTranslations.php:208
msgid "With Mercado Pago,"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:542, ../../src/Translations/StoreTranslations.php:209
+#: ../../src/Translations/AdminTranslations.php:554, ../../src/Translations/StoreTranslations.php:209
msgid "get it now and pay month by month"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:543
+#: ../../src/Translations/AdminTranslations.php:555
msgid " Learn more"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:548, ../../src/Translations/StoreTranslations.php:214
+#: ../../src/Translations/AdminTranslations.php:560, ../../src/Translations/StoreTranslations.php:214
msgid "Pay in up to 12 installments"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:549
+#: ../../src/Translations/AdminTranslations.php:561
msgid "without credit card. Learn more"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:569, ../../src/Translations/AdminTranslations.php:575
+#: ../../src/Translations/AdminTranslations.php:581, ../../src/Translations/AdminTranslations.php:587
msgid "Transparent Checkout for credit cards is"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:593, ../../src/Translations/AdminTranslations.php:599
+#: ../../src/Translations/AdminTranslations.php:605, ../../src/Translations/AdminTranslations.php:611
msgid "Payments via Mercado Pago accounts are"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:616, ../../src/Translations/AdminTranslations.php:631
+#: ../../src/Translations/AdminTranslations.php:628, ../../src/Translations/AdminTranslations.php:643
msgid "Credit and debit cards"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:617, ../../src/Translations/AdminTranslations.php:619, ../../src/Translations/AdminTranslations.php:682, ../../src/Translations/AdminTranslations.php:744, ../../src/Translations/AdminTranslations.php:824, ../../src/Translations/AdminTranslations.php:826
+#: ../../src/Translations/AdminTranslations.php:629, ../../src/Translations/AdminTranslations.php:631, ../../src/Translations/AdminTranslations.php:694, ../../src/Translations/AdminTranslations.php:756, ../../src/Translations/AdminTranslations.php:836, ../../src/Translations/AdminTranslations.php:838
msgid "Payments without leaving your store with our customizable checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:618, ../../src/Translations/AdminTranslations.php:683, ../../src/Translations/AdminTranslations.php:745, ../../src/Translations/AdminTranslations.php:825, ../../src/Translations/AdminTranslations.php:918
+#: ../../src/Translations/AdminTranslations.php:630, ../../src/Translations/AdminTranslations.php:695, ../../src/Translations/AdminTranslations.php:757, ../../src/Translations/AdminTranslations.php:837, ../../src/Translations/AdminTranslations.php:930
msgid "Mercado Pago - Checkout API"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:620
+#: ../../src/Translations/AdminTranslations.php:632
msgid "Transparent Checkout | Credit card"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:621
+#: ../../src/Translations/AdminTranslations.php:633
msgid "With the Transparent Checkout, you can sell inside your store environment, without redirection and with the security from Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:622
+#: ../../src/Translations/AdminTranslations.php:634
msgid "Mercado Pago Plugin general settings"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:626
+#: ../../src/Translations/AdminTranslations.php:638
msgid "By disabling it, you will disable all credit cards payments from Mercado Pago Transparent Checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:633
+#: ../../src/Translations/AdminTranslations.php:645
msgid "Installments Fees"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:634
+#: ../../src/Translations/AdminTranslations.php:646
msgid "Set installment fees and whether they will be charged from the store or from the buyer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:635
+#: ../../src/Translations/AdminTranslations.php:647
msgid "Set fees"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:640
+#: ../../src/Translations/AdminTranslations.php:652
msgid "Payments via Mercado Pago account"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:641
+#: ../../src/Translations/AdminTranslations.php:653
msgid "Your customers pay faster with saved cards, money balance or other available methods in their Mercado Pago accounts."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:644
+#: ../../src/Translations/AdminTranslations.php:656
msgid "Check an example of how it will appear in your store:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:645
+#: ../../src/Translations/AdminTranslations.php:657
msgid "Advanced configuration of the personalized payment experience"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:681, ../../src/Translations/AdminTranslations.php:695
+#: ../../src/Translations/AdminTranslations.php:693, ../../src/Translations/AdminTranslations.php:707
msgid "Invoice"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:684
+#: ../../src/Translations/AdminTranslations.php:696
msgid "Transparent Checkout | Invoice or Loterica"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:685, ../../src/Translations/AdminTranslations.php:747, ../../src/Translations/AdminTranslations.php:828
+#: ../../src/Translations/AdminTranslations.php:697, ../../src/Translations/AdminTranslations.php:759, ../../src/Translations/AdminTranslations.php:840
msgid "With the Transparent Checkout, you can sell inside your store environment, without redirection and all the safety from Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:689, ../../src/Translations/AdminTranslations.php:751
+#: ../../src/Translations/AdminTranslations.php:701, ../../src/Translations/AdminTranslations.php:763
msgid "Enable the Checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:690
+#: ../../src/Translations/AdminTranslations.php:702
msgid "By disabling it, you will disable all invoice payments from Mercado Pago Transparent Checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:691
+#: ../../src/Translations/AdminTranslations.php:703
msgid "The transparent checkout for tickets is enabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:692
+#: ../../src/Translations/AdminTranslations.php:704
msgid "The transparent checkout for tickets is disabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:701
+#: ../../src/Translations/AdminTranslations.php:713
msgid "Payment Due"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:702
+#: ../../src/Translations/AdminTranslations.php:714
msgid "In how many days will cash payments expire."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:703
+#: ../../src/Translations/AdminTranslations.php:715
msgid "Advanced configuration of the cash payment experience"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:705, ../../src/Translations/AdminTranslations.php:765
+#: ../../src/Translations/AdminTranslations.php:717, ../../src/Translations/AdminTranslations.php:777
msgid "Reduce inventory"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:706, ../../src/Translations/AdminTranslations.php:766
+#: ../../src/Translations/AdminTranslations.php:718, ../../src/Translations/AdminTranslations.php:778
msgid "Activates inventory reduction during the creation of an order, whether or not the final payment is credited. Disable this option to reduce it only when payments are approved."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:707, ../../src/Translations/AdminTranslations.php:767
+#: ../../src/Translations/AdminTranslations.php:719, ../../src/Translations/AdminTranslations.php:779
msgid "Reduce inventory is enabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:708, ../../src/Translations/AdminTranslations.php:768
+#: ../../src/Translations/AdminTranslations.php:720, ../../src/Translations/AdminTranslations.php:780
msgid "Reduce inventory is disabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:710, ../../src/Translations/AdminTranslations.php:770
+#: ../../src/Translations/AdminTranslations.php:722, ../../src/Translations/AdminTranslations.php:782
msgid "Enable the available payment methods"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:711, ../../src/Translations/AdminTranslations.php:771
+#: ../../src/Translations/AdminTranslations.php:723, ../../src/Translations/AdminTranslations.php:783
msgid "Choose the available payment methods in your store."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:712, ../../src/Translations/AdminTranslations.php:772
+#: ../../src/Translations/AdminTranslations.php:724, ../../src/Translations/AdminTranslations.php:784
msgid "All payment methods"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:743, ../../src/Translations/AdminTranslations.php:757
+#: ../../src/Translations/AdminTranslations.php:755, ../../src/Translations/AdminTranslations.php:769
msgid "PSE"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:746
+#: ../../src/Translations/AdminTranslations.php:758
msgid "Transparent Checkout PSE"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:752
+#: ../../src/Translations/AdminTranslations.php:764
msgid "By deactivating it, you will disable PSE payments from Mercado Pago Transparent Checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:753
+#: ../../src/Translations/AdminTranslations.php:765
msgid "The transparent checkout for PSE is enabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:754
+#: ../../src/Translations/AdminTranslations.php:766
msgid "The transparent checkout for PSE is disabled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:763
+#: ../../src/Translations/AdminTranslations.php:775
msgid "Advanced configuration of the PSE payment experience"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:792, ../../src/Translations/AdminTranslations.php:798
+#: ../../src/Translations/AdminTranslations.php:804, ../../src/Translations/AdminTranslations.php:810
msgid "The transparent checkout for Pix payment is"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:816
+#: ../../src/Translations/AdminTranslations.php:828
msgid "Go to the"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:817
+#: ../../src/Translations/AdminTranslations.php:829
msgid "Your Profile"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:818
+#: ../../src/Translations/AdminTranslations.php:830
msgid "area and choose the"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:819
+#: ../../src/Translations/AdminTranslations.php:831
msgid "Your Pix Keys section"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:823, ../../src/Translations/AdminTranslations.php:838
+#: ../../src/Translations/AdminTranslations.php:835, ../../src/Translations/AdminTranslations.php:850
msgid "Pix"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:827
+#: ../../src/Translations/AdminTranslations.php:839
msgid "Transparent Checkout | Pix"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:833
+#: ../../src/Translations/AdminTranslations.php:845
msgid "By disabling it, you will disable all Pix payments from Mercado Pago Transparent Checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:840
+#: ../../src/Translations/AdminTranslations.php:852
msgid "Expiration for payments via Pix"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:841
+#: ../../src/Translations/AdminTranslations.php:853
msgid "Set the limit in minutes for your clients to pay via Pix."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:842
+#: ../../src/Translations/AdminTranslations.php:854
msgid "15 minutes"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:843
+#: ../../src/Translations/AdminTranslations.php:855
msgid "30 minutes (recommended)"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:844
+#: ../../src/Translations/AdminTranslations.php:856
msgid "60 minutes"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:845
+#: ../../src/Translations/AdminTranslations.php:857
msgid "12 hours"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:846
+#: ../../src/Translations/AdminTranslations.php:858
msgid "24 hours"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:847
+#: ../../src/Translations/AdminTranslations.php:859
msgid "2 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:848
+#: ../../src/Translations/AdminTranslations.php:860
msgid "3 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:849
+#: ../../src/Translations/AdminTranslations.php:861
msgid "4 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:850
+#: ../../src/Translations/AdminTranslations.php:862
msgid "5 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:851
+#: ../../src/Translations/AdminTranslations.php:863
msgid "6 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:852
+#: ../../src/Translations/AdminTranslations.php:864
msgid "7 days"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:857
+#: ../../src/Translations/AdminTranslations.php:869
msgid "Would you like to know how Pix works?"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:858
+#: ../../src/Translations/AdminTranslations.php:870
msgid "We have a dedicated page where we explain how it works and its advantages."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:859
+#: ../../src/Translations/AdminTranslations.php:871
msgid "Find out more about Pix"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:860
+#: ../../src/Translations/AdminTranslations.php:872
msgid "Advanced configuration of the Pix experience"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:868
+#: ../../src/Translations/AdminTranslations.php:880
msgid "To activate Pix, you must have a key registered in Mercado Pago."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:869
+#: ../../src/Translations/AdminTranslations.php:881
msgid "Download the Mercado Pago app on your cell phone."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:871
+#: ../../src/Translations/AdminTranslations.php:883
msgid "Choose which data to register as Pix keys. After registering, you can set up Pix in your checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:872
+#: ../../src/Translations/AdminTranslations.php:884
msgid "Remember that, for the time being, the Central Bank of Brazil is open Monday through Friday, from 9am to 6pm."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:873
+#: ../../src/Translations/AdminTranslations.php:885
msgid "If you requested your registration outside these hours, we will confirm it within the next business day."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:874
+#: ../../src/Translations/AdminTranslations.php:886
msgid "Learn more about Pix"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:875
+#: ../../src/Translations/AdminTranslations.php:887
msgid "If you have already registered a Pix key at Mercado Pago and cannot activate Pix in the checkout, "
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:876
+#: ../../src/Translations/AdminTranslations.php:888
msgid "click here."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:890, ../../src/Translations/AdminTranslations.php:897
+#: ../../src/Translations/AdminTranslations.php:902, ../../src/Translations/AdminTranslations.php:909
msgid "Checkout API is"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:891
+#: ../../src/Translations/AdminTranslations.php:903
msgid "active"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:892, ../../src/Translations/AdminTranslations.php:899
+#: ../../src/Translations/AdminTranslations.php:904, ../../src/Translations/AdminTranslations.php:911
msgid "for payments with Yape"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:916, ../../src/Translations/AdminTranslations.php:931
+#: ../../src/Translations/AdminTranslations.php:928, ../../src/Translations/AdminTranslations.php:943
msgid "Yape"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:917, ../../src/Translations/AdminTranslations.php:919
+#: ../../src/Translations/AdminTranslations.php:929, ../../src/Translations/AdminTranslations.php:931
msgid "Payments without leaving your store with our customizable checkout."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:920
+#: ../../src/Translations/AdminTranslations.php:932
msgid "Checkout API | Yape"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:921
+#: ../../src/Translations/AdminTranslations.php:933
msgid "Receive payments through the Yape app automatically, without redirects, and with all the security of Mercado Pago. "
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:926
+#: ../../src/Translations/AdminTranslations.php:938
msgid "By disabling it, you will disable Yape from the Mercado Pago Checkout API."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:929
+#: ../../src/Translations/AdminTranslations.php:941
msgid "Title in the website’s checkout"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:930
+#: ../../src/Translations/AdminTranslations.php:942
msgid "Enter a title and a description for Yape in your Checkout API , maximum characters: 85"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:958
+#: ../../src/Translations/AdminTranslations.php:970
msgid "To enable test mode"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:960
+#: ../../src/Translations/AdminTranslations.php:972
msgid "copy your test credentials"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:961
+#: ../../src/Translations/AdminTranslations.php:973
msgid "and paste them above in section 1 of this page"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:966
+#: ../../src/Translations/AdminTranslations.php:978
msgid "Create your"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:968
+#: ../../src/Translations/AdminTranslations.php:980
msgid "test user"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:969
+#: ../../src/Translations/AdminTranslations.php:981
msgid "(Optional. Can be used in Production Mode and Test Mode, to test payments)"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:975
+#: ../../src/Translations/AdminTranslations.php:987
msgid "Use our test cards"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:976
+#: ../../src/Translations/AdminTranslations.php:988
msgid "never use real cards"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:982
+#: ../../src/Translations/AdminTranslations.php:994
msgid "Visit your store"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:983
+#: ../../src/Translations/AdminTranslations.php:995
msgid "to test purchases"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:987
+#: ../../src/Translations/AdminTranslations.php:999
msgid "4. Test your store before you start to sell"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:988
+#: ../../src/Translations/AdminTranslations.php:1000
msgid "Choose how you want to operate your store:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:989
+#: ../../src/Translations/AdminTranslations.php:1001
msgid "Test Mode"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:990
+#: ../../src/Translations/AdminTranslations.php:1002
msgid "Sale Mode (Production)"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:991
+#: ../../src/Translations/AdminTranslations.php:1003
msgid "Mercado Pago payment methods in Production Mode"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:992
+#: ../../src/Translations/AdminTranslations.php:1004
msgid "Mercado Pago payment methods in Test Mode"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:993
+#: ../../src/Translations/AdminTranslations.php:1005
msgid "Enter test credentials"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:994
+#: ../../src/Translations/AdminTranslations.php:1006
msgid "Select “Test Mode” if you want to try the payment experience before you start to sell or “Sales Mode” (Production) to start now."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:995
+#: ../../src/Translations/AdminTranslations.php:1007
msgid "Mercado Pago Checkouts disabled for real collections."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:996
+#: ../../src/Translations/AdminTranslations.php:1008
msgid "Test Mode rules."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:997
+#: ../../src/Translations/AdminTranslations.php:1009
msgid "Mercado Pago Checkouts enabled for real collections."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:998
+#: ../../src/Translations/AdminTranslations.php:1010
msgid "The clients can make real purchases in your store."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1003
+#: ../../src/Translations/AdminTranslations.php:1015
msgid "Store in sale mode (Production)"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1004
+#: ../../src/Translations/AdminTranslations.php:1016
msgid "Store under test"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1005
+#: ../../src/Translations/AdminTranslations.php:1017
msgid "Save changes"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1017
+#: ../../src/Translations/AdminTranslations.php:1029
msgid "Store business fields are valid"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1018
+#: ../../src/Translations/AdminTranslations.php:1030
msgid "Store business fields could not be validated"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1019
+#: ../../src/Translations/AdminTranslations.php:1031
msgid "At least one payment method is enabled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1020
+#: ../../src/Translations/AdminTranslations.php:1032
msgid "No payment method enabled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1021
+#: ../../src/Translations/AdminTranslations.php:1033
msgid "Credentials fields are valid"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1022
+#: ../../src/Translations/AdminTranslations.php:1034
msgid "Credentials fields could not be validated"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1034
+#: ../../src/Translations/AdminTranslations.php:1046
msgid "Valid Public Key"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1035
+#: ../../src/Translations/AdminTranslations.php:1047
msgid "Invalid Public Key"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1036
+#: ../../src/Translations/AdminTranslations.php:1048
msgid "Valid Access Token"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1037
+#: ../../src/Translations/AdminTranslations.php:1049
msgid "Invalid Access Token"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1049
+#: ../../src/Translations/AdminTranslations.php:1061
msgid "Credentials were updated"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1050
+#: ../../src/Translations/AdminTranslations.php:1062
msgid "Your store has exited Test Mode and is making real sales in Production Mode."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1051
+#: ../../src/Translations/AdminTranslations.php:1063
msgid "To test the store, re-enter both test credentials."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1052
+#: ../../src/Translations/AdminTranslations.php:1064
msgid "Invalid credentials"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1053
+#: ../../src/Translations/AdminTranslations.php:1065
msgid "See our manual to learn"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1054
+#: ../../src/Translations/AdminTranslations.php:1066
msgid "how to enter the credentials the right way."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1055
+#: ../../src/Translations/AdminTranslations.php:1067
msgid " for test mode"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1067
+#: ../../src/Translations/AdminTranslations.php:1079
msgid "Store information is valid"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1080
+#: ../../src/Translations/AdminTranslations.php:1092
msgid "Attention:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1081
+#: ../../src/Translations/AdminTranslations.php:1093
msgid "The currency settings you have in WooCommerce are not compatible with the currency you use in your Mercado Pago account. Please activate the currency conversion."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1084
+#: ../../src/Translations/AdminTranslations.php:1096
msgid "We are converting your currency from: "
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1100
+#: ../../src/Translations/AdminTranslations.php:1112
msgid "to "
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1111
+#: ../../src/Translations/AdminTranslations.php:1123
msgid "Payment status on Mercado Pago"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1112
+#: ../../src/Translations/AdminTranslations.php:1124
msgid "This is the payment status of your Mercado Pago Activities. To check the order status, please refer to Order details."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1113, ../../src/Translations/AdminTranslations.php:1115
+#: ../../src/Translations/AdminTranslations.php:1125, ../../src/Translations/AdminTranslations.php:1127
msgid "View purchase details at Mercado Pago"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1114, ../../src/Translations/AdminTranslations.php:1116, ../../src/Translations/AdminTranslations.php:1118
+#: ../../src/Translations/AdminTranslations.php:1126, ../../src/Translations/AdminTranslations.php:1128, ../../src/Translations/AdminTranslations.php:1130
msgid "Sync order status"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1117
+#: ../../src/Translations/AdminTranslations.php:1129
msgid "Consult the reasons for refusal"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1119
+#: ../../src/Translations/AdminTranslations.php:1131
msgid "Order update successfully. This page will be reloaded..."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1120
+#: ../../src/Translations/AdminTranslations.php:1132
msgid "Unable to update order:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1121
+#: ../../src/Translations/AdminTranslations.php:1133
msgid "Payment made"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1122
+#: ../../src/Translations/AdminTranslations.php:1134
msgid "Payment made by the buyer and already credited in the account."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1123
+#: ../../src/Translations/AdminTranslations.php:1135
msgid "Call resolved"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1124, ../../src/Translations/AdminTranslations.php:1174
+#: ../../src/Translations/AdminTranslations.php:1136, ../../src/Translations/AdminTranslations.php:1186
msgid "Please contact Mercado Pago for further details."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1125
+#: ../../src/Translations/AdminTranslations.php:1137
msgid "Payment refunded"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1126
+#: ../../src/Translations/AdminTranslations.php:1138
msgid "Your refund request has been made. Please contact Mercado Pago for further details."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1127, ../../src/Translations/AdminTranslations.php:1129
+#: ../../src/Translations/AdminTranslations.php:1139, ../../src/Translations/AdminTranslations.php:1141
msgid "Payment returned"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1128
+#: ../../src/Translations/AdminTranslations.php:1140
msgid "The payment has been returned to the client."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1130
+#: ../../src/Translations/AdminTranslations.php:1142
msgid "The payment has been partially returned to the client."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1131
+#: ../../src/Translations/AdminTranslations.php:1143
msgid "Payment canceled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1132
+#: ../../src/Translations/AdminTranslations.php:1144
msgid "The payment has been successfully canceled."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1133
+#: ../../src/Translations/AdminTranslations.php:1145
msgid "Purchase canceled"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1134
+#: ../../src/Translations/AdminTranslations.php:1146
msgid "The payment has been canceled by the customer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1135, ../../src/Translations/AdminTranslations.php:1137, ../../src/Translations/AdminTranslations.php:1139, ../../src/Translations/AdminTranslations.php:1141, ../../src/Translations/AdminTranslations.php:1143, ../../src/Translations/AdminTranslations.php:1151, ../../src/Translations/AdminTranslations.php:1153, ../../src/Translations/AdminTranslations.php:1155, ../../src/Translations/AdminTranslations.php:1157, ../../src/Translations/AdminTranslations.php:1159, ../../src/Translations/AdminTranslations.php:1161, ../../src/Translations/AdminTranslations.php:1163, ../../src/Translations/AdminTranslations.php:1218
+#: ../../src/Translations/AdminTranslations.php:1147, ../../src/Translations/AdminTranslations.php:1149, ../../src/Translations/AdminTranslations.php:1151, ../../src/Translations/AdminTranslations.php:1153, ../../src/Translations/AdminTranslations.php:1155, ../../src/Translations/AdminTranslations.php:1163, ../../src/Translations/AdminTranslations.php:1165, ../../src/Translations/AdminTranslations.php:1167, ../../src/Translations/AdminTranslations.php:1169, ../../src/Translations/AdminTranslations.php:1171, ../../src/Translations/AdminTranslations.php:1173, ../../src/Translations/AdminTranslations.php:1175, ../../src/Translations/AdminTranslations.php:1230
msgid "Pending payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1136, ../../src/Translations/AdminTranslations.php:1138, ../../src/Translations/AdminTranslations.php:1140, ../../src/Translations/AdminTranslations.php:1142
+#: ../../src/Translations/AdminTranslations.php:1148, ../../src/Translations/AdminTranslations.php:1150, ../../src/Translations/AdminTranslations.php:1152, ../../src/Translations/AdminTranslations.php:1154
msgid "Awaiting payment from the buyer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1144
+#: ../../src/Translations/AdminTranslations.php:1156
msgid "We are veryfing the payment. We will notify you by email in up to 6 hours if everything is fine so that you can deliver the product or provide the service."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1145, ../../src/Translations/AdminTranslations.php:1169, ../../src/Translations/AdminTranslations.php:1185, ../../src/Translations/AdminTranslations.php:1204, ../../src/Translations/AdminTranslations.php:1208, ../../src/Translations/AdminTranslations.php:1210, ../../src/Translations/AdminTranslations.php:1212, ../../src/Translations/AdminTranslations.php:1216
+#: ../../src/Translations/AdminTranslations.php:1157, ../../src/Translations/AdminTranslations.php:1181, ../../src/Translations/AdminTranslations.php:1197, ../../src/Translations/AdminTranslations.php:1216, ../../src/Translations/AdminTranslations.php:1220, ../../src/Translations/AdminTranslations.php:1222, ../../src/Translations/AdminTranslations.php:1224, ../../src/Translations/AdminTranslations.php:1228
msgid "Declined payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1146, ../../src/Translations/AdminTranslations.php:1170
+#: ../../src/Translations/AdminTranslations.php:1158, ../../src/Translations/AdminTranslations.php:1182
msgid "The card-issuing bank declined the payment. Please ask your client to use another card or to get in touch with the bank."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1147
+#: ../../src/Translations/AdminTranslations.php:1159
msgid "Payment authorized. Awaiting capture."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1148
+#: ../../src/Translations/AdminTranslations.php:1160
msgid "The payment has been authorized on the client's card. Please capture the payment."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1149
+#: ../../src/Translations/AdminTranslations.php:1161
msgid "Payment in process"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1150, ../../src/Translations/AdminTranslations.php:1160
+#: ../../src/Translations/AdminTranslations.php:1162, ../../src/Translations/AdminTranslations.php:1172
msgid "Please wait or contact Mercado Pago for further details"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1152
+#: ../../src/Translations/AdminTranslations.php:1164
msgid "The bank is reviewing the payment. As soon as we have their confirmation, we will notify you via email so that you can deliver the product or provide the service."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1154, ../../src/Translations/AdminTranslations.php:1156, ../../src/Translations/AdminTranslations.php:1158
+#: ../../src/Translations/AdminTranslations.php:1166, ../../src/Translations/AdminTranslations.php:1168, ../../src/Translations/AdminTranslations.php:1170
msgid "Awaiting payment information validation."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1162
+#: ../../src/Translations/AdminTranslations.php:1174
msgid "Waiting for the buyer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1164
+#: ../../src/Translations/AdminTranslations.php:1176
msgid "Waiting for the card issuer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1165, ../../src/Translations/AdminTranslations.php:1167, ../../src/Translations/AdminTranslations.php:1171, ../../src/Translations/AdminTranslations.php:1192, ../../src/Translations/AdminTranslations.php:1214
+#: ../../src/Translations/AdminTranslations.php:1177, ../../src/Translations/AdminTranslations.php:1179, ../../src/Translations/AdminTranslations.php:1183, ../../src/Translations/AdminTranslations.php:1204, ../../src/Translations/AdminTranslations.php:1226
msgid "The card issuing bank declined the payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1166, ../../src/Translations/AdminTranslations.php:1168, ../../src/Translations/AdminTranslations.php:1172, ../../src/Translations/AdminTranslations.php:1193, ../../src/Translations/AdminTranslations.php:1215
+#: ../../src/Translations/AdminTranslations.php:1178, ../../src/Translations/AdminTranslations.php:1180, ../../src/Translations/AdminTranslations.php:1184, ../../src/Translations/AdminTranslations.php:1205, ../../src/Translations/AdminTranslations.php:1227
msgid "Please recommend your customer to pay with another payment method or to contact their bank."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1173
+#: ../../src/Translations/AdminTranslations.php:1185
msgid "Mercado Pago did not process the payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1175, ../../src/Translations/AdminTranslations.php:1220
+#: ../../src/Translations/AdminTranslations.php:1187, ../../src/Translations/AdminTranslations.php:1232
msgid "Expired payment deadline"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1176, ../../src/Translations/AdminTranslations.php:1221
+#: ../../src/Translations/AdminTranslations.php:1188, ../../src/Translations/AdminTranslations.php:1233
msgid "The client did not pay within the time limit."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1177, ../../src/Translations/AdminTranslations.php:1179, ../../src/Translations/AdminTranslations.php:1181, ../../src/Translations/AdminTranslations.php:1222
+#: ../../src/Translations/AdminTranslations.php:1189, ../../src/Translations/AdminTranslations.php:1191, ../../src/Translations/AdminTranslations.php:1193, ../../src/Translations/AdminTranslations.php:1234
msgid "Your customer entered one or more incorrect card details"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1178, ../../src/Translations/AdminTranslations.php:1180, ../../src/Translations/AdminTranslations.php:1182, ../../src/Translations/AdminTranslations.php:1223, ../../src/Translations/AdminTranslations.php:1224
+#: ../../src/Translations/AdminTranslations.php:1190, ../../src/Translations/AdminTranslations.php:1192, ../../src/Translations/AdminTranslations.php:1194, ../../src/Translations/AdminTranslations.php:1235, ../../src/Translations/AdminTranslations.php:1236
msgid "Please ask them to enter to enter them again exactly as they appear on the card or on their bank app to complete the payment."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1183, ../../src/Translations/AdminTranslations.php:1206
+#: ../../src/Translations/AdminTranslations.php:1195, ../../src/Translations/AdminTranslations.php:1218
msgid "We protected you from a suspicious payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1184
+#: ../../src/Translations/AdminTranslations.php:1196
msgid "For safety reasons, this transaction cannot be completed."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1186, ../../src/Translations/AdminTranslations.php:1205
+#: ../../src/Translations/AdminTranslations.php:1198, ../../src/Translations/AdminTranslations.php:1217
msgid "The buyer is suspended in our platform. Your client must contact us to check what happened."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1187
+#: ../../src/Translations/AdminTranslations.php:1199
msgid "For safety reasons, the card issuing bank declined the payment"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1188, ../../src/Translations/AdminTranslations.php:1207
+#: ../../src/Translations/AdminTranslations.php:1200, ../../src/Translations/AdminTranslations.php:1219
msgid "Recommend your customer to pay with their usual payment method and device for online purchases."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1189
+#: ../../src/Translations/AdminTranslations.php:1201
msgid "Your customer's credit card has no available limit"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1190, ../../src/Translations/AdminTranslations.php:1191, ../../src/Translations/AdminTranslations.php:1195
+#: ../../src/Translations/AdminTranslations.php:1202, ../../src/Translations/AdminTranslations.php:1203, ../../src/Translations/AdminTranslations.php:1207
msgid "Please ask them to pay with another card or to choose another payment method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1194
+#: ../../src/Translations/AdminTranslations.php:1206
msgid "Your customer reached the limit of payment attempts with this card"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1196
+#: ../../src/Translations/AdminTranslations.php:1208
msgid "Your customer's card does not accept the number of installments selected"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1197
+#: ../../src/Translations/AdminTranslations.php:1209
msgid "Please ask them to choose a different number of installments or to pay with another method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1198, ../../src/Translations/AdminTranslations.php:1225
+#: ../../src/Translations/AdminTranslations.php:1210, ../../src/Translations/AdminTranslations.php:1237
msgid "Your customer needs to authorize the payment through their bank"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1199, ../../src/Translations/AdminTranslations.php:1226
+#: ../../src/Translations/AdminTranslations.php:1211, ../../src/Translations/AdminTranslations.php:1238
msgid "Please ask them to call the telephone number on their card or to pay with another method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1200
+#: ../../src/Translations/AdminTranslations.php:1212
msgid "The payment was declined because your customer already paid for this purchase"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1201
+#: ../../src/Translations/AdminTranslations.php:1213
msgid "Check your approved payments to verify it."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1202
+#: ../../src/Translations/AdminTranslations.php:1214
msgid "Your customer's card was is not activated yet"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1203
+#: ../../src/Translations/AdminTranslations.php:1215
msgid "Please ask them to contact their bank by calling the number on the back of their card or to pay with another method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1209
+#: ../../src/Translations/AdminTranslations.php:1221
msgid "This payment was declined because it did not pass Mercado Pago security controls. Please ask your client to use another card."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1211
+#: ../../src/Translations/AdminTranslations.php:1223
msgid "The amount exceeded the card limit. Please ask your client to use another card or to get in touch with the bank."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1213, ../../src/Translations/AdminTranslations.php:1217
+#: ../../src/Translations/AdminTranslations.php:1225, ../../src/Translations/AdminTranslations.php:1229
msgid "Please ask your client to use another card or to get in touch with the card issuer."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1219
+#: ../../src/Translations/AdminTranslations.php:1231
msgid "The amount exceeded the card's limit. Please ask your client to use another card or to get in touch with the bank."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1227
+#: ../../src/Translations/AdminTranslations.php:1239
msgid "Your customer's debit card has insufficient funds"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1228
+#: ../../src/Translations/AdminTranslations.php:1240
msgid "Please recommend your customer to pay with another card or to choose another payment method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1229
+#: ../../src/Translations/AdminTranslations.php:1241
msgid "Something went wrong and the payment was declined"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1230
+#: ../../src/Translations/AdminTranslations.php:1242
msgid "Please recommend you customer to try again or to pay with another payment method."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1243
+#: ../../src/Translations/AdminTranslations.php:1255
msgid "Any questions?"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1244
+#: ../../src/Translations/AdminTranslations.php:1256
msgid "Please check the"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1245, ../../src/Translations/AdminTranslations.php:1261
+#: ../../src/Translations/AdminTranslations.php:1257, ../../src/Translations/AdminTranslations.php:1273
msgid "FAQs"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1246
+#: ../../src/Translations/AdminTranslations.php:1258
msgid "on the dev website."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1259
+#: ../../src/Translations/AdminTranslations.php:1271
msgid "Check our"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1262
+#: ../../src/Translations/AdminTranslations.php:1274
msgid "or open a ticket to contact the Mercado Pago team."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1267
+#: ../../src/Translations/AdminTranslations.php:1279
msgid "1. Go to the dev website and open a"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1269
+#: ../../src/Translations/AdminTranslations.php:1281
msgid "ticket"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1270
+#: ../../src/Translations/AdminTranslations.php:1282
msgid "in the Support section."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1275
+#: ../../src/Translations/AdminTranslations.php:1287
msgid "4. Download the"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1276
+#: ../../src/Translations/AdminTranslations.php:1288
msgid "error history"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1277
+#: ../../src/Translations/AdminTranslations.php:1289
msgid "and share it with the Mercado Pago team when asked for it."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1281
+#: ../../src/Translations/AdminTranslations.php:1293
msgid "Do you need help?"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1282
+#: ../../src/Translations/AdminTranslations.php:1294
msgid "How to open a ticket:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1284
+#: ../../src/Translations/AdminTranslations.php:1296
msgid "2. Fill out the form with your store details."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1285
+#: ../../src/Translations/AdminTranslations.php:1297
msgid "3. Copy and paste the following details when asked for the the technical information:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1288
+#: ../../src/Translations/AdminTranslations.php:1300
msgid "Version:"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1289
+#: ../../src/Translations/AdminTranslations.php:1301
msgid "History of errors"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1290
+#: ../../src/Translations/AdminTranslations.php:1302
msgid "Select the files you want to share with our team and click on Download. This information will be requested by e-mail if necessary."
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1293
+#: ../../src/Translations/AdminTranslations.php:1305
msgid "Source"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1294
+#: ../../src/Translations/AdminTranslations.php:1306
msgid "File date"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1295
+#: ../../src/Translations/AdminTranslations.php:1307
msgid "Download"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1296
+#: ../../src/Translations/AdminTranslations.php:1308
msgid "Next Page"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1297
+#: ../../src/Translations/AdminTranslations.php:1309
msgid "Previous page"
msgstr ""
-#: ../../src/Translations/AdminTranslations.php:1298
+#: ../../src/Translations/AdminTranslations.php:1310
msgid "The plugin has not yet recorded any logs in your store."
msgstr ""
@@ -1748,7 +1752,7 @@ msgstr ""
msgid "Mercado Pago Commission"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:77, ../../src/Translations/StoreTranslations.php:118, ../../src/Translations/StoreTranslations.php:148, ../../src/Translations/StoreTranslations.php:286, ../../src/Translations/StoreTranslations.php:321, ../../src/Translations/StoreTranslations.php:402, ../../src/Translations/StoreTranslations.php:430
+#: ../../src/Translations/StoreTranslations.php:77, ../../src/Translations/StoreTranslations.php:118, ../../src/Translations/StoreTranslations.php:148, ../../src/Translations/StoreTranslations.php:288, ../../src/Translations/StoreTranslations.php:325, ../../src/Translations/StoreTranslations.php:407, ../../src/Translations/StoreTranslations.php:465
msgid "There was an error. Please try again in a few minutes."
msgstr ""
@@ -1760,7 +1764,7 @@ msgstr ""
msgid "Use Mercado Pago's payment methods without real charges. "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:92, ../../src/Translations/StoreTranslations.php:133, ../../src/Translations/StoreTranslations.php:236, ../../src/Translations/StoreTranslations.php:335, ../../src/Translations/StoreTranslations.php:337, ../../src/Translations/StoreTranslations.php:388, ../../src/Translations/StoreTranslations.php:418
+#: ../../src/Translations/StoreTranslations.php:92, ../../src/Translations/StoreTranslations.php:133, ../../src/Translations/StoreTranslations.php:236, ../../src/Translations/StoreTranslations.php:339, ../../src/Translations/StoreTranslations.php:391, ../../src/Translations/StoreTranslations.php:451
msgid "See the rules for the test mode."
msgstr ""
@@ -1848,19 +1852,19 @@ msgstr ""
msgid "Checkout Pro redirect info image"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:114, ../../src/Translations/StoreTranslations.php:138, ../../src/Translations/StoreTranslations.php:260, ../../src/Translations/StoreTranslations.php:303, ../../src/Translations/StoreTranslations.php:338, ../../src/Translations/StoreTranslations.php:394, ../../src/Translations/StoreTranslations.php:428
-msgid "By continuing, you agree with our"
+#: ../../src/Translations/StoreTranslations.php:114, ../../src/Translations/StoreTranslations.php:138, ../../src/Translations/StoreTranslations.php:262, ../../src/Translations/StoreTranslations.php:307, ../../src/Translations/StoreTranslations.php:341, ../../src/Translations/StoreTranslations.php:399, ../../src/Translations/StoreTranslations.php:463
+msgid "By continuing, you agree to our"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:115, ../../src/Translations/StoreTranslations.php:139, ../../src/Translations/StoreTranslations.php:261, ../../src/Translations/StoreTranslations.php:304, ../../src/Translations/StoreTranslations.php:340, ../../src/Translations/StoreTranslations.php:395, ../../src/Translations/StoreTranslations.php:429
+#: ../../src/Translations/StoreTranslations.php:115, ../../src/Translations/StoreTranslations.php:139, ../../src/Translations/StoreTranslations.php:263, ../../src/Translations/StoreTranslations.php:308, ../../src/Translations/StoreTranslations.php:343, ../../src/Translations/StoreTranslations.php:400, ../../src/Translations/StoreTranslations.php:464
msgid "Terms and conditions"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:116, ../../src/Translations/StoreTranslations.php:239, ../../src/Translations/StoreTranslations.php:284
+#: ../../src/Translations/StoreTranslations.php:116, ../../src/Translations/StoreTranslations.php:239, ../../src/Translations/StoreTranslations.php:286
msgid "Pay with Mercado Pago"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:117, ../../src/Translations/StoreTranslations.php:285
+#: ../../src/Translations/StoreTranslations.php:117, ../../src/Translations/StoreTranslations.php:287
msgid "Cancel & Clear Cart"
msgstr ""
@@ -2004,522 +2008,634 @@ msgstr ""
msgid "Security Code"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:255, ../../src/Translations/StoreTranslations.php:389, ../../src/Translations/StoreTranslations.php:419
-msgid "Holder document"
+#: ../../src/Translations/StoreTranslations.php:255, ../../src/Translations/StoreTranslations.php:392, ../../src/Translations/StoreTranslations.php:452
+msgid "Holder ID"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:256, ../../src/Translations/StoreTranslations.php:393, ../../src/Translations/StoreTranslations.php:412, ../../src/Translations/StoreTranslations.php:420, ../../src/Translations/StoreTranslations.php:424, ../../src/Translations/StoreTranslations.php:428, ../../src/Translations/StoreTranslations.php:435, ../../src/Translations/StoreTranslations.php:453
+msgid "Please complete this field."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:257, ../../src/Translations/StoreTranslations.php:394, ../../src/Translations/StoreTranslations.php:454
+msgid "Please enter the full ID number."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:256, ../../src/Translations/StoreTranslations.php:390, ../../src/Translations/StoreTranslations.php:420
-msgid "Invalid document"
+#: ../../src/Translations/StoreTranslations.php:258, ../../src/Translations/StoreTranslations.php:395, ../../src/Translations/StoreTranslations.php:455
+msgid "Please enter a valid ID."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:257, ../../src/Translations/StoreTranslations.php:259
+#: ../../src/Translations/StoreTranslations.php:259, ../../src/Translations/StoreTranslations.php:261
msgid "Select the number of installments"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:258, ../../src/Translations/StoreTranslations.php:263
+#: ../../src/Translations/StoreTranslations.php:260, ../../src/Translations/StoreTranslations.php:265
msgid "Issuer"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:262
+#: ../../src/Translations/StoreTranslations.php:264
msgid "mm/yy"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:264
+#: ../../src/Translations/StoreTranslations.php:266
msgid "Installments"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:265
+#: ../../src/Translations/StoreTranslations.php:267
msgid "on the back"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:266
+#: ../../src/Translations/StoreTranslations.php:268
msgid "on the front"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:267
+#: ../../src/Translations/StoreTranslations.php:269
msgid "digits"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:268
+#: ../../src/Translations/StoreTranslations.php:270
msgid "No fee"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:269
+#: ../../src/Translations/StoreTranslations.php:271
msgid "More options"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:270
+#: ../../src/Translations/StoreTranslations.php:272
msgid "The interest rate is applied and charged by your bank."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:271
+#: ../../src/Translations/StoreTranslations.php:273
msgid "Interest"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:272
+#: ../../src/Translations/StoreTranslations.php:274
msgid "Card number is required"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:273
+#: ../../src/Translations/StoreTranslations.php:275
msgid "Card number invalid"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:274
+#: ../../src/Translations/StoreTranslations.php:276
msgid "Holder name is required"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:275
+#: ../../src/Translations/StoreTranslations.php:277
msgid "Holder name invalid"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:276, ../../src/Translations/StoreTranslations.php:278
+#: ../../src/Translations/StoreTranslations.php:278, ../../src/Translations/StoreTranslations.php:280
msgid "Expiration date invalid"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:277
+#: ../../src/Translations/StoreTranslations.php:279
msgid "Expiration date incomplete"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:279
+#: ../../src/Translations/StoreTranslations.php:281
msgid "Security code is required"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:280
+#: ../../src/Translations/StoreTranslations.php:282
msgid "Security code incomplete"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:281
+#: ../../src/Translations/StoreTranslations.php:283
msgid "Cost of installments"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:282
+#: ../../src/Translations/StoreTranslations.php:284
msgid "Total with installments"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:283
+#: ../../src/Translations/StoreTranslations.php:285
msgid "installments of"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:298
+#: ../../src/Translations/StoreTranslations.php:289
+msgid "This amount does not allow payments by credit card, we recommend paying with another method or changing the contents of your cart."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:290
+msgid "Something went wrong, we recommend trying again or paying with another method."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:302
msgid "Pix in Test Mode"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:299, ../../src/Translations/StoreTranslations.php:336
+#: ../../src/Translations/StoreTranslations.php:303, ../../src/Translations/StoreTranslations.php:340
msgid "You can test the flow to generate a code, but you cannot finalize the payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:300
+#: ../../src/Translations/StoreTranslations.php:304
msgid "Pay instantly"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:301
+#: ../../src/Translations/StoreTranslations.php:305
msgid "By confirming your purchase, we will show you a code to make the payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:302
+#: ../../src/Translations/StoreTranslations.php:306
msgid "Pix logo"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:305, ../../src/Translations/StoreTranslations.php:314
+#: ../../src/Translations/StoreTranslations.php:309, ../../src/Translations/StoreTranslations.php:318
msgid "Code valid for "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:306
+#: ../../src/Translations/StoreTranslations.php:310
msgid "Now you just need to pay with Pix to finalize your purchase"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:307
+#: ../../src/Translations/StoreTranslations.php:311
msgid "How to pay with Pix:"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:308
+#: ../../src/Translations/StoreTranslations.php:312
msgid "Go to your bank's app or website"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:309
+#: ../../src/Translations/StoreTranslations.php:313
msgid "Search for the option to pay with Pix"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:310
+#: ../../src/Translations/StoreTranslations.php:314
msgid "Scan the QR code or Pix code"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:311
+#: ../../src/Translations/StoreTranslations.php:315
msgid "Done! You will see the payment confirmation"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:312
+#: ../../src/Translations/StoreTranslations.php:316
msgid "Value: "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:313
+#: ../../src/Translations/StoreTranslations.php:317
msgid "Scan the QR code:"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:315
+#: ../../src/Translations/StoreTranslations.php:319
msgid "If you prefer, you can pay by copying and pasting the following code"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:316
+#: ../../src/Translations/StoreTranslations.php:320
msgid "Copy code"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:317, ../../src/Translations/StoreTranslations.php:401, ../../src/Translations/StoreTranslations.php:427
+#: ../../src/Translations/StoreTranslations.php:321, ../../src/Translations/StoreTranslations.php:406, ../../src/Translations/StoreTranslations.php:462
msgid "Mercado Pago: The customer has not paid yet."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:318
+#: ../../src/Translations/StoreTranslations.php:322
msgid "Mercado Pago: Now you just need to pay with Pix to finalize your purchase."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:319
+#: ../../src/Translations/StoreTranslations.php:323
msgid "Scan the QR code below or copy and paste the code into your bank's application."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:320
+#: ../../src/Translations/StoreTranslations.php:324
msgid "30 minutes"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:334
+#: ../../src/Translations/StoreTranslations.php:338
msgid "Yape in Test Mode"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:339
+#: ../../src/Translations/StoreTranslations.php:342
msgid "Cell phone linked to Yape"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:341
+#: ../../src/Translations/StoreTranslations.php:344
msgid "Verify in Yape that the option \"Compra por internet\" is activated and that the daily limit is enough."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:342
+#: ../../src/Translations/StoreTranslations.php:345
msgid "Pay with Yape in a few minutes"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:343
+#: ../../src/Translations/StoreTranslations.php:346
msgid "Fill out the following details and confirm your purchase."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:344
+#: ../../src/Translations/StoreTranslations.php:347
msgid "Approval code"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:345
+#: ../../src/Translations/StoreTranslations.php:348
msgid "Processed by Mercado Pago"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:346
+#: ../../src/Translations/StoreTranslations.php:349
msgid "The code is available in the Yape app menu."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:347
-msgid "Enter the entire number.."
+#: ../../src/Translations/StoreTranslations.php:350, ../../src/Translations/StoreTranslations.php:352
+msgid "Enter the entire number."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:348, ../../src/Translations/StoreTranslations.php:350
+#: ../../src/Translations/StoreTranslations.php:351, ../../src/Translations/StoreTranslations.php:353
msgid "Fill out this field."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:349
-msgid "Enter the entire number."
-msgstr ""
-
-#: ../../src/Translations/StoreTranslations.php:362
+#: ../../src/Translations/StoreTranslations.php:365
msgid "Payment approved."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:363
+#: ../../src/Translations/StoreTranslations.php:366
msgid "Waiting for the Pix payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:364
+#: ../../src/Translations/StoreTranslations.php:367
msgid "Waiting for the ticket payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:365
+#: ../../src/Translations/StoreTranslations.php:368
msgid "The customer has not made the payment yet."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:366
+#: ../../src/Translations/StoreTranslations.php:369
msgid "Payment is pending review."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:367
+#: ../../src/Translations/StoreTranslations.php:370
msgid "Payment was declined. The customer can try again."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:368
+#: ../../src/Translations/StoreTranslations.php:371
msgid "Payment was returned to the customer."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:369
+#: ../../src/Translations/StoreTranslations.php:372
msgid "The payment was partially returned to the customer. the amount refunded was : "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:370
+#: ../../src/Translations/StoreTranslations.php:373
msgid "Payment was canceled."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:371, ../../src/Translations/StoreTranslations.php:372
+#: ../../src/Translations/StoreTranslations.php:374, ../../src/Translations/StoreTranslations.php:375
msgid "The payment is in mediation or the purchase was unknown by the customer."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:373
+#: ../../src/Translations/StoreTranslations.php:376
msgid "The payment"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:374
+#: ../../src/Translations/StoreTranslations.php:377
msgid "was notified by Mercado Pago with status"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:386
+#: ../../src/Translations/StoreTranslations.php:389
msgid "Offline Methods in Test Mode"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:387
+#: ../../src/Translations/StoreTranslations.php:390
msgid "You can test the flow to generate an invoice, but you cannot finalize the payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:391, ../../src/Translations/StoreTranslations.php:421
-msgid "Select where you want to pay"
+#: ../../src/Translations/StoreTranslations.php:396
+msgid "Select your payment method"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:392, ../../src/Translations/StoreTranslations.php:422
+#: ../../src/Translations/StoreTranslations.php:397, ../../src/Translations/StoreTranslations.php:457
msgid "more options"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:393
-msgid "Select a payment method"
+#: ../../src/Translations/StoreTranslations.php:398
+msgid "Select a payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:396
+#: ../../src/Translations/StoreTranslations.php:401
msgid "Great, we processed your purchase order. Complete the payment with ticket so that we finish approving it."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:397
+#: ../../src/Translations/StoreTranslations.php:402
msgid "Print ticket"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:398
+#: ../../src/Translations/StoreTranslations.php:403
msgid " and "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:399
+#: ../../src/Translations/StoreTranslations.php:404
msgid "To print the ticket again click"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:400
+#: ../../src/Translations/StoreTranslations.php:405
msgid "here"
msgstr ""
+#: ../../src/Translations/StoreTranslations.php:408
+msgid "Enter payment details"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:409
+msgid "Use delivery details."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:410
+msgid "ZIP code"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:411
+msgid "E.g.: 01310-200"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:413
+msgid "Please enter the full ZIP code."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:414
+msgid "Please enter a valid ZIP code."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:415
+msgid "State"
+msgstr ""
+
#: ../../src/Translations/StoreTranslations.php:416
-msgid "Checkout PSE in Test Mode"
+msgid "Select a state"
msgstr ""
#: ../../src/Translations/StoreTranslations.php:417
-msgid "You can test the flow to generate a payment with PSE"
+msgid "Please select an option."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:418
+msgid "City"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:419
+msgid "E.g.: São Paulo"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:421
+msgid "Please enter the full name of the city."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:422
+msgid "Neighborhood"
msgstr ""
#: ../../src/Translations/StoreTranslations.php:423
+msgid "E.g.: Jardim das flores"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:425
+msgid "Please enter the full neighborhood name."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:426
+msgid "Address"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:427
+msgid "E.g.: Avenida das Flores"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:429
+msgid "Please enter the full address."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:430
+msgid "Complement (optional)"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:431
+msgid "E.g.: Apartament 52 block C"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:432
+msgid "Number"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:433
+msgid "E.g.: 148"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:434
+msgid "No number"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:436
+msgid "Please enter a valid number."
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:449
+msgid "Checkout PSE in Test Mode"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:450
+msgid "You can test the flow to generate a payment with PSE"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:456
+msgid "Select where you want to pay"
+msgstr ""
+
+#: ../../src/Translations/StoreTranslations.php:458
msgid "Person type "
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:424
+#: ../../src/Translations/StoreTranslations.php:459
msgid "Financial institution"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:425
+#: ../../src/Translations/StoreTranslations.php:460
msgid "Select the financial institution"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:426
+#: ../../src/Translations/StoreTranslations.php:461
msgid "Select the institution"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:443
+#: ../../src/Translations/StoreTranslations.php:478
msgid "A problem was occurred when processing your payment. Please, try again."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:444
+#: ../../src/Translations/StoreTranslations.php:479
msgid "A problem was occurred when processing your payment. Are you sure you have correctly filled all information in the checkout form?"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:445
+#: ../../src/Translations/StoreTranslations.php:480
msgid "See your order form"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:446
+#: ../../src/Translations/StoreTranslations.php:481
msgid "Your payment was declined. You can try again."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:447
+#: ../../src/Translations/StoreTranslations.php:482
msgid "Click to try again"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:448
+#: ../../src/Translations/StoreTranslations.php:483
msgid "That's it, payment accepted!"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:449
+#: ../../src/Translations/StoreTranslations.php:484
msgid "We are processing your payment. In less than an hour we will send you the result by email."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:450
+#: ../../src/Translations/StoreTranslations.php:485
msgid "We are processing your payment. In less than 2 days we will send you by email if the payment has been approved or if additional information is needed."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:451
+#: ../../src/Translations/StoreTranslations.php:486
msgid "Check the card number."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:452
+#: ../../src/Translations/StoreTranslations.php:487
msgid "Check the expiration date."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:453
+#: ../../src/Translations/StoreTranslations.php:488
msgid "Check the information provided."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:454
+#: ../../src/Translations/StoreTranslations.php:489
msgid "Check the informed security code."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:455, ../../src/Translations/StoreTranslations.php:456
+#: ../../src/Translations/StoreTranslations.php:490, ../../src/Translations/StoreTranslations.php:491
msgid "Your payment cannot be processed."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:457
+#: ../../src/Translations/StoreTranslations.php:492
msgid "You must authorize payments for your orders."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:458
+#: ../../src/Translations/StoreTranslations.php:493
msgid "Contact your card issuer to activate it. The phone is on the back of your card."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:459
+#: ../../src/Translations/StoreTranslations.php:494
msgid "You have already made a payment of this amount. If you have to pay again, use another card or other method of payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:460
+#: ../../src/Translations/StoreTranslations.php:495
msgid "Your payment was declined. Please select another payment method. It is recommended in cash."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:461
+#: ../../src/Translations/StoreTranslations.php:496
msgid "Your payment does not have sufficient funds."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:462
+#: ../../src/Translations/StoreTranslations.php:497
msgid "Payment cannot process the selected fee."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:463
+#: ../../src/Translations/StoreTranslations.php:498
msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:464
+#: ../../src/Translations/StoreTranslations.php:499
msgid "Invalid transaction attempt
You are trying to perform a productive transaction using test credentials, or test transaction using productive credentials. Please ensure that you are using the correct environment settings for the desired action."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:465
+#: ../../src/Translations/StoreTranslations.php:500
msgid "Invalid transaction attempt
It is not possible to pay with the email address entered. Please enter another e-mail address."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:466
+#: ../../src/Translations/StoreTranslations.php:501
msgid "This payment method cannot process your payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:478
+#: ../../src/Translations/StoreTranslations.php:513
msgid "Your bank needs you to authorize the payment
Please call the telephone number on your card or pay with another method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:479, ../../src/Translations/StoreTranslations.php:480
+#: ../../src/Translations/StoreTranslations.php:514, ../../src/Translations/StoreTranslations.php:515
msgid "For safety reasons, your payment was declined
We recommended paying with your usual payment method and device for online purchases."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:481, ../../src/Translations/StoreTranslations.php:482, ../../src/Translations/StoreTranslations.php:483, ../../src/Translations/StoreTranslations.php:484
+#: ../../src/Translations/StoreTranslations.php:516, ../../src/Translations/StoreTranslations.php:517, ../../src/Translations/StoreTranslations.php:518, ../../src/Translations/StoreTranslations.php:519
msgid "One or more card details were entered incorrecctly
Please enter them again as they appear on the card to complete the payment."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:485
+#: ../../src/Translations/StoreTranslations.php:520
msgid "Your credit card has no available limit
Please pay using another card or choose another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:486
+#: ../../src/Translations/StoreTranslations.php:521
msgid "Your debit card has insufficient founds
Please pay using another card or choose another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:487
+#: ../../src/Translations/StoreTranslations.php:522
msgid "Your card does not accept the number of installments selected
Please choose a different number of installments or use a different payment method ."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:488
+#: ../../src/Translations/StoreTranslations.php:523
msgid "You need to activate your card
Please contact your bank by calling the number on the back of your card or choose another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:489
+#: ../../src/Translations/StoreTranslations.php:524
msgid "You reached the limit of payment attempts with this card
Please pay using another card or choose another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:490
+#: ../../src/Translations/StoreTranslations.php:525
msgid "Your payment was declined because you already paid for this purchase
Check your card transactions to verify it."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:491, ../../src/Translations/StoreTranslations.php:492, ../../src/Translations/StoreTranslations.php:493
+#: ../../src/Translations/StoreTranslations.php:526, ../../src/Translations/StoreTranslations.php:527, ../../src/Translations/StoreTranslations.php:528
msgid "The card issuing bank declined the payment
We recommended paying with another payment method or contact your bank."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:494
+#: ../../src/Translations/StoreTranslations.php:529
msgid "For safety reasons, the card issuing bank declined the payment
We recommended paying with your usual payment method and device for online purchases."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:495
+#: ../../src/Translations/StoreTranslations.php:530
msgid "Your payment was declined because something went wrong
We recommended trying again or paying with another method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:496
+#: ../../src/Translations/StoreTranslations.php:531
msgid "Yape declined your payment
Your payment could not be processed. Please try again or choose another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:497
+#: ../../src/Translations/StoreTranslations.php:532
msgid "Yape declined your payment
Your payment could not be processed. You can contact Yape to find out why or try again with this or another payment method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:498
+#: ../../src/Translations/StoreTranslations.php:533
msgid "Yape declined your payment
Your payment was rejected because something went wrong. We recommend trying again or paying with another method."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:499
+#: ../../src/Translations/StoreTranslations.php:534
msgid "Yape declined your payment
This payment exceeds your daily limit for online purchases with Yape. We recommend paying with another method or trying again tomorrow."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:500
+#: ../../src/Translations/StoreTranslations.php:535
msgid "Yape declined your payment
After three incorrect approval codes, the payment can't be done with Yape for your safety. Pay with another method or try again in 24 hours."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:512
+#: ../../src/Translations/StoreTranslations.php:547
msgid "We are taking you to validate the card"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:513
+#: ../../src/Translations/StoreTranslations.php:548
msgid "with your bank"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:514
+#: ../../src/Translations/StoreTranslations.php:549
msgid "We need to confirm that you are the cardholder."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:515
+#: ../../src/Translations/StoreTranslations.php:550
msgid "We are receiving the response from your bank"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:516
+#: ../../src/Translations/StoreTranslations.php:551
msgid "Complete the bank validation so your payment can be approved"
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:517
+#: ../../src/Translations/StoreTranslations.php:552
msgid "Please keep this page open. If you close it, you will not be able to resume the validation."
msgstr ""
-#: ../../src/Translations/StoreTranslations.php:518
+#: ../../src/Translations/StoreTranslations.php:553
msgid "For safety reasons, your payment was declined
We recommend paying with your usual payment method and device for online purchases."
msgstr ""
diff --git a/package.json b/package.json
index 4e0fb5ddd..05bfae516 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "woocommerce-mercadopago",
"description": "Woocommerce MercadoPago Payment Gateway",
- "version": "7.8.1",
+ "version": "7.9.2",
"main": "main.js",
"repository": {
"type": "git",
@@ -21,8 +21,10 @@
"prebuild:narciso": "sh packages/narciso/bin/pre-assets.sh",
"postbuild:narciso": "sh packages/narciso/bin/post-assets.sh",
"build:narciso": "webpack --mode=production --config narciso.webpack.config.js",
- "watch": "SHELL=/bin/sh chokidar assets packages/narciso -i **/**.min.* -i assets/images -c 'npm run build' --initial",
- "watch:release": "SHELL=/bin/sh chokidar . -i woocommerce-mercadopago.zip -c 'make build'"
+ "watch:build": "SHELL=/bin/sh chokidar assets packages/narciso -i **/**.min.* -i assets/images -c 'npm run build' --initial",
+ "watch:release": "SHELL=/bin/sh chokidar . -i woocommerce-mercadopago.zip -c 'make build'",
+ "watch:logs": "SHELL=/bin/sh chokidar /var/www/html/wp-content/uploads/wc-logs /var/www/html/wp-content/debug.log -c 'cp /var/www/html/wp-content/uploads/wc-logs/*.log /var/www/html/wp-content/debug.log /var/www/html/wp-content/plugins/woocommerce-mercadopago/logs' --initial",
+ "watch:make-mo": "SHELL=/bin/sh chokidar i18n/languages/*.po -c 'wp --allow-root i18n make-mo i18n/languages i18n/languages'"
},
"devDependencies": {
"@woocommerce/dependency-extraction-webpack-plugin": "^2.2.0",
diff --git a/packages/narciso/components/input-document/InputDocument.html b/packages/narciso/components/input-document/InputDocument.html
index 6be8f5bb7..cf747eb4f 100644
--- a/packages/narciso/components/input-document/InputDocument.html
+++ b/packages/narciso/components/input-document/InputDocument.html
@@ -11,7 +11,9 @@
0) ;
+ isValidCC(cc, helper) {
+ if (typeof cc !== 'string' || cc.length === 0) {
+ this.updateHelperErrorMessage(helper, this.getAttribute('helper-empty'));
+ return false;
+ } else {
+ return true;
+ }
}
- isValidCE(ce) {
- return ((typeof ce === 'string') && ce.length > 0) ;
+ isValidCE(ce, helper) {
+ if (typeof ce !== 'string' || ce.length === 0) {
+ this.updateHelperErrorMessage(helper, this.getAttribute('helper-empty'));
+ return false;
+ } else {
+ return true;
+ }
}
- isValidNIT(nit) {
- return ((typeof nit === 'string') && nit.length > 0) ;
+ isValidNIT(nit, helper) {
+ if (typeof nit !== 'string' || nit.length === 0) {
+ this.updateHelperErrorMessage(helper, this.getAttribute('helper-empty'));
+ return false;
+ } else {
+ return true;
+ }
}
setMaskInputDocument(select, input, hidden) {
@@ -350,18 +401,19 @@ class InputDocument extends HTMLElement {
component.classList.add('mp-focus');
component.classList.remove('mp-error');
helper.firstElementChild.style.display = 'none';
+ input.setAttribute('name', this.getAttribute('input-name'));
});
input.addEventListener('focusout', () => {
component.classList.remove('mp-focus');
const validateDocument = {
- CPF: (value) => this.isValidCPF(value),
- CNPJ: (value) => this.isValidCNPJ(value),
- CI: (value) => this.isValidCI(value),
- CC: (value) => this.isValidCC(value),
- CE: (value) => this.isValidCE(value),
- NIT: (value) => this.isValidNIT(value),
+ CPF: (value) => this.isValidCPF(value, helper),
+ CNPJ: (value) => this.isValidCNPJ(value, helper),
+ CI: (value) => this.isValidCI(value, helper),
+ CC: (value) => this.isValidCC(value, helper),
+ CE: (value) => this.isValidCE(value, helper),
+ NIT: (value) => this.isValidNIT(value, helper),
};
if (typeof validateDocument[select.value] !== 'undefined') {
@@ -380,6 +432,11 @@ class InputDocument extends HTMLElement {
return input;
}
+ updateHelperErrorMessage(helper, message) {
+ helper.setAttribute('message', message);
+ helper.querySelector('.mp-helper-message').innerHTML = message;
+ }
+
createHelper(helperMessage) {
const helper = document.createElement('input-helper');
diff --git a/packages/narciso/components/input-helper/InputHelper.css b/packages/narciso/components/input-helper/InputHelper.css
index ec35ec3fe..70f1764fe 100644
--- a/packages/narciso/components/input-helper/InputHelper.css
+++ b/packages/narciso/components/input-helper/InputHelper.css
@@ -1,6 +1,5 @@
.mp-helper {
- margin-top: 4px !important;
- margin-bottom: 10px !important;
+ margin: 7px 0px !important;
font-family: 'Proxima Nova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
font-size: 13px !important;
color: #f23d4f;
@@ -18,6 +17,10 @@
display: flex;
align-items: center;
justify-content: center;
- margin: 0 4px;
+ margin: 0 6px;
font-size: 10px;
}
+
+.mp-helper .mp-helper-message {
+ font-size: 13px !important;
+}
diff --git a/packages/narciso/components/input-label/InputLabel.css b/packages/narciso/components/input-label/InputLabel.css
index 85837b613..402307d2c 100644
--- a/packages/narciso/components/input-label/InputLabel.css
+++ b/packages/narciso/components/input-label/InputLabel.css
@@ -14,5 +14,5 @@
}
.mp-input-label b {
- padding-left: 2px !important;
+ padding-left: 4px !important;
}
diff --git a/packages/narciso/components/test-mode/TestMode.css b/packages/narciso/components/test-mode/TestMode.css
index a3f5a2ce8..436ab079b 100644
--- a/packages/narciso/components/test-mode/TestMode.css
+++ b/packages/narciso/components/test-mode/TestMode.css
@@ -1,3 +1,7 @@
+.mp-test-mode-container {
+ padding: 0 0 25px !important
+}
+
.mp-test-mode-card {
display: flex !important;
flex-direction: column !important;
diff --git a/packages/narciso/styles/checkout-credits.css b/packages/narciso/styles/checkout-credits.css
index 4cc63f2ae..cdb73891a 100644
--- a/packages/narciso/styles/checkout-credits.css
+++ b/packages/narciso/styles/checkout-credits.css
@@ -1,4 +1,4 @@
-.mp-checkout-pro-terms-and-conditions {
+.mp-checkout-credits-terms-and-conditions {
align-items: center !important;
display: flex !important;
justify-content: center !important;
diff --git a/packages/narciso/styles/checkout-custom.css b/packages/narciso/styles/checkout-custom.css
index 65c9a6ae4..5fce76dd7 100644
--- a/packages/narciso/styles/checkout-custom.css
+++ b/packages/narciso/styles/checkout-custom.css
@@ -486,8 +486,3 @@ form div div .mp-checkout-custom-card-form-title {
padding-bottom: 25px !important;
padding-left: 0 !important
}
-
-.alert-message {
- color: red;
- font-weight: bold;
-}
\ No newline at end of file
diff --git a/packages/narciso/styles/checkout-ticket.css b/packages/narciso/styles/checkout-ticket.css
index af9ea4bbb..1f2878631 100644
--- a/packages/narciso/styles/checkout-ticket.css
+++ b/packages/narciso/styles/checkout-ticket.css
@@ -33,3 +33,154 @@ div div .mp-checkout-ticket-content .mp-checkout-ticket-text {
padding-top: 32px !important;
text-align: center !important
}
+
+/* Billing address only*/
+
+div div .mp-checkout-ticket-content .mp-checkout-ticket-billing-text {
+ color: rgba(0, 0, 0, .9) !important;
+ font-family: Proxima Nova, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important;
+ font-size: 16px !important;
+ font-style: normal !important;
+ font-weight: 700 !important;
+ line-height: 18px !important;
+ padding-bottom: 20px !important;
+ padding-left: 0 !important;
+ padding-top: 25px !important;
+}
+
+.mp-checkout-ticket-billing-checkbox {
+ display: flex !important;
+ height: 40px !important;
+ align-items: center !important;
+ padding-bottom: 15px !important;
+ gap: 12px !important;
+}
+
+.mp-checkout-ticket-billing-checkbox input {
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.mp-checkout-ticket-billing-checkbox p {
+ color: #000000;
+ font-weight: 400 !important;
+ font-size: 14px !important;
+ line-height: 18px !important;
+}
+
+.mp-checkout-ticket-billing-input-row {
+ display: flex !important;
+ gap: 24px !important;
+ justify-content: space-between !important;
+ padding-bottom: 25px !important;
+ width: 100% !important;
+ overflow: hidden;
+}
+
+.mp-checkout-ticket-billing-input-column {
+ display: flex !important;
+ flex-direction: column !important;
+ overflow: hidden;
+ width: 100% !important;
+ box-sizing: border-box;
+}
+
+.mp-checkout-ticket-billing-input-column label {
+ font-weight: 400 !important;
+ font-size: 14px !important;
+ line-height: 18px !important;
+ color: #000000 !important;
+ padding: 0px 0px 4px 6px !important;
+ margin: 0 !important;
+}
+
+.mp-checkout-ticket-billing-input-number {
+ display: flex !important;
+ border: 1px solid rgba(0, 0, 0, .25);
+ align-content: center !important;
+ align-items: center !important;
+ vertical-align: middle !important;
+ border-radius: 6px !important;
+ background: #fff !important;
+ height: 48px !important;
+ line-height: 20px !important;
+ outline: 0 !important;
+ padding: 0px 14px !important;
+}
+
+.mp-checkout-ticket-billing-input-number-disabled {
+ background: #0000000A !important;
+ border: 1px solid rgba(0, 0, 0, .25);
+ border-radius: 6px !important;
+ color: #000 !important;
+ font-family: Proxima Nova, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important;
+ font-size: 16px !important;
+ font-weight: 400 !important;
+ height: 48px !important;
+ line-height: 20px !important;
+ outline: 0 !important;
+ padding: 0px 14px !important;
+ max-width: 100% !important;
+ margin: 0 !important;
+ flex-grow: 0; /* Prevents items from growing */
+ flex-shrink: 0; /* Prevents items from shrinking */
+ border-style: dashed !important;
+}
+
+.mp-checkout-ticket-billing-input-number-focused {
+ border-color: #7f54b3 !important;
+}
+
+.mp-checkout-ticket-billing-input-number-focused-error {
+ border-color: #F23D4F !important;
+}
+
+.mp-checkout-ticket-billing-input-number-focused-error-on-focus {
+ border: 2px solid !important;
+}
+
+.mp-checkout-ticket-billing-input-number input {
+ width: 65% !important;
+ float: left !important;
+ border: none !important;
+ border-color: none !important;
+ color: #000 !important;
+ font-family: Proxima Nova, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important;
+ font-size: 16px !important;
+ font-weight: 400 !important;
+ z-index: 1 !important;
+}
+
+.mp-checkout-ticket-billing-input-number input:disabled {
+ opacity: 0 !important;
+}
+
+.mp-checkout-ticket-billing-input-number input:focus {
+ outline: none !important;
+ border: none !important; /* Prevent the border from appearing */
+}
+
+.mp-checkout-ticket-billing-number-toggle-checkbox {
+ width: 35% !important;
+ float: right !important;
+ display: flex !important;
+ align-items: center !important;
+ justify-content: flex-end !important;
+ gap: 8px !important;
+}
+
+.mp-checkout-ticket-billing-number-toggle-checkbox p {
+ height: 20px !important;
+ color: #000000 !important;
+ font-weight: 400 !important;
+ font-size: 14px !important;
+ line-height: 18px !important;
+ padding: 0 !important;
+ margin: 0 !important;
+}
+
+.mp-checkout-ticket-billing-number-toggle-checkbox input {
+ width: auto !important;
+ border: 0px !important;
+ margin: 0 !important;
+}
diff --git a/packages/narciso/styles/common.css b/packages/narciso/styles/common.css
index 5df4e8839..53479a740 100644
--- a/packages/narciso/styles/common.css
+++ b/packages/narciso/styles/common.css
@@ -132,3 +132,75 @@
box-shadow: none !important;
width: 100% !important
}
+
+.alert-message {
+ color: red;
+ font-weight: 700 !important;
+}
+
+.row-image-select {
+ height: 18px;
+ display: flex;
+ justify-content: space-between;
+ align-content: center;
+ align-items: center;
+ flex-direction: row;
+}
+
+.row-image-select p {
+ font-family: "Proxima Nova", -apple-system, "Helvetica Neue", Helvetica, "Roboto", Arial, sans-serif;
+ font-size: 18px;
+ padding: 0;
+}
+
+.row-image-select img {
+ margin-right: 8px;
+ height: 25px;
+ width: 30px;
+ padding: 0;
+}
+
+.mp-checkout-andes-input {
+ background: #fff !important;
+ border: 1px solid rgba(0, 0, 0, .25);
+ border-radius: 6px !important;
+ color: #000 !important;
+ font-family: Proxima Nova, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important;
+ font-size: 16px !important;
+ font-weight: 400 !important;
+ height: 48px !important;
+ line-height: 20px !important;
+ outline: 0 !important;
+ padding: 0px 14px !important;
+ max-width: 100% !important;
+ margin: 0 !important;
+ flex-grow: 0; /* Prevents items from growing */
+ flex-shrink: 0; /* Prevents items from shrinking */
+}
+
+.mp-checkout-andes-input:focus {
+ border-color: #7F54B3 !important;
+}
+
+.mp-checkout-andes-input-error {
+ background: #fff !important;
+ border: 1px solid rgba(0, 0, 0, .25);
+ border-radius: 6px !important;
+ border-color: #F23D4F !important;
+ color: #000 !important;
+ font-family: Proxima Nova, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important;
+ font-size: 16px !important;
+ font-weight: 400 !important;
+ height: 48px !important;
+ line-height: 20px !important;
+ outline: 0 !important;
+ padding: 0px 14px !important;
+ max-width: 100% !important;
+ margin: 0 !important;
+ flex-grow: 0; /* Prevents items from growing */
+ flex-shrink: 0; /* Prevents items from shrinking */
+}
+
+.mp-checkout-andes-input-error:focus {
+ border: 2px solid rgba(0, 0, 0, .25);
+}
\ No newline at end of file
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 000000000..7c972c107
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,30 @@
+
+
+
+
+ tests
+
+
+
+
+
+ src/Gateways
+ src/Transactions
+ src/Exceptions
+ src/Helpers
+ src/Order
+ src/Notification
+
+
+
+
+
+
diff --git a/readme.txt b/readme.txt
index efbe8c952..7c950fb97 100644
--- a/readme.txt
+++ b/readme.txt
@@ -2,9 +2,9 @@
Contributors:
Tags: ecommerce, mercadopago, woocommerce
Requires at least: 6.3
-Tested up to: 6.6
+Tested up to: 6.7
Requires PHP: 7.4
-Stable tag: 7.8.1
+Stable tag: 7.9.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -134,17 +134,8 @@ Set up both the plugin and the checkouts you want to activate on your payment av
Check out our official documentation for more information on the specific fields to configure.
-== Changelog ==
-= v7.8.1 (07/10/2024) =
-* Added:
-- Silence is golden directive implemented to enhance security for WordPress sites.
-
-* Changed:
-- Modified the way asset's are loaded into the store.
-- Sending new field to get the plugin version from the stores to improve onboarding.
-
+= v7.9.2 (26/12/2024) =
* Fixed:
-- Resolved issues with loading minified CSS and JS files in debugging environments.
-- Refined translations for ES-all languages.
+- Addressed the way we create transactions for PagoEfectivo payments to avoid issues with the payment method.
[See changelog for all versions](https://github.com/mercadopago/cart-woocommerce/blob/main/CHANGELOG.md).
diff --git a/src/Blocks/AbstractBlock.php b/src/Blocks/AbstractBlock.php
index 16633c291..efe9d6722 100644
--- a/src/Blocks/AbstractBlock.php
+++ b/src/Blocks/AbstractBlock.php
@@ -5,6 +5,7 @@
use Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType;
use Exception;
use MercadoPago\Woocommerce\Gateways\AbstractGateway;
+use MercadoPago\Woocommerce\Helpers\Paths;
use MercadoPago\Woocommerce\Interfaces\MercadoPagoGatewayInterface;
use MercadoPago\Woocommerce\Interfaces\MercadoPagoPaymentBlockInterface;
use MercadoPago\Woocommerce\WoocommerceMercadoPago;
@@ -100,20 +101,16 @@ public function get_payment_method_script_handles(): array
}
$scriptName = sprintf('wc_mercadopago_%s_blocks', $this->scriptName);
- $scriptPath = $this->mercadopago->helpers->url->getPluginFileUrl("build/$this->scriptName.block", '.js', true);
- $assetPath = $this->mercadopago->helpers->url->getPluginFileUrl("build/$this->scriptName.block.asset", '.php', true);
-
- $version = '';
- $deps = [];
-
- if (file_exists($assetPath)) {
- $asset = require $assetPath;
- $version = $asset['version'] ?? '';
- $deps = $asset['dependencies'] ?? [];
- }
+ $scriptPath = $this->mercadopago->helpers->url->getPluginFileUrl("build/$this->scriptName.block.js");
+ $assetPath = Paths::buildPath("$this->scriptName.block.asset.php");
+ $asset = file_exists($assetPath) ? require $assetPath : [];
$this->gateway->registerCheckoutScripts();
- $this->mercadopago->hooks->scripts->registerPaymentBlockScript($scriptName, $scriptPath, $version, $deps);
+ $this->mercadopago->hooks->scripts->registerPaymentBlockStyle(
+ 'wc_mercadopago_checkout_components',
+ $this->mercadopago->helpers->url->getCssAsset('checkouts/mp-plugins-components')
+ );
+ $this->mercadopago->hooks->scripts->registerPaymentBlockScript($scriptName, $scriptPath, $asset['version'] ?? '', $asset['dependencies'] ?? []);
return [$scriptName];
}
diff --git a/src/Blocks/TicketBlock.php b/src/Blocks/TicketBlock.php
index 8d01356f8..d47021199 100644
--- a/src/Blocks/TicketBlock.php
+++ b/src/Blocks/TicketBlock.php
@@ -2,6 +2,8 @@
namespace MercadoPago\Woocommerce\Blocks;
+use MercadoPago\Woocommerce\Helpers\Template;
+
if (!defined('ABSPATH')) {
exit;
}
@@ -28,6 +30,11 @@ public function __construct()
*/
public function getScriptParams(): array
{
- return $this->gateway->getPaymentFieldsParams();
+ return [
+ 'content' => Template::html(
+ 'public/checkouts/ticket-checkout',
+ $this->gateway->getPaymentFieldsParams()
+ ),
+ ];
}
}
diff --git a/src/Dependencies.php b/src/Dependencies.php
index 11df6ee8b..afd5f4661 100644
--- a/src/Dependencies.php
+++ b/src/Dependencies.php
@@ -207,7 +207,6 @@ public function __construct()
$this->creditsEnabledHelper = $this->setCreditsEnabled();
$this->checkoutCustomEndpoints = $this->setCustomCheckoutEndpoints();
$this->cartHelper = $this->setCart();
- $this->funnel = $this->setFunnel();
$this->hooks = $this->setHooks();
$this->helpers = $this->setHelpers();
diff --git a/src/Gateways/AbstractGateway.php b/src/Gateways/AbstractGateway.php
index af222f8c0..0a14bb1e7 100644
--- a/src/Gateways/AbstractGateway.php
+++ b/src/Gateways/AbstractGateway.php
@@ -3,8 +3,7 @@
namespace MercadoPago\Woocommerce\Gateways;
use Exception;
-use MercadoPago\PP\Sdk\Entity\Payment\Payment;
-use MercadoPago\PP\Sdk\Entity\Preference\Preference;
+use MercadoPago\PP\Sdk\Common\AbstractEntity;
use MercadoPago\Woocommerce\Helpers\Form;
use MercadoPago\Woocommerce\Helpers\Numbers;
use MercadoPago\Woocommerce\WoocommerceMercadoPago;
@@ -25,15 +24,6 @@ abstract class AbstractGateway extends WC_Payment_Gateway implements MercadoPago
public string $iconAdmin;
- protected WoocommerceMercadoPago $mercadopago;
-
- /**
- * Transaction
- *
- * @var Payment|Preference
- */
- protected $transaction;
-
public int $commission;
public int $discount;
@@ -42,9 +32,9 @@ abstract class AbstractGateway extends WC_Payment_Gateway implements MercadoPago
public string $checkoutCountry;
- protected array $adminTranslations;
+ public array $adminTranslations;
- protected array $storeTranslations;
+ public array $storeTranslations;
protected float $ratio;
@@ -52,6 +42,14 @@ abstract class AbstractGateway extends WC_Payment_Gateway implements MercadoPago
protected array $links;
+ public WoocommerceMercadoPago $mercadopago;
+
+ /**
+ *
+ * @var AbstractEntity
+ */
+ public $transaction;
+
/**
* Abstract Gateway constructor
* @throws Exception
@@ -344,8 +342,7 @@ public function canAdminLoadScriptsAndStyles(string $gatewaySection): bool
*/
public function canCheckoutLoadScriptsAndStyles(): bool
{
- return $this->mercadopago->hooks->checkout->isCheckout() &&
- $this->mercadopago->hooks->gateway->isEnabled($this) &&
+ return $this->mercadopago->hooks->gateway->isEnabled($this) &&
! $this->mercadopago->helpers->url->validateQueryVar('order-received');
}
@@ -842,7 +839,14 @@ public function get_settings_url(): string
return $this->links['admin_settings_page'];
}
- protected function getAmountAndCurrency(): array
+ /**
+ * Get amount and currency
+ *
+ * @param string $key 'amount' or 'currency' to get just one value
+ *
+ * @return array|float|null
+ */
+ protected function getAmountAndCurrency(?string $key = null)
{
$currencyRatio = 0;
$amount = null;
diff --git a/src/Gateways/BasicGateway.php b/src/Gateways/BasicGateway.php
index 819de6e0a..6229bd5e7 100644
--- a/src/Gateways/BasicGateway.php
+++ b/src/Gateways/BasicGateway.php
@@ -323,17 +323,9 @@ public function process_payment($order_id): array
{
$order = wc_get_order($order_id);
try {
- parent::process_payment($order_id);
-
- if (isset($_POST['wc-woo-mercado-pago-basic-new-payment-method'])) {
- $this->mercadopago->orderMetadata->markPaymentAsBlocks($order, "yes");
- } else {
- $this->mercadopago->orderMetadata->markPaymentAsBlocks($order, "no");
- }
-
- $this->transaction = new BasicTransaction($this, $order);
- $method = $this->mercadopago->hooks->options->getGatewayOption($this, 'method', 'redirect');
+ $this->saveOrderMetadata($order);
+ $method = $this->mercadopago->hooks->options->getGatewayOption($this, 'method', 'redirect');
if ($method === 'modal') {
$this->mercadopago->logs->file->info('Preparing to render Checkout Pro view.', self::LOG_SOURCE);
return [
@@ -342,8 +334,9 @@ public function process_payment($order_id): array
];
}
- $this->mercadopago->logs->file->info('Customer being redirected to Mercado Pago.', self::LOG_SOURCE);
+ $this->transaction = new BasicTransaction($this, $order);
$preference = $this->transaction->createPreference();
+ $this->mercadopago->logs->file->info('Customer being redirected to Mercado Pago.', self::LOG_SOURCE);
return [
'result' => 'success',
'redirect' => $this->mercadopago->storeConfig->isTestMode() ? $preference['sandbox_init_point'] : $preference['init_point'],
@@ -359,6 +352,24 @@ public function process_payment($order_id): array
}
}
+ /**
+ * Save order metadata
+ *
+ * @param $order
+ *
+ * @return void
+ */
+ protected function saveOrderMetadata($order): void
+ {
+ parent::process_payment($order->get_id());
+
+ if (isset($_POST['wc-woo-mercado-pago-basic-new-payment-method'])) {
+ $this->mercadopago->orderMetadata->markPaymentAsBlocks($order, "yes");
+ } else {
+ $this->mercadopago->orderMetadata->markPaymentAsBlocks($order, "no");
+ }
+ }
+
/**
* Validate Back URL and return error message or default string
*
diff --git a/src/Gateways/CreditsGateway.php b/src/Gateways/CreditsGateway.php
index 3f5a04dba..888cff0ec 100644
--- a/src/Gateways/CreditsGateway.php
+++ b/src/Gateways/CreditsGateway.php
@@ -406,27 +406,29 @@ private function getCreditsInfoTemplate(): string
}
/**
- * Get gif image path for mercado credits demonstration
+ * Get gif image url for mercado credits demonstration
*
* @param string $siteId
* @param string $view
*
* @return string
*/
- private function getCreditsGifPath(string $siteId, string $view): string
+ public function getCreditsGifPath(string $siteId, string $view): string
{
- $siteIds = [
- 'MLA' => 'es_',
- 'MLB' => 'pt_',
- 'MLM' => 'es_',
+ $gifPaths = [
+ 'mobile' => [
+ 'MLA' => 'https://http2.mlstatic.com/storage/cpp/static-files/fbc84a19-acb6-44be-9ad6-f7a6d974a8ce.gif',
+ 'MLM' => 'https://http2.mlstatic.com/storage/cpp/static-files/fbc84a19-acb6-44be-9ad6-f7a6d974a8ce.gif',
+ 'MLB' => 'https://http2.mlstatic.com/storage/cpp/static-files/a2ddea09-7982-44e0-861c-46e12eb5c3e3.gif',
+ ],
+ 'desktop' => [
+ 'MLA' => 'https://http2.mlstatic.com/storage/cpp/static-files/800e0db6-538c-493f-90b5-e2388af13387.gif',
+ 'MLM' => 'https://http2.mlstatic.com/storage/cpp/static-files/800e0db6-538c-493f-90b5-e2388af13387.gif',
+ 'MLB' => 'https://http2.mlstatic.com/storage/cpp/static-files/f428a107-17b0-4ce8-9867-5204e550ec12.gif',
+ ],
];
- $prefix = $siteIds[$siteId] ?? '';
-
- return $this->mercadopago->helpers->url->getImageAsset(
- 'checkouts/credits/' . $prefix . 'view_' . $view,
- '.gif',
- );
+ return $gifPaths[$view][$siteId] ?? 'https://http2.mlstatic.com/storage/cpp/static-files/117d6be1-9f0a-466d-8d85-66f376d698cb.gif';
}
/**
diff --git a/src/Gateways/CustomGateway.php b/src/Gateways/CustomGateway.php
index acc2a3047..63acc29e4 100644
--- a/src/Gateways/CustomGateway.php
+++ b/src/Gateways/CustomGateway.php
@@ -311,6 +311,12 @@ public function registerCheckoutScripts(): void
'tooltip_frame' => $this->mercadopago->storeTranslations->threeDsTranslations['tooltip_3ds_frame'],
'message_close' => $this->mercadopago->storeTranslations->threeDsTranslations['message_3ds_declined'],
],
+ 'error_messages' => [
+ 'default' => $this->storeTranslations['default_error_message'],
+ 'installments' => [
+ 'invalid amount' => $this->storeTranslations['installments_error_invalid_amount'],
+ ],
+ ],
]
);
}
@@ -366,7 +372,9 @@ public function getPaymentFieldsParams(): array
'card_security_code_input_label' => $this->storeTranslations['card_security_code_input_label'],
'card_security_code_input_helper' => $this->storeTranslations['card_security_code_input_helper'],
'card_document_input_label' => $this->storeTranslations['card_document_input_label'],
- 'card_document_input_helper' => $this->storeTranslations['card_document_input_helper'],
+ 'card_input_document_helper_empty' => $this->storeTranslations['card_document_input_helper_empty'],
+ 'card_input_document_helper_invalid' => $this->storeTranslations['card_document_input_helper_invalid'],
+ 'card_input_document_helper_wrong' => $this->storeTranslations['card_document_input_helper_wrong'],
'card_installments_title' => $this->storeTranslations['card_installments_title'],
'card_issuer_input_label' => $this->storeTranslations['card_issuer_input_label'],
'card_installments_input_helper' => $this->storeTranslations['card_installments_input_helper'],
diff --git a/src/Gateways/PseGateway.php b/src/Gateways/PseGateway.php
index 16f968665..93860d947 100644
--- a/src/Gateways/PseGateway.php
+++ b/src/Gateways/PseGateway.php
@@ -252,7 +252,9 @@ public function getPaymentFieldsParams(): array
'test_mode_link_text' => $this->storeTranslations['test_mode_link_text'],
'test_mode_link_src' => $this->links['docs_integration_test'],
'input_document_label' => $this->storeTranslations['input_document_label'],
- 'input_document_helper' => $this->storeTranslations['input_document_helper'],
+ 'input_document_helper_empty' => $this->storeTranslations['input_document_helper_empty'],
+ 'input_document_helper_invalid' => $this->storeTranslations['input_document_helper_invalid'],
+ 'input_document_helper_wrong' => $this->storeTranslations['input_document_helper_wrong'],
'pse_text_label' => $this->storeTranslations['pse_text_label'],
'input_table_button' => $this->storeTranslations['input_table_button'],
'site_id' => $this->mercadopago->sellerConfig->getSiteId(),
diff --git a/src/Gateways/TicketGateway.php b/src/Gateways/TicketGateway.php
index 6d69c73b4..9b0ce8ecb 100644
--- a/src/Gateways/TicketGateway.php
+++ b/src/Gateways/TicketGateway.php
@@ -228,6 +228,7 @@ public function registerCheckoutScripts(): void
$this->mercadopago->helpers->url->getJsAsset('checkouts/ticket/mp-ticket-checkout'),
[
'site_id' => $this->countryConfigs['site_id'],
+ 'error_messages' => $this->getPaymentFieldsErrorMessages(),
]
);
}
@@ -249,40 +250,86 @@ public function payment_fields(): void
* Get Payment Fields params
*
* @return array
+ *
+ * @codeCoverageIgnore
*/
public function getPaymentFieldsParams(): array
{
- $currentUser = $this->mercadopago->helpers->currentUser->getCurrentUser();
- $loggedUserEmail = ($currentUser->ID != 0) ? $currentUser->user_email : null;
- $address = $this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_address_1', true);
- $address2 = $this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_address_2', true);
- $address .= (!empty($address2) ? ' - ' . $address2 : '');
- $country = $this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_country', true);
- $address .= (!empty($country) ? ' - ' . $country : '');
$amountAndCurrencyRatio = $this->getAmountAndCurrency();
return [
- 'test_mode' => $this->mercadopago->storeConfig->isTestMode(),
- 'test_mode_title' => $this->storeTranslations['test_mode_title'],
- 'test_mode_description' => $this->storeTranslations['test_mode_description'],
- 'test_mode_link_text' => $this->storeTranslations['test_mode_link_text'],
- 'test_mode_link_src' => $this->links['docs_integration_test'],
- 'input_document_label' => $this->storeTranslations['input_document_label'],
- 'input_document_helper' => $this->storeTranslations['input_document_helper'],
- 'ticket_text_label' => $this->storeTranslations['ticket_text_label'],
- 'input_table_button' => $this->storeTranslations['input_table_button'],
- 'input_helper_label' => $this->storeTranslations['input_helper_label'],
- 'terms_and_conditions_description' => $this->storeTranslations['terms_and_conditions_description'],
- 'terms_and_conditions_link_text' => $this->storeTranslations['terms_and_conditions_link_text'],
- 'terms_and_conditions_link_src' => $this->links['mercadopago_terms_and_conditions'],
- 'payment_methods' => $this->getPaymentMethods(),
- 'site_id' => $this->mercadopago->sellerConfig->getSiteId(),
- 'payer_email' => esc_js($loggedUserEmail),
- 'woocommerce_currency' => get_woocommerce_currency(),
- 'account_currency' => $this->mercadopago->helpers->country->getCountryConfigs(),
- 'febraban' => $this->getFebrabanInfo($currentUser, $address),
- 'amount' => $amountAndCurrencyRatio['amount'],
- 'currency_ratio' => $amountAndCurrencyRatio['currencyRatio'],
- 'message_error_amount' => $this->storeTranslations['message_error_amount'],
+ 'test_mode' => $this->mercadopago->storeConfig->isTestMode(),
+ 'test_mode_title' => $this->storeTranslations['test_mode_title'],
+ 'test_mode_description' => $this->storeTranslations['test_mode_description'],
+ 'test_mode_link_text' => $this->storeTranslations['test_mode_link_text'],
+ 'test_mode_link_src' => $this->links['docs_integration_test'],
+ 'input_document_label' => $this->storeTranslations['input_document_label'],
+ 'input_document_helper_empty' => $this->storeTranslations['input_document_helper_empty'],
+ 'input_document_helper_invalid' => $this->storeTranslations['input_document_helper_invalid'],
+ 'input_document_helper_wrong' => $this->storeTranslations['input_document_helper_wrong'],
+ 'ticket_text_label' => $this->storeTranslations['ticket_text_label'],
+ 'input_table_button' => $this->storeTranslations['input_table_button'],
+ 'input_helper_label' => $this->storeTranslations['input_helper_label'],
+ 'terms_and_conditions_description' => $this->storeTranslations['terms_and_conditions_description'],
+ 'terms_and_conditions_link_text' => $this->storeTranslations['terms_and_conditions_link_text'],
+ 'terms_and_conditions_link_src' => $this->links['mercadopago_terms_and_conditions'],
+ 'payment_methods' => $this->getPaymentMethods(),
+ 'mlb_states' => $this->getMLBStatesForAddressFields(),
+ 'site_id' => $this->mercadopago->sellerConfig->getSiteId(),
+ 'amount' => $amountAndCurrencyRatio['amount'],
+ 'currency_ratio' => $amountAndCurrencyRatio['currencyRatio'],
+ 'message_error_amount' => $this->storeTranslations['message_error_amount'],
+ 'billing_data_title' => $this->storeTranslations['billing_data_title'],
+ 'billing_data_checkbox_label' => $this->storeTranslations['billing_data_checkbox_label'],
+ 'billing_data_postalcode_label' => $this->storeTranslations['billing_data_postalcode_label'],
+ 'billing_data_postalcode_placeholder' => $this->storeTranslations['billing_data_postalcode_placeholder'],
+ 'billing_data_postalcode_error_empty' => $this->storeTranslations['billing_data_postalcode_error_empty'],
+ 'billing_data_postalcode_error_partial' => $this->storeTranslations['billing_data_postalcode_error_partial'],
+ 'billing_data_postalcode_error_invalid' => $this->storeTranslations['billing_data_postalcode_error_invalid'],
+ 'billing_data_state_label' => $this->storeTranslations['billing_data_state_label'],
+ 'billing_data_state_placeholder' => $this->storeTranslations['billing_data_state_placeholder'],
+ 'billing_data_state_error_unselected' => $this->storeTranslations['billing_data_state_error_unselected'],
+ 'billing_data_city_label' => $this->storeTranslations['billing_data_city_label'],
+ 'billing_data_city_placeholder' => $this->storeTranslations['billing_data_city_placeholder'],
+ 'billing_data_city_error_empty' => $this->storeTranslations['billing_data_city_error_empty'],
+ 'billing_data_city_error_invalid' => $this->storeTranslations['billing_data_city_error_invalid'],
+ 'billing_data_neighborhood_label' => $this->storeTranslations['billing_data_neighborhood_label'],
+ 'billing_data_neighborhood_placeholder' => $this->storeTranslations['billing_data_neighborhood_placeholder'],
+ 'billing_data_neighborhood_error_empty' => $this->storeTranslations['billing_data_neighborhood_error_empty'],
+ 'billing_data_neighborhood_error_invalid' => $this->storeTranslations['billing_data_neighborhood_error_invalid'],
+ 'billing_data_address_label' => $this->storeTranslations['billing_data_address_label'],
+ 'billing_data_address_placeholder' => $this->storeTranslations['billing_data_address_placeholder'],
+ 'billing_data_address_error_empty' => $this->storeTranslations['billing_data_address_error_empty'],
+ 'billing_data_address_error_invalid' => $this->storeTranslations['billing_data_address_error_invalid'],
+ 'billing_data_address_comp_label' => $this->storeTranslations['billing_data_address_comp_label'],
+ 'billing_data_address_comp_placeholder' => $this->storeTranslations['billing_data_address_comp_placeholder'],
+ 'billing_data_number_label' => $this->storeTranslations['billing_data_number_label'],
+ 'billing_data_number_placeholder' => $this->storeTranslations['billing_data_number_placeholder'],
+ 'billing_data_number_toggle_label' => $this->storeTranslations['billing_data_number_toggle_label'],
+ 'billing_data_number_error_empty' => $this->storeTranslations['billing_data_number_error_empty'],
+ 'billing_data_number_error_invalid' => $this->storeTranslations['billing_data_number_error_invalid'],
+ ];
+ }
+
+ /**
+ * Get Payment Fields error messages
+ *
+ * @return array
+ */
+ public function getPaymentFieldsErrorMessages(): array
+ {
+ return [
+ 'postalcode_error_empty' => $this->storeTranslations['billing_data_postalcode_error_empty'],
+ 'postalcode_error_partial' => $this->storeTranslations['billing_data_postalcode_error_partial'],
+ 'postalcode_error_invalid' => $this->storeTranslations['billing_data_postalcode_error_invalid'],
+ 'state_error_unselected' => $this->storeTranslations['billing_data_state_error_unselected'],
+ 'city_error_empty' => $this->storeTranslations['billing_data_city_error_empty'],
+ 'city_error_invalid' => $this->storeTranslations['billing_data_city_error_invalid'],
+ 'neighborhood_error_empty' => $this->storeTranslations['billing_data_neighborhood_error_empty'],
+ 'neighborhood_error_invalid' => $this->storeTranslations['billing_data_neighborhood_error_invalid'],
+ 'address_error_empty' => $this->storeTranslations['billing_data_address_error_empty'],
+ 'address_error_invalid' => $this->storeTranslations['billing_data_address_error_invalid'],
+ 'number_error_empty' => $this->storeTranslations['billing_data_number_error_empty'],
+ 'number_error_invalid' => $this->storeTranslations['billing_data_number_error_invalid'],
];
}
@@ -508,41 +555,6 @@ private function getPaymentMethods(): array
return $this->mercadopago->helpers->paymentMethods->treatTicketPaymentMethods($activePaymentMethods);
}
- /**
- * Get Febraban info
- *
- * @param WP_User $currentUser
- * @param string $address
- *
- * @return array
- */
- public function getFebrabanInfo(WP_User $currentUser, string $address): array
- {
- if ($currentUser->ID != 0) {
- return [
- 'firstname' => esc_js($currentUser->user_firstname),
- 'lastname' => esc_js($currentUser->user_lastname),
- 'address' => esc_js($address),
- 'city' => esc_js($this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_city', true)),
- 'state' => esc_js($this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_state', true)),
- 'zipcode' => esc_js($this->mercadopago->helpers->currentUser->getCurrentUserMeta('billing_postcode', true)),
- 'docNumber' => '',
- 'number' => '',
- ];
- }
-
- return [
- 'firstname' => '',
- 'lastname' => '',
- 'address' => '',
- 'city' => '',
- 'state' => '',
- 'zipcode' => '',
- 'docNumber' => '',
- 'number' => '',
- ];
- }
-
/**
* Validate POST data and return the errors found.
* Returns null if there is no errors.
@@ -574,6 +586,39 @@ public function validateRulesForSiteId($checkout): ?array
return null;
}
+ public function getMLBStatesForAddressFields(): array
+ {
+ return [
+ 'AC' => 'Acre',
+ 'AL' => 'Alagoas',
+ 'AP' => 'Amapá',
+ 'AM' => 'Amazonas',
+ 'BA' => 'Bahia',
+ 'CE' => 'Ceará',
+ 'DF' => 'Distrito Federal',
+ 'ES' => 'Espirito Santo',
+ 'GO' => 'Goiás',
+ 'MA' => 'Maranhão',
+ 'MS' => 'Mato Grosso do Sul',
+ 'MT' => 'Mato Grosso',
+ 'MG' => 'Minas Gerais',
+ 'PA' => 'Pará',
+ 'PB' => 'Paraíba',
+ 'PR' => 'Paraná',
+ 'PE' => 'Pernambuco',
+ 'PI' => 'Piauí',
+ 'RJ' => 'Rio de Janeiro',
+ 'RN' => 'Rio Grande do Norte',
+ 'RS' => 'Rio Grande do Sul',
+ 'RO' => 'Rondônia',
+ 'RR' => 'Roraima',
+ 'SC' => 'Santa Catarina',
+ 'SP' => 'São Paulo',
+ 'SE' => 'Sergipe',
+ 'TO' => 'Tocantins',
+ ];
+ }
+
/**
* Render thank you page
*
diff --git a/src/Gateways/YapeGateway.php b/src/Gateways/YapeGateway.php
index dc4b9339e..7341d8991 100644
--- a/src/Gateways/YapeGateway.php
+++ b/src/Gateways/YapeGateway.php
@@ -34,8 +34,8 @@ public function __construct()
$this->storeTranslations = $this->mercadopago->storeTranslations->yapeCheckout;
$this->id = self::ID;
- $this->icon = $this->mercadopago->hooks->gateway->getGatewayIcon('icon-yape', '.svg');
- $this->iconAdmin = $this->mercadopago->hooks->gateway->getGatewayIcon('icon-yape', '.svg');
+ $this->icon = $this->mercadopago->hooks->gateway->getGatewayIcon('icon-yape.svg');
+ $this->iconAdmin = $this->mercadopago->hooks->gateway->getGatewayIcon('icon-yape.svg');
$this->title = $this->mercadopago->storeConfig->getGatewayTitle($this, $this->adminTranslations['gateway_title']);
$this->init_form_fields();
@@ -234,9 +234,9 @@ public function getPaymentFieldsParams(): array
'footer_text' => $this->storeTranslations['footer_text'],
'test_mode_link_src' => $this->links['docs_integration_test'],
'terms_and_conditions_link_src' => $this->links['mercadopago_terms_and_conditions'],
- 'input_code_icon' => $this->mercadopago->helpers->url->getImageAsset('checkouts/yape/yape-tooltip-icon', '.svg'),
+ 'input_code_icon' => $this->mercadopago->helpers->url->getImageAsset('checkouts/yape/yape-tooltip-icon.svg'),
'checkout_notice_icon_one' => $this->mercadopago->helpers->url->getImageAsset('checkouts/yape/checkout-notice-icon'),
- 'checkout_notice_icon_two' => $this->mercadopago->helpers->url->getImageAsset('checkouts/yape/mp-transparent-icon', '.svg'),
+ 'checkout_notice_icon_two' => $this->mercadopago->helpers->url->getImageAsset('checkouts/yape/mp-transparent-icon.svg'),
'yape_tooltip_text' => $this->storeTranslations['yape_tooltip_text'],
'yape_input_code_error_message1' => $this->storeTranslations['yape_input_code_error_message1'],
'yape_input_code_error_message2' => $this->storeTranslations['yape_input_code_error_message2'],
diff --git a/src/Helpers/Actions.php b/src/Helpers/Actions.php
index 7e9a857e6..02696b519 100644
--- a/src/Helpers/Actions.php
+++ b/src/Helpers/Actions.php
@@ -6,7 +6,7 @@
exit;
}
-final class Actions
+class Actions
{
/**
* Register action when gateway is not called on page
diff --git a/src/Helpers/Arrays.php b/src/Helpers/Arrays.php
index f387ec3c9..1414eca92 100644
--- a/src/Helpers/Arrays.php
+++ b/src/Helpers/Arrays.php
@@ -6,7 +6,7 @@
exit;
}
-final class Arrays
+class Arrays
{
/**
* Filter array elements then join them.
diff --git a/src/Helpers/Cache.php b/src/Helpers/Cache.php
index 6f945a04a..03c5cb0ab 100644
--- a/src/Helpers/Cache.php
+++ b/src/Helpers/Cache.php
@@ -6,7 +6,7 @@
exit;
}
-final class Cache
+class Cache
{
/**
* Get cache on database
@@ -29,7 +29,7 @@ public function getCache(string $key)
*
* @return void
*/
- public function setCache(string $key, $value, int $ttl = MINUTE_IN_SECONDS)
+ public function setCache(string $key, $value, int $ttl = 60)
{
set_transient(sha1($key), $value, $ttl);
}
diff --git a/src/Helpers/Cart.php b/src/Helpers/Cart.php
index 4b00f8166..08479b507 100644
--- a/src/Helpers/Cart.php
+++ b/src/Helpers/Cart.php
@@ -13,7 +13,7 @@
exit;
}
-final class Cart
+class Cart
{
protected WooCommerce $woocommerce;
diff --git a/src/Helpers/Categories.php b/src/Helpers/Categories.php
index e77bcd96d..c2ec0318c 100644
--- a/src/Helpers/Categories.php
+++ b/src/Helpers/Categories.php
@@ -6,7 +6,7 @@
exit;
}
-final class Categories
+class Categories
{
/**
* Get all store categories
diff --git a/src/Helpers/Country.php b/src/Helpers/Country.php
index 2ac88d739..fb6d7fa95 100644
--- a/src/Helpers/Country.php
+++ b/src/Helpers/Country.php
@@ -8,7 +8,7 @@
exit;
}
-final class Country
+class Country
{
public const SITE_ID_MLA = 'MLA';
diff --git a/src/Helpers/Currency.php b/src/Helpers/Currency.php
index 1bf3956d0..6de89716e 100644
--- a/src/Helpers/Currency.php
+++ b/src/Helpers/Currency.php
@@ -13,7 +13,7 @@
exit;
}
-final class Currency
+class Currency
{
private const CURRENCY_CONVERSION = 'currency_conversion';
diff --git a/src/Helpers/CurrentUser.php b/src/Helpers/CurrentUser.php
index b871ad9dc..23fda0d40 100644
--- a/src/Helpers/CurrentUser.php
+++ b/src/Helpers/CurrentUser.php
@@ -10,7 +10,7 @@
exit;
}
-final class CurrentUser
+class CurrentUser
{
private Logs $logs;
diff --git a/src/Helpers/Date.php b/src/Helpers/Date.php
index ffebce0e4..1169e109c 100644
--- a/src/Helpers/Date.php
+++ b/src/Helpers/Date.php
@@ -6,7 +6,7 @@
exit;
}
-final class Date
+class Date
{
/**
* Get now date
diff --git a/src/Helpers/Device.php b/src/Helpers/Device.php
index 41e3bea44..535c4b831 100644
--- a/src/Helpers/Device.php
+++ b/src/Helpers/Device.php
@@ -6,7 +6,7 @@
exit;
}
-final class Device
+class Device
{
/**
* Verify if device is mobile
diff --git a/src/Helpers/Environment.php b/src/Helpers/Environment.php
index fa09c7e74..5a47ee732 100644
--- a/src/Helpers/Environment.php
+++ b/src/Helpers/Environment.php
@@ -6,7 +6,7 @@
exit;
}
-final class Environment
+class Environment
{
public const WP_ENVIRONMENT_TYPE_LOCAL = 'local';
public const WP_ENVIRONMENT_TYPE_DEVELOPMENT = 'development';
diff --git a/src/Helpers/Form.php b/src/Helpers/Form.php
index 2ac592b2e..a58dc67a4 100644
--- a/src/Helpers/Form.php
+++ b/src/Helpers/Form.php
@@ -6,7 +6,7 @@
exit;
}
-final class Form
+class Form
{
/**
* Sanitizes $_GET object or otherwise sanitizes an $_GET[$key] object/data
diff --git a/src/Helpers/Gateways.php b/src/Helpers/Gateways.php
index 3dedd5d2f..cf4ebdae1 100644
--- a/src/Helpers/Gateways.php
+++ b/src/Helpers/Gateways.php
@@ -8,7 +8,7 @@
exit;
}
-final class Gateways
+class Gateways
{
private Store $store;
diff --git a/src/Helpers/Images.php b/src/Helpers/Images.php
index 8ee6ce17a..329b75790 100644
--- a/src/Helpers/Images.php
+++ b/src/Helpers/Images.php
@@ -6,7 +6,7 @@
exit;
}
-final class Images
+class Images
{
/**
* Get base 64 image
diff --git a/src/Helpers/Links.php b/src/Helpers/Links.php
index 1612c86e7..3eb6d0669 100644
--- a/src/Helpers/Links.php
+++ b/src/Helpers/Links.php
@@ -6,7 +6,7 @@
exit;
}
-final class Links
+class Links
{
private const MP_URL = 'https://www.mercadopago.com';
diff --git a/src/Helpers/Nonce.php b/src/Helpers/Nonce.php
index fb7026fa6..46c3f0013 100644
--- a/src/Helpers/Nonce.php
+++ b/src/Helpers/Nonce.php
@@ -9,7 +9,7 @@
exit;
}
-final class Nonce
+class Nonce
{
private Logs $logs;
diff --git a/src/Helpers/NotificationType.php b/src/Helpers/NotificationType.php
index 713501e4f..98e6df0a3 100644
--- a/src/Helpers/NotificationType.php
+++ b/src/Helpers/NotificationType.php
@@ -6,7 +6,7 @@
exit;
}
-final class NotificationType
+class NotificationType
{
/**
* Get Status Type
diff --git a/src/Helpers/Numbers.php b/src/Helpers/Numbers.php
index ef4209969..78080a181 100644
--- a/src/Helpers/Numbers.php
+++ b/src/Helpers/Numbers.php
@@ -6,7 +6,7 @@
exit;
}
-final class Numbers
+class Numbers
{
/**
* Format value
diff --git a/src/Helpers/Paths.php b/src/Helpers/Paths.php
new file mode 100644
index 000000000..631f0892a
--- /dev/null
+++ b/src/Helpers/Paths.php
@@ -0,0 +1,56 @@
+getPluginFileUrl('assets/css/' . $fileName, '.css');
+ return $this->getPluginFileUrl("assets/css/$fileName.min.css");
}
/**
@@ -61,20 +55,15 @@ public function getCssAsset(string $fileName): string
*/
public function getJsAsset(string $fileName): string
{
- return $this->getPluginFileUrl('assets/js/' . $fileName, '.js');
+ return $this->getPluginFileUrl("assets/js/$fileName.min.js");
}
/**
* Get plugin image asset file url
- *
- * @param string $fileName
- * @param string $extension
- *
- * @return string
*/
- public function getImageAsset(string $fileName, string $extension = '.png'): string
+ public function getImageAsset(string $fileName): string
{
- return $this->getPluginFileUrl('assets/images/' . $fileName, $extension, true);
+ return $this->getPluginFileUrl('assets/images/' . Paths::addExtension($fileName, 'png')) . '?ver=' . $this->assetVersion();
}
/**
@@ -241,4 +230,12 @@ public function validateGetVar(string $expectedVar): bool
{
return isset($_GET[$expectedVar]);
}
+
+ /**
+ * Version to be used on asset urls
+ */
+ public function assetVersion(): string
+ {
+ return Arrays::filterJoin([MP_VERSION, Environment::isDevelopmentEnvironment() ? time() : false], '.');
+ }
}
diff --git a/src/Hooks/Checkout.php b/src/Hooks/Checkout.php
index 7ba5f2d84..b3f8c3487 100644
--- a/src/Hooks/Checkout.php
+++ b/src/Hooks/Checkout.php
@@ -15,7 +15,7 @@ class Checkout
*/
public function isCheckout(): bool
{
- return is_checkout();
+ return isset($GLOBALS['wp_query']) && is_checkout();
}
/**
diff --git a/src/Hooks/Gateway.php b/src/Hooks/Gateway.php
index 4c845c794..23bd55621 100644
--- a/src/Hooks/Gateway.php
+++ b/src/Hooks/Gateway.php
@@ -306,14 +306,10 @@ public function registerAfterSettingsCheckout(string $name, array $args): void
/**
* Get gateway icon
- *
- * @param string $iconName
- *
- * @return string
*/
- public function getGatewayIcon(string $iconName, string $fileExtension = '.png'): string
+ public function getGatewayIcon(string $iconName): string
{
- $path = $this->url->getImageAsset('icons/' . $iconName, $fileExtension);
+ $path = $this->url->getImageAsset("icons/$iconName");
return apply_filters(self::GATEWAY_ICON_FILTER, $path);
}
diff --git a/src/Hooks/Order.php b/src/Hooks/Order.php
index e395a57d3..d8d8163fa 100644
--- a/src/Hooks/Order.php
+++ b/src/Hooks/Order.php
@@ -343,7 +343,16 @@ public function registerSyncPendingStatusOrdersAction(): void
));
foreach ($orders as $order) {
- $this->syncOrderStatus($order);
+ try {
+ $this->syncOrderStatus($order);
+ } catch (Exception $ex) {
+ $error_message = "Unable to update order {$order->get_id()} on action got error: {$ex->getMessage()}";
+
+ $this->logs->file->error(
+ $error_message,
+ __CLASS__
+ );
+ }
}
$this->sendEventOnAction('success');
diff --git a/src/Hooks/Scripts.php b/src/Hooks/Scripts.php
index a3aebf5af..0872a21d6 100644
--- a/src/Hooks/Scripts.php
+++ b/src/Hooks/Scripts.php
@@ -276,6 +276,11 @@ public function registerPaymentBlockScript(string $name, string $file, string $v
}
}
+ public function registerPaymentBlockStyle(string $name, string $file): void
+ {
+ add_action('enqueue_block_assets', fn() => $this->registerStyle($name, $file));
+ }
+
/**
* Register styles
*
@@ -286,7 +291,7 @@ public function registerPaymentBlockScript(string $name, string $file, string $v
*/
private function registerStyle(string $name, string $file): void
{
- wp_register_style($name, $file, false, $this->assetVersion());
+ wp_register_style($name, $file, [], $this->url->assetVersion());
wp_enqueue_style($name);
}
@@ -301,18 +306,10 @@ private function registerStyle(string $name, string $file): void
*/
private function registerScript(string $name, string $file, array $variables = []): void
{
- wp_enqueue_script($name, $file, [], $this->assetVersion(), true);
+ wp_enqueue_script($name, $file, [], $this->url->assetVersion(), true);
if ($variables) {
wp_localize_script($name, $name . self::SUFFIX, $variables);
}
}
-
- /**
- * Determines the version value to be used on scripts / styles
- **/
- private function assetVersion(): string
- {
- return Arrays::filterJoin([MP_VERSION, Environment::isDevelopmentEnvironment() ? time() : false], '.');
- }
}
diff --git a/src/Hooks/Template.php b/src/Hooks/Template.php
index c22bc6f29..9d081537d 100644
--- a/src/Hooks/Template.php
+++ b/src/Hooks/Template.php
@@ -2,22 +2,14 @@
namespace MercadoPago\Woocommerce\Hooks;
+use MercadoPago\Woocommerce\Helpers\Template as TemplateHelper;
+
if (!defined('ABSPATH')) {
exit;
}
class Template
{
- public string $path;
-
- /**
- * Template constructor
- */
- public function __construct()
- {
- $this->path = plugin_dir_path(__FILE__) . '../../templates/';
- }
-
/**
* Get woocommerce template
*
@@ -28,7 +20,7 @@ public function __construct()
*/
public function getWoocommerceTemplate(string $name, array $variables = []): void
{
- wc_get_template($name, $variables, null, $this->path);
+ TemplateHelper::render($name, $variables);
}
/**
@@ -41,6 +33,6 @@ public function getWoocommerceTemplate(string $name, array $variables = []): voi
*/
public function getWoocommerceTemplateHtml(string $name, array $variables = []): string
{
- return wc_get_template_html($name, $variables, null, $this->path);
+ return TemplateHelper::html($name, $variables);
}
}
diff --git a/src/Order/OrderStatus.php b/src/Order/OrderStatus.php
index ecd9ac398..0f15d520f 100644
--- a/src/Order/OrderStatus.php
+++ b/src/Order/OrderStatus.php
@@ -10,7 +10,7 @@
exit;
}
-final class OrderStatus
+class OrderStatus
{
private array $translations;
diff --git a/src/Traits/Singleton.php b/src/Traits/Singleton.php
new file mode 100644
index 000000000..9f4a35436
--- /dev/null
+++ b/src/Traits/Singleton.php
@@ -0,0 +1,33 @@
+email = $this->mercadopago->orderBilling->getEmail($this->order);
$payer->first_name = $this->mercadopago->orderBilling->getFirstName($this->order);
$payer->last_name = $this->mercadopago->orderBilling->getLastName($this->order);
- $payer->address->city = $this->mercadopago->orderBilling->getCity($this->order);
- $payer->address->federal_unit = $this->mercadopago->orderBilling->getState($this->order);
- $payer->address->zip_code = $this->mercadopago->orderBilling->getZipcode($this->order);
- $payer->address->street_name = $this->mercadopago->orderBilling->getFullAddress($this->order);
- $payer->address->street_number = '';
- $payer->address->neighborhood = '';
+
+ $this->setPayerAddressInfo();
+ }
+
+ private function setPayerAddressInfo(): void
+ {
+ $this->transaction->payer->address->city = $this->mercadopago->orderBilling->getCity($this->order);
+ $this->transaction->payer->address->federal_unit = $this->mercadopago->orderBilling->getState($this->order);
+ $this->transaction->payer->address->zip_code = $this->mercadopago->orderBilling->getZipcode($this->order);
+ $this->transaction->payer->address->street_name = $this->mercadopago->orderBilling->getFullAddress($this->order);
}
}
diff --git a/src/Transactions/AbstractTransaction.php b/src/Transactions/AbstractTransaction.php
index 5a7c02e3f..d80f54717 100644
--- a/src/Transactions/AbstractTransaction.php
+++ b/src/Transactions/AbstractTransaction.php
@@ -22,18 +22,18 @@
abstract class AbstractTransaction
{
- protected WoocommerceMercadoPago $mercadopago;
+ public WoocommerceMercadoPago $mercadopago;
- protected Sdk $sdk;
+ public Sdk $sdk;
/**
* Transaction
*
* @var Payment|Preference
*/
- protected $transaction;
+ public $transaction;
- protected AbstractGateway $gateway;
+ public AbstractGateway $gateway;
protected WC_Order $order;
@@ -45,7 +45,7 @@ abstract class AbstractTransaction
protected float $orderTotal;
- protected array $listOfItems;
+ protected array $listOfItems = [];
/**
* Abstract Transaction constructor
diff --git a/src/Transactions/BasicTransaction.php b/src/Transactions/BasicTransaction.php
index d86aaec71..4acef57c9 100644
--- a/src/Transactions/BasicTransaction.php
+++ b/src/Transactions/BasicTransaction.php
@@ -26,6 +26,15 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
$this->setPaymentMethodsTransaction();
}
+ /**
+ * Bind to parent getInternalMetadata method to be able to mock it on tests
+ * @return PaymentMetadata
+ */
+ protected function getInternalMetadataStoreAndSellerInfo(): PaymentMetadata
+ {
+ return parent::getInternalMetadata();
+ }
+
/**
* Get internal metadata
*
@@ -33,7 +42,7 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
*/
public function getInternalMetadata(): PaymentMetadata
{
- $internalMetadata = parent::getInternalMetadata();
+ $internalMetadata = $this->getInternalMetadataStoreAndSellerInfo();
$internalMetadata->checkout = 'smart';
$internalMetadata->checkout_type = $this->mercadopago->hooks->options->getGatewayOption($this->gateway, 'method', 'redirect');
diff --git a/src/Transactions/CreditsTransaction.php b/src/Transactions/CreditsTransaction.php
index bad1055be..5b962b883 100644
--- a/src/Transactions/CreditsTransaction.php
+++ b/src/Transactions/CreditsTransaction.php
@@ -26,6 +26,15 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
$this->transaction->purpose = 'onboarding_credits';
}
+ /**
+ * Bind to parent getInternalMetadata method to be able to mock it on tests
+ * @return PaymentMetadata
+ */
+ protected function getInternalMetadataStoreAndSellerInfo(): PaymentMetadata
+ {
+ return parent::getInternalMetadata();
+ }
+
/**
* Get internal metadata
*
@@ -33,7 +42,7 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
*/
public function getInternalMetadata(): PaymentMetadata
{
- $internalMetadata = parent::getInternalMetadata();
+ $internalMetadata = $this->getInternalMetadataStoreAndSellerInfo();
$internalMetadata->checkout = 'pro';
$internalMetadata->checkout_type = self::ID;
diff --git a/src/Transactions/TicketTransaction.php b/src/Transactions/TicketTransaction.php
index a8415d868..be39014a6 100644
--- a/src/Transactions/TicketTransaction.php
+++ b/src/Transactions/TicketTransaction.php
@@ -31,7 +31,10 @@ public function __construct(AbstractGateway $gateway, WC_Order $order, array $ch
$this->paymentMethodId = $this->checkout['payment_method_id'];
$this->paymentPlaceId = $this->mercadopago->helpers->paymentMethods->getPaymentPlaceId($this->paymentMethodId);
- $this->paymentMethodId = $this->mercadopago->helpers->paymentMethods->getPaymentMethodId($this->paymentMethodId);
+ if ($this->countryConfigs['site_id'] !== 'MPE') {
+ $this->paymentMethodId = $this->mercadopago->helpers->paymentMethods->getPaymentMethodId($this->paymentMethodId);
+ }
+
$this->transaction->installments = 1;
$this->transaction->payment_method_id = $this->paymentMethodId;
@@ -103,12 +106,29 @@ public function setPayerTransaction(): void
{
parent::setPayerTransaction();
- $payer = $this->transaction->payer;
- $currency = $this->countryConfigs['currency'];
-
- if ($currency === 'BRL' || $currency === 'UYU') {
- $payer->identification->type = $this->checkout['doc_type'];
- $payer->identification->number = $this->checkout['doc_number'];
+ if ($this->countryConfigs['site_id'] === 'MLB' || $this->countryConfigs['site_id'] === 'MLU') {
+ $this->setPayerIdentificationInfo();
}
+ if ($this->countryConfigs['site_id'] === 'MLB') {
+ $this->setPayerAddressInfoFromCheckout();
+ }
+ }
+
+ private function setPayerIdentificationInfo(): void
+ {
+ $this->transaction->payer->identification->type = $this->checkout['doc_type'];
+ $this->transaction->payer->identification->number = $this->checkout['doc_number'];
+ }
+
+ private function setPayerAddressInfoFromCheckout(): void
+ {
+ $streetNumber = $this->checkout['address_street_number'] ?: 'S/N';
+
+ $this->transaction->payer->address->city = $this->transaction->additional_info->payer->address->city = $this->checkout['address_city'];
+ $this->transaction->payer->address->federal_unit = $this->transaction->additional_info->payer->address->federal_unit = $this->checkout['address_federal_unit'];
+ $this->transaction->payer->address->zip_code = $this->transaction->additional_info->payer->address->zip_code = $this->checkout['address_zip_code'];
+ $this->transaction->payer->address->street_name = $this->transaction->additional_info->payer->address->street_name = $this->checkout['address_street_name'];
+ $this->transaction->payer->address->neighborhood = $this->transaction->additional_info->payer->address->neighborhood = $this->checkout['address_neighborhood'];
+ $this->transaction->payer->address->street_number = $this->transaction->additional_info->payer->address->street_number = $streetNumber;
}
}
diff --git a/src/Transactions/WalletButtonTransaction.php b/src/Transactions/WalletButtonTransaction.php
index e4857fbde..b570ba1fe 100644
--- a/src/Transactions/WalletButtonTransaction.php
+++ b/src/Transactions/WalletButtonTransaction.php
@@ -27,6 +27,15 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
$this->transaction->purpose = 'wallet_purchase';
}
+ /**
+ * Bind to parent getInternalMetadata method to be able to mock it on tests
+ * @return PaymentMetadata
+ */
+ protected function getInternalMetadataStoreAndSellerInfo(): PaymentMetadata
+ {
+ return parent::getInternalMetadata();
+ }
+
/**
* Get internal metadata
*
@@ -34,7 +43,7 @@ public function __construct(AbstractGateway $gateway, WC_Order $order)
*/
public function getInternalMetadata(): PaymentMetadata
{
- $internalMetadata = parent::getInternalMetadata();
+ $internalMetadata = $this->getInternalMetadataStoreAndSellerInfo();
$internalMetadata->checkout = 'pro';
$internalMetadata->checkout_type = self::ID;
diff --git a/src/Translations/AdminTranslations.php b/src/Translations/AdminTranslations.php
index c4b694b07..3f6a276d4 100644
--- a/src/Translations/AdminTranslations.php
+++ b/src/Translations/AdminTranslations.php
@@ -441,13 +441,25 @@ private function setBasicGatewaySettingsTranslations(): void
*/
private function setCreditsGatewaySettingsTranslations(): void
{
- $descriptionEnabled = sprintf(
+ $gatewayDescriptionEnabled = sprintf(
+ '%s %s.',
+ __('“Installments without cards through Mercado Pago” is', 'woocommerce-mercadopago'),
+ __('enabled', 'woocommerce-mercadopago')
+ );
+
+ $gatewayDescriptionDisabled = sprintf(
+ '%s %s.',
+ __('“Installments without cards through Mercado Pago” is', 'woocommerce-mercadopago'),
+ __('disabled', 'woocommerce-mercadopago')
+ );
+
+ $bannerDescriptionEnabled = sprintf(
'%s %s.',
__('“Up to 12 installments without cards through Mercado Pago” is', 'woocommerce-mercadopago'),
__('enabled', 'woocommerce-mercadopago')
);
- $descriptionDisabled = sprintf(
+ $bannerDescriptionDisabled = sprintf(
'%s %s.',
__('“Up to 12 installments without cards through Mercado Pago” is', 'woocommerce-mercadopago'),
__('disabled', 'woocommerce-mercadopago')
@@ -477,8 +489,8 @@ private function setCreditsGatewaySettingsTranslations(): void
'card_settings_button_text' => __('Go to Settings', 'woocommerce-mercadopago'),
'enabled_title' => __('Activate the installments without cards in the checkout', 'woocommerce-mercadopago'),
'enabled_subtitle' => __('Activate this feature to reach more buyers. It will be available in your store\'s checkout.', 'woocommerce-mercadopago'),
- 'enabled_descriptions_enabled' => $descriptionEnabled,
- 'enabled_descriptions_disabled' => $descriptionDisabled,
+ 'enabled_descriptions_enabled' => $gatewayDescriptionEnabled,
+ 'enabled_descriptions_disabled' => $gatewayDescriptionDisabled,
'enabled_toggle_title' => __('Checkout visualization', 'woocommerce-mercadopago'),
'enabled_toggle_subtitle' => __('Check below how this feature will be displayed to your customers:', 'woocommerce-mercadopago'),
'enabled_toggle_footer' => __('Checkout Preview', 'woocommerce-mercadopago'),
@@ -493,8 +505,8 @@ private function setCreditsGatewaySettingsTranslations(): void
'currency_conversion_descriptions_disabled' => $currencyConversionDescriptionsDisabled,
'credits_banner_title' => __('Promote the payment of your products with Mercado Pago', 'woocommerce-mercadopago'),
'credits_banner_subtitle' => __('Activate this promotional banner to offer the option of paying in installments without cards through Mercado Pago within product pages.', 'woocommerce-mercadopago'),
- 'credits_banner_descriptions_enabled' => $descriptionEnabled,
- 'credits_banner_descriptions_disabled' => $descriptionDisabled,
+ 'credits_banner_descriptions_enabled' => $bannerDescriptionEnabled,
+ 'credits_banner_descriptions_disabled' => $bannerDescriptionDisabled,
'credits_banner_desktop' => __('Banner on the product page | Computer version', 'woocommerce-mercadopago'),
'credits_banner_cellphone' => __('Banner on the product page | Cellphone version', 'woocommerce-mercadopago'),
'credits_banner_toggle_computer' => __('Computer', 'woocommerce-mercadopago'),
diff --git a/src/Translations/StoreTranslations.php b/src/Translations/StoreTranslations.php
index 1c5b55ec2..5785ba8f1 100644
--- a/src/Translations/StoreTranslations.php
+++ b/src/Translations/StoreTranslations.php
@@ -111,7 +111,7 @@ private function setBasicCheckoutTranslations(): void
'payment_methods_title' => __('Available payment methods', 'woocommerce-mercadopago'),
'checkout_redirect_text' => __('By continuing, you will be taken to Mercado Pago to safely complete your purchase.', 'woocommerce-mercadopago'),
'checkout_redirect_alt' => __('Checkout Pro redirect info image', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'pay_with_mp_title' => __('Pay with Mercado Pago', 'woocommerce-mercadopago'),
'cancel_url_text' => __('Cancel & Clear Cart', 'woocommerce-mercadopago'),
@@ -135,7 +135,7 @@ private function setCreditsCheckoutTranslations(): void
'checkout_redirect_title' => __('We will take you to Mercado Pago', 'woocommerce-mercadopago'),
'checkout_redirect_description' => __('If you don\'t have a credits line yet, active it when paying.', 'woocommerce-mercadopago'),
'checkout_redirect_alt' => __('Checkout Pro redirect info image', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'tooltip_link' => __('Learn more', 'woocommerce-mercadopago'),
'modal_title' => __('Buy through Mercado Pago without cards and pay month by month', 'woocommerce-mercadopago'),
@@ -252,12 +252,14 @@ private function setCustomCheckoutTranslations(): void
'card_expiration_input_helper' => __('Required data', 'woocommerce-mercadopago'),
'card_security_code_input_label' => __('Security Code', 'woocommerce-mercadopago'),
'card_security_code_input_helper' => __('Required data', 'woocommerce-mercadopago'),
- 'card_document_input_label' => __('Holder document', 'woocommerce-mercadopago'),
- 'card_document_input_helper' => __('Invalid document', 'woocommerce-mercadopago'),
+ 'card_document_input_label' => __('Holder ID', 'woocommerce-mercadopago'),
+ 'card_document_input_helper_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'card_document_input_helper_invalid' => __('Please enter the full ID number.', 'woocommerce-mercadopago'),
+ 'card_document_input_helper_wrong' => __('Please enter a valid ID.', 'woocommerce-mercadopago'),
'card_installments_title' => __('Select the number of installments', 'woocommerce-mercadopago'),
'card_issuer_input_label' => __('Issuer', 'woocommerce-mercadopago'),
'card_installments_input_helper' => __('Select the number of installments', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'placeholders_card_expiration_date' => __('mm/yy', 'woocommerce-mercadopago'),
'placeholders_issuer' => __('Issuer', 'woocommerce-mercadopago'),
@@ -284,6 +286,8 @@ private function setCustomCheckoutTranslations(): void
'wallet_button_order_receipt_title' => __('Pay with Mercado Pago', 'woocommerce-mercadopago'),
'cancel_url_text' => __('Cancel & Clear Cart', 'woocommerce-mercadopago'),
'message_error_amount' => __('There was an error. Please try again in a few minutes.', 'woocommerce-mercadopago'),
+ 'installments_error_invalid_amount' => __('This amount does not allow payments by credit card, we recommend paying with another method or changing the contents of your cart.', 'woocommerce-mercadopago'),
+ 'default_error_message' => __('Something went wrong, we recommend trying again or paying with another method.', 'woocommerce-mercadopago')
];
}
@@ -300,7 +304,7 @@ private function setPixCheckoutTranslations(): void
'pix_template_title' => __('Pay instantly', 'woocommerce-mercadopago'),
'pix_template_subtitle' => __('By confirming your purchase, we will show you a code to make the payment.', 'woocommerce-mercadopago'),
'pix_template_alt' => __('Pix logo', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'expiration_date_text' => __('Code valid for ', 'woocommerce-mercadopago'),
'title_purchase_pix' => __('Now you just need to pay with Pix to finalize your purchase', 'woocommerce-mercadopago'),
@@ -334,8 +338,7 @@ private function setYapeCheckoutTranslations(): void
'test_mode_title' => __('Yape in Test Mode', 'woocommerce-mercadopago'),
'test_mode_link_text' => __('See the rules for the test mode.', 'woocommerce-mercadopago'),
'test_mode_description' => __('You can test the flow to generate a code, but you cannot finalize the payment.', 'woocommerce-mercadopago'),
- 'test_mode_link_text' => __('See the rules for the test mode.', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'yape_input_field_label' => __('Cell phone linked to Yape', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'checkout_notice_message' => __('Verify in Yape that the option "Compra por internet" is activated and that the daily limit is enough.', 'woocommerce-mercadopago'),
@@ -344,10 +347,10 @@ private function setYapeCheckoutTranslations(): void
'input_code_label' => __('Approval code', 'woocommerce-mercadopago'),
'footer_text' => __('Processed by Mercado Pago', 'woocommerce-mercadopago'),
'yape_tooltip_text' => __('The code is available in the Yape app menu.', 'woocommerce-mercadopago'),
- 'yape_input_code_error_message1' => __('Enter the entire number..', 'woocommerce-mercadopago'),
- 'yape_input_code_error_message2' => __('Fill out this field.', 'woocommerce-mercadopago'),
- 'yape_phone_number_error_message1' => __('Enter the entire number.', 'woocommerce-mercadopago'),
- 'yape_phone_number_error_message2' => __('Fill out this field.', 'woocommerce-mercadopago'),
+ 'yape_input_code_error_message1' => __('Enter the entire number.', 'woocommerce-mercadopago'),
+ 'yape_input_code_error_message2' => __('Fill out this field.', 'woocommerce-mercadopago'),
+ 'yape_phone_number_error_message1' => __('Enter the entire number.', 'woocommerce-mercadopago'),
+ 'yape_phone_number_error_message2' => __('Fill out this field.', 'woocommerce-mercadopago'),
];
}
@@ -383,24 +386,54 @@ private function setOrderStatusTranslations(): void
private function setTicketCheckoutTranslations(): void
{
$this->ticketCheckout = [
- 'test_mode_title' => __('Offline Methods in Test Mode', 'woocommerce-mercadopago'),
- 'test_mode_description' => __('You can test the flow to generate an invoice, but you cannot finalize the payment.', 'woocommerce-mercadopago'),
- 'test_mode_link_text' => __('See the rules for the test mode.', 'woocommerce-mercadopago'),
- 'input_document_label' => __('Holder document', 'woocommerce-mercadopago'),
- 'input_document_helper' => __('Invalid document', 'woocommerce-mercadopago'),
- 'ticket_text_label' => __('Select where you want to pay', 'woocommerce-mercadopago'),
- 'input_table_button' => __('more options', 'woocommerce-mercadopago'),
- 'input_helper_label' => __('Select a payment method', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
- 'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
- 'print_ticket_label' => __('Great, we processed your purchase order. Complete the payment with ticket so that we finish approving it.', 'woocommerce-mercadopago'),
- 'print_ticket_link' => __('Print ticket', 'woocommerce-mercadopago'),
- 'paycash_concatenator' => __(' and ', 'woocommerce-mercadopago'),
- 'congrats_title' => __('To print the ticket again click', 'woocommerce-mercadopago'),
- 'congrats_subtitle' => __('here', 'woocommerce-mercadopago'),
- 'customer_not_paid' => __('Mercado Pago: The customer has not paid yet.', 'woocommerce-mercadopago'),
- 'message_error_amount' => __('There was an error. Please try again in a few minutes.', 'woocommerce-mercadopago'),
-
+ 'test_mode_title' => __('Offline Methods in Test Mode', 'woocommerce-mercadopago'),
+ 'test_mode_description' => __('You can test the flow to generate an invoice, but you cannot finalize the payment.', 'woocommerce-mercadopago'),
+ 'test_mode_link_text' => __('See the rules for the test mode.', 'woocommerce-mercadopago'),
+ 'input_document_label' => __('Holder ID', 'woocommerce-mercadopago'),
+ 'input_document_helper_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'input_document_helper_invalid' => __('Please enter the full ID number.', 'woocommerce-mercadopago'),
+ 'input_document_helper_wrong' => __('Please enter a valid ID.', 'woocommerce-mercadopago'),
+ 'ticket_text_label' => __('Select your payment method', 'woocommerce-mercadopago'),
+ 'input_table_button' => __('more options', 'woocommerce-mercadopago'),
+ 'input_helper_label' => __('Select a payment method.', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
+ 'print_ticket_label' => __('Great, we processed your purchase order. Complete the payment with ticket so that we finish approving it.', 'woocommerce-mercadopago'),
+ 'print_ticket_link' => __('Print ticket', 'woocommerce-mercadopago'),
+ 'paycash_concatenator' => __(' and ', 'woocommerce-mercadopago'),
+ 'congrats_title' => __('To print the ticket again click', 'woocommerce-mercadopago'),
+ 'congrats_subtitle' => __('here', 'woocommerce-mercadopago'),
+ 'customer_not_paid' => __('Mercado Pago: The customer has not paid yet.', 'woocommerce-mercadopago'),
+ 'message_error_amount' => __('There was an error. Please try again in a few minutes.', 'woocommerce-mercadopago'),
+ 'billing_data_title' => __('Enter payment details', 'woocommerce-mercadopago'),
+ 'billing_data_checkbox_label' => __('Use delivery details.', 'woocommerce-mercadopago'),
+ 'billing_data_postalcode_label' => __('ZIP code', 'woocommerce-mercadopago'),
+ 'billing_data_postalcode_placeholder' => __('E.g.: 01310-200', 'woocommerce-mercadopago'),
+ 'billing_data_postalcode_error_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'billing_data_postalcode_error_partial' => __('Please enter the full ZIP code.', 'woocommerce-mercadopago'),
+ 'billing_data_postalcode_error_invalid' => __('Please enter a valid ZIP code.', 'woocommerce-mercadopago'),
+ 'billing_data_state_label' => __('State', 'woocommerce-mercadopago'),
+ 'billing_data_state_placeholder' => __('Select a state', 'woocommerce-mercadopago'),
+ 'billing_data_state_error_unselected' => __('Please select an option.', 'woocommerce-mercadopago'),
+ 'billing_data_city_label' => __('City', 'woocommerce-mercadopago'),
+ 'billing_data_city_placeholder' => __('E.g.: São Paulo', 'woocommerce-mercadopago'),
+ 'billing_data_city_error_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'billing_data_city_error_invalid' => __('Please enter the full name of the city.', 'woocommerce-mercadopago'),
+ 'billing_data_neighborhood_label' => __('Neighborhood', 'woocommerce-mercadopago'),
+ 'billing_data_neighborhood_placeholder' => __('E.g.: Jardim das flores', 'woocommerce-mercadopago'),
+ 'billing_data_neighborhood_error_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'billing_data_neighborhood_error_invalid' => __('Please enter the full neighborhood name.', 'woocommerce-mercadopago'),
+ 'billing_data_address_label' => __('Address', 'woocommerce-mercadopago'),
+ 'billing_data_address_placeholder' => __('E.g.: Avenida das Flores', 'woocommerce-mercadopago'),
+ 'billing_data_address_error_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'billing_data_address_error_invalid' => __('Please enter the full address.', 'woocommerce-mercadopago'),
+ 'billing_data_address_comp_label' => __('Complement (optional)', 'woocommerce-mercadopago'),
+ 'billing_data_address_comp_placeholder' => __('E.g.: Apartament 52 block C', 'woocommerce-mercadopago'),
+ 'billing_data_number_label' => __('Number', 'woocommerce-mercadopago'),
+ 'billing_data_number_placeholder' => __('E.g.: 148', 'woocommerce-mercadopago'),
+ 'billing_data_number_toggle_label' => __('No number', 'woocommerce-mercadopago'),
+ 'billing_data_number_error_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'billing_data_number_error_invalid' => __('Please enter a valid number.', 'woocommerce-mercadopago'),
];
}
@@ -416,8 +449,10 @@ private function setPseCheckoutTranslations(): void
'test_mode_title' => __('Checkout PSE in Test Mode', 'woocommerce-mercadopago'),
'test_mode_description' => __('You can test the flow to generate a payment with PSE', 'woocommerce-mercadopago'),
'test_mode_link_text' => __('See the rules for the test mode.', 'woocommerce-mercadopago'),
- 'input_document_label' => __('Holder document', 'woocommerce-mercadopago'),
- 'input_document_helper' => __('Invalid document', 'woocommerce-mercadopago'),
+ 'input_document_label' => __('Holder ID', 'woocommerce-mercadopago'),
+ 'input_document_helper_empty' => __('Please complete this field.', 'woocommerce-mercadopago'),
+ 'input_document_helper_invalid' => __('Please enter the full ID number.', 'woocommerce-mercadopago'),
+ 'input_document_helper_wrong' => __('Please enter a valid ID.', 'woocommerce-mercadopago'),
'pse_text_label' => __('Select where you want to pay', 'woocommerce-mercadopago'),
'input_table_button' => __('more options', 'woocommerce-mercadopago'),
'person_type_label' => __('Person type ', 'woocommerce-mercadopago'),
@@ -425,7 +460,7 @@ private function setPseCheckoutTranslations(): void
'financial_institutions_helper' => __('Select the financial institution', 'woocommerce-mercadopago'),
'financial_placeholder' => __('Select the institution', 'woocommerce-mercadopago'),
'customer_not_paid' => __('Mercado Pago: The customer has not paid yet.', 'woocommerce-mercadopago'),
- 'terms_and_conditions_description' => __('By continuing, you agree with our', 'woocommerce-mercadopago'),
+ 'terms_and_conditions_description' => __('By continuing, you agree to our', 'woocommerce-mercadopago'),
'terms_and_conditions_link_text' => __('Terms and conditions', 'woocommerce-mercadopago'),
'message_error_amount' => __('There was an error. Please try again in a few minutes.', 'woocommerce-mercadopago'),
diff --git a/src/WoocommerceMercadoPago.php b/src/WoocommerceMercadoPago.php
index ccdfc5120..ab05b3da4 100644
--- a/src/WoocommerceMercadoPago.php
+++ b/src/WoocommerceMercadoPago.php
@@ -13,6 +13,7 @@
use MercadoPago\Woocommerce\Blocks\YapeBlock;
use MercadoPago\Woocommerce\Configs\Metadata;
use MercadoPago\Woocommerce\Funnel\Funnel;
+use MercadoPago\Woocommerce\Helpers\Paths;
use MercadoPago\Woocommerce\Order\OrderBilling;
use MercadoPago\Woocommerce\Order\OrderMetadata;
use MercadoPago\Woocommerce\Configs\Seller;
@@ -32,7 +33,7 @@
class WoocommerceMercadoPago
{
- private const PLUGIN_VERSION = '7.8.1';
+ private const PLUGIN_VERSION = '7.9.2';
private const PLUGIN_MIN_PHP = '7.4';
@@ -76,7 +77,7 @@ class WoocommerceMercadoPago
public StoreTranslations $storeTranslations;
- public static Funnel $funnel;
+ public Funnel $funnel;
public Country $country;
@@ -97,12 +98,10 @@ public function __construct()
*/
public function loadPluginTextDomain(): void
{
- $textDomain = 'woocommerce-mercadopago';
- $locale = apply_filters('plugin_locale', get_locale(), $textDomain);
- $originalLanguageFile = dirname(__FILE__) . '/../i18n/languages/woocommerce-mercadopago-' . $locale . '.mo';
-
+ $textDomain = $this->pluginMetadata('text-domain');
unload_textdomain($textDomain);
- load_textdomain($textDomain, $originalLanguageFile);
+ $locale = explode('_', apply_filters('plugin_locale', get_locale(), $textDomain))[0];
+ load_textdomain($textDomain, Paths::basePath(Paths::join($this->pluginMetadata('domain-path'), "woocommerce-mercadopago-$locale.mo")));
}
/**
@@ -228,7 +227,7 @@ public function init(): void
*/
public function disablePlugin()
{
- self::$funnel->updateStepDisable();
+ $this->funnel->updateStepDisable();
}
/**
@@ -238,7 +237,7 @@ public function activatePlugin(): void
{
$after = fn() => $this->storeConfig->setExecuteActivate(false);
- self::$funnel->created() ? self::$funnel->updateStepActivate($after) : self::$funnel->create($after);
+ $this->funnel->created() ? $this->funnel->updateStepActivate($after) : $this->funnel->create($after);
}
/**
@@ -246,7 +245,7 @@ public function activatePlugin(): void
*/
public function afterPluginUpdate(): void
{
- self::$funnel->updateStepPluginVersion(fn() => $this->storeConfig->setExecuteAfterPluginUpdate(false));
+ $this->funnel->updateStepPluginVersion(fn() => $this->storeConfig->setExecuteAfterPluginUpdate(false));
}
/**
@@ -291,7 +290,7 @@ public function setProperties(): void
// Country
$this->country = $dependencies->countryHelper;
- self::$funnel = $dependencies->funnel;
+ $this->funnel = $dependencies->funnel;
}
/**
@@ -476,4 +475,55 @@ function () {
}
);
}
+
+ /**
+ * Plugin file metadata
+ *
+ * Metadata map:
+ * ```
+ * [
+ * 'name' => 'Plugin Name',
+ * 'uri' => 'Plugin URI',
+ * 'description' => 'Description',
+ * 'version' => 'Version',
+ * 'author' => 'Author',
+ * 'author-uri' => 'Author URI',
+ * 'text-domain' => 'Text Domain',
+ * 'domain-path' => 'Domain Path',
+ * 'network' => 'Network',
+ * 'min-wp' => 'Requires at least',
+ * 'min-wc' => 'WC requires at least',
+ * 'min-php' => 'Requires PHP',
+ * 'tested-wc' => 'WC tested up to',
+ * 'update-uri' => 'Update URI',
+ * 'required-plugins' => 'Requires Plugins',
+ * ]
+ * ```
+ *
+ * @param string $key metadata desired element key
+ *
+ * @return string|string[] all data or just $key element value
+ */
+ public function pluginMetadata(?string $key = null)
+ {
+ $data = get_file_data(MP_PLUGIN_FILE, [
+ 'name' => 'Plugin Name',
+ 'uri' => 'Plugin URI',
+ 'description' => 'Description',
+ 'version' => 'Version',
+ 'author' => 'Author',
+ 'author-uri' => 'Author URI',
+ 'text-domain' => 'Text Domain',
+ 'domain-path' => 'Domain Path',
+ 'network' => 'Network',
+ 'min-wp' => 'Requires at least',
+ 'min-wc' => 'WC requires at least',
+ 'min-php' => 'Requires PHP',
+ 'tested-wc' => 'WC tested up to',
+ 'update-uri' => 'Update URI',
+ 'required-plugins' => 'Requires Plugins',
+ ]);
+
+ return isset($key) ? $data[$key] : $data;
+ }
}
diff --git a/templates/public/checkouts/alert-message.php b/templates/public/checkouts/alert-message.php
new file mode 100644
index 000000000..fc77968b2
--- /dev/null
+++ b/templates/public/checkouts/alert-message.php
@@ -0,0 +1,15 @@
+
+
+
+ = esc_html($message) ?>
+
diff --git a/templates/public/checkouts/basic-checkout.php b/templates/public/checkouts/basic-checkout.php
index e5d73cfd1..58ac21d00 100644
--- a/templates/public/checkouts/basic-checkout.php
+++ b/templates/public/checkouts/basic-checkout.php
@@ -1,5 +1,7 @@
-
- = esc_html($message_error_amount) ?>
-
+ $message_error_amount]) ?>
diff --git a/templates/public/checkouts/credits-checkout.php b/templates/public/checkouts/credits-checkout.php
index ac09fd8b6..69d1f8e8b 100644
--- a/templates/public/checkouts/credits-checkout.php
+++ b/templates/public/checkouts/credits-checkout.php
@@ -1,5 +1,7 @@
-
- = esc_html($message_error_amount) ?>
-
+ $message_error_amount]) ?>
-
+
-
- = esc_html($message_error_amount) ?>
-
+ $message_error_amount]) ?>
-
+
-
- = esc_html($message_error_amount) ?>
-
+ $message_error_amount]) ?>
diff --git a/templates/public/checkouts/pse-checkout.php b/templates/public/checkouts/pse-checkout.php
index 3725fc13a..cc11b06a3 100644
--- a/templates/public/checkouts/pse-checkout.php
+++ b/templates/public/checkouts/pse-checkout.php
@@ -1,5 +1,7 @@
-
- = esc_html($message_error_amount) ?>
-
+ $message_error_amount]) ?>