From 4dbc6d30343dabd3758733d581fc0904f12a3240 Mon Sep 17 00:00:00 2001 From: Fernando Lira Date: Tue, 4 Feb 2025 11:55:18 -0300 Subject: [PATCH] Release v7.9.3 (#370) Co-authored-by: Mercado Pago --- .gitignore | 3 + .pre-commit-config.yaml | 19 +- CHANGELOG.md | 38 + README.md | 44 +- .../checkouts/mp-plugins-components.min.css | 2 +- assets/js/blocks/components/InputDocument.js | 8 +- assets/js/blocks/components/RowImageSelect.js | 41 +- assets/js/blocks/components/TestMode.js | 2 +- assets/js/blocks/custom.block.js | 10 +- assets/js/blocks/pse.block.js | 8 +- assets/js/blocks/ticket.block.js | 154 +- .../js/checkouts/custom/mp-custom-checkout.js | 145 +- .../custom/mp-custom-checkout.min.js | 2 +- .../js/checkouts/mp-plugins-components.min.js | 2 +- .../js/checkouts/ticket/mp-ticket-checkout.js | 431 ++- .../ticket/mp-ticket-checkout.min.js | 2 +- build/basic.block.asset.php | 2 +- build/basic.block.js | 2 +- build/credits.block.asset.php | 2 +- build/credits.block.js | 2 +- build/custom.block.asset.php | 2 +- build/custom.block.js | 2 +- build/pix.block.asset.php | 2 +- build/pix.block.js | 2 +- build/pse.block.asset.php | 2 +- build/pse.block.js | 2 +- build/ticket.block.asset.php | 2 +- build/ticket.block.js | 2 +- build/yape.block.asset.php | 2 +- build/yape.block.js | 2 +- changelog.log | 38 + composer.json | 9 +- composer.lock | 3094 +++++++++++++---- e2e/.env.sample | 7 + e2e/.gitignore | 4 + e2e/data/buyer_data.js | 13 + e2e/data/credit_card_scenarios.js | 53 + e2e/data/debit_card_scenarios.js | 45 + e2e/data/meli_sites.js | 10 + e2e/flows/add_product_to_cart.js | 18 + e2e/flows/fill_billing_data.js | 19 + e2e/flows/pay_with_card.js | 34 + e2e/package-lock.json | 112 + e2e/package.json | 21 + e2e/playwright.config.js | 77 + e2e/readme.md | 60 + .../mlb/chocustom/credit_card_payment.spec.js | 82 + .../mlb/chocustom/debit_card_payment.spec.js | 64 + i18n/languages/woocommerce-mercadopago-es.mo | Bin 0 -> 70915 bytes i18n/languages/woocommerce-mercadopago-es.po | 2953 ++++++++++++++++ i18n/languages/woocommerce-mercadopago-pt.mo | Bin 0 -> 71876 bytes i18n/languages/woocommerce-mercadopago-pt.po | 2949 ++++++++++++++++ i18n/languages/woocommerce-mercadopago.pot | 970 +++--- package.json | 8 +- .../input-document/InputDocument.html | 4 +- .../input-document/InputDocument.js | 103 +- .../components/input-helper/InputHelper.css | 9 +- .../components/input-label/InputLabel.css | 2 +- .../narciso/components/test-mode/TestMode.css | 4 + packages/narciso/styles/checkout-credits.css | 2 +- packages/narciso/styles/checkout-custom.css | 5 - packages/narciso/styles/checkout-ticket.css | 151 + packages/narciso/styles/common.css | 72 + phpunit.xml | 30 + readme.txt | 20 +- src/Blocks/AbstractBlock.php | 21 +- src/Blocks/TicketBlock.php | 9 +- src/Dependencies.php | 1 - src/Gateways/AbstractGateway.php | 46 +- src/Gateways/BasicGateway.php | 33 +- src/Gateways/CreditsGateway.php | 26 +- src/Gateways/CustomGateway.php | 10 +- src/Gateways/PseGateway.php | 4 +- src/Gateways/TicketGateway.php | 173 +- src/Gateways/YapeGateway.php | 8 +- src/Helpers/Actions.php | 2 +- src/Helpers/Arrays.php | 2 +- src/Helpers/Cache.php | 4 +- src/Helpers/Cart.php | 2 +- src/Helpers/Categories.php | 2 +- src/Helpers/Country.php | 2 +- src/Helpers/Currency.php | 2 +- src/Helpers/CurrentUser.php | 2 +- src/Helpers/Date.php | 2 +- src/Helpers/Device.php | 2 +- src/Helpers/Environment.php | 2 +- src/Helpers/Form.php | 2 +- src/Helpers/Gateways.php | 2 +- src/Helpers/Images.php | 2 +- src/Helpers/Links.php | 2 +- src/Helpers/Nonce.php | 2 +- src/Helpers/NotificationType.php | 2 +- src/Helpers/Numbers.php | 2 +- src/Helpers/Paths.php | 56 + src/Helpers/PaymentMethods.php | 2 +- src/Helpers/PaymentStatus.php | 2 +- src/Helpers/Requester.php | 2 +- src/Helpers/Session.php | 2 +- src/Helpers/Strings.php | 12 +- src/Helpers/Template.php | 31 + src/Helpers/Url.php | 33 +- src/Hooks/Checkout.php | 2 +- src/Hooks/Gateway.php | 8 +- src/Hooks/Order.php | 16 +- src/Hooks/Scripts.php | 17 +- src/Hooks/Template.php | 16 +- src/Order/OrderMetadata.php | 37 +- src/Order/OrderStatus.php | 2 +- src/Traits/Singleton.php | 33 + src/Traits/index.php | 13 + .../AbstractPaymentTransaction.php | 16 +- src/Transactions/AbstractTransaction.php | 10 +- src/Transactions/BasicTransaction.php | 11 +- src/Transactions/CreditsTransaction.php | 11 +- src/Transactions/TicketTransaction.php | 34 +- src/Transactions/WalletButtonTransaction.php | 11 +- src/Translations/AdminTranslations.php | 24 +- src/Translations/StoreTranslations.php | 101 +- src/WoocommerceMercadoPago.php | 72 +- templates/public/checkouts/alert-message.php | 15 + templates/public/checkouts/basic-checkout.php | 6 +- .../public/checkouts/credits-checkout.php | 8 +- .../public/checkouts/custom-checkout.php | 16 +- templates/public/checkouts/pix-checkout.php | 6 +- templates/public/checkouts/pse-checkout.php | 14 +- .../checkouts/ticket-address-container.php | 160 + .../public/checkouts/ticket-checkout.php | 33 +- tests/Gateways/AbstractGatewayTest.php | 117 + tests/Gateways/BasicGatewayTest.php | 183 + tests/Gateways/CreditsGatewayTest.php | 64 + tests/Gateways/TicketGatewayTest.php | 96 + tests/Helpers/ActionsTest.php | 68 + tests/Helpers/ArraysTest.php | 60 + tests/Mocks/MercadoPagoMock.php | 191 + tests/Mocks/SdkMock.php | 45 + tests/Mocks/WoocommerceMock.php | 23 + tests/Order/OrderBillingTest.php | 73 + tests/Order/OrderMetadataTest.php | 139 + tests/Order/OrderShippingTest.php | 108 + tests/Order/OrderStatusTest.php | 76 + tests/Transactions/BasicTransactionTest.php | 106 + tests/Transactions/CreditsTransactionTest.php | 41 + .../WalletButtonTransactionTest.php | 41 + tests/bootstrap.php | 13 + woocommerce-mercadopago.php | 7 +- 145 files changed, 12793 insertions(+), 1840 deletions(-) create mode 100644 e2e/.env.sample create mode 100644 e2e/.gitignore create mode 100644 e2e/data/buyer_data.js create mode 100644 e2e/data/credit_card_scenarios.js create mode 100644 e2e/data/debit_card_scenarios.js create mode 100644 e2e/data/meli_sites.js create mode 100644 e2e/flows/add_product_to_cart.js create mode 100644 e2e/flows/fill_billing_data.js create mode 100644 e2e/flows/pay_with_card.js create mode 100644 e2e/package-lock.json create mode 100644 e2e/package.json create mode 100644 e2e/playwright.config.js create mode 100644 e2e/readme.md create mode 100644 e2e/tests/mlb/chocustom/credit_card_payment.spec.js create mode 100644 e2e/tests/mlb/chocustom/debit_card_payment.spec.js create mode 100644 i18n/languages/woocommerce-mercadopago-es.mo create mode 100644 i18n/languages/woocommerce-mercadopago-es.po create mode 100644 i18n/languages/woocommerce-mercadopago-pt.mo create mode 100644 i18n/languages/woocommerce-mercadopago-pt.po create mode 100644 phpunit.xml create mode 100644 src/Helpers/Paths.php create mode 100644 src/Helpers/Template.php create mode 100644 src/Traits/Singleton.php create mode 100644 src/Traits/index.php create mode 100644 templates/public/checkouts/alert-message.php create mode 100644 templates/public/checkouts/ticket-address-container.php create mode 100644 tests/Gateways/AbstractGatewayTest.php create mode 100644 tests/Gateways/BasicGatewayTest.php create mode 100644 tests/Gateways/CreditsGatewayTest.php create mode 100644 tests/Gateways/TicketGatewayTest.php create mode 100644 tests/Helpers/ActionsTest.php create mode 100644 tests/Helpers/ArraysTest.php create mode 100644 tests/Mocks/MercadoPagoMock.php create mode 100644 tests/Mocks/SdkMock.php create mode 100644 tests/Mocks/WoocommerceMock.php create mode 100644 tests/Order/OrderBillingTest.php create mode 100644 tests/Order/OrderMetadataTest.php create mode 100644 tests/Order/OrderShippingTest.php create mode 100644 tests/Order/OrderStatusTest.php create mode 100644 tests/Transactions/BasicTransactionTest.php create mode 100644 tests/Transactions/CreditsTransactionTest.php create mode 100644 tests/Transactions/WalletButtonTransactionTest.php create mode 100644 tests/bootstrap.php 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..efcba0f8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,44 @@ 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.3] - 2025-02-04 +### Fixed +- Fixed translations for ticket in ES language. +- Fixed order pay payments error with custom checkout method. +### Improved +- Order update cron now ignores orders with errors after 2 retries. + +## [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 ( -
- -

{text}

-
- ); +const RowImageSelect = ({ text, imgSrc, id }) => { + return ( +
+ +

{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 = - ''; - 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='",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 \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..80d6741a0 100644 --- a/changelog.log +++ b/changelog.log @@ -1,6 +1,44 @@ CHANGELOG: == Changelog == += v7.9.3 (04/02/2025) = +* Fixed: +- Fixed translations for ticket in ES language. +- Fixed order pay payments error with custom checkout method. +* Improved: +- Order update cron now ignores orders with errors after 2 retries. + += 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/e2e/.env.sample b/e2e/.env.sample new file mode 100644 index 000000000..d66445e9d --- /dev/null +++ b/e2e/.env.sample @@ -0,0 +1,7 @@ +STORE_URL=https://wpcleiton.local/ +GUEST_EMAIL= +CC_AMEX= +CC_MASTER= +DC_ELO= +DOC_TYPE= +DOC_NUMBER= diff --git a/e2e/.gitignore b/e2e/.gitignore new file mode 100644 index 000000000..85ddd6392 --- /dev/null +++ b/e2e/.gitignore @@ -0,0 +1,4 @@ +.env +node_modules +test-results +playwright-report diff --git a/e2e/data/buyer_data.js b/e2e/data/buyer_data.js new file mode 100644 index 000000000..b90fc3ec8 --- /dev/null +++ b/e2e/data/buyer_data.js @@ -0,0 +1,13 @@ +export const guestUserMLB = { + email: process.env.GUEST_EMAIL, + firstName: "John", + lastName: "Doe", + phone: "11997979797", + address: { + street: "123 Test St", + countryId: "BR", + state: "AC", + city: "São Paulo", + zip: "04533000", + } +} diff --git a/e2e/data/credit_card_scenarios.js b/e2e/data/credit_card_scenarios.js new file mode 100644 index 000000000..56e5c27a6 --- /dev/null +++ b/e2e/data/credit_card_scenarios.js @@ -0,0 +1,53 @@ +const CVV_LENGTH_THREE = '123'; +const CVV_LENGTH_FOUR = '1234'; + +const APPROVED = { + amex: { + number: process.env.CC_AMEX, + code: CVV_LENGTH_FOUR, + date: "12/30" + }, + master: { + number: process.env.CC_MASTER, + code: CVV_LENGTH_THREE, + date: "12/30" + }, + form: { + name: "APRO", + docType: process.env.DOC_TYPE, + docNumber: process.env.DOC_NUMBER + } +} + +const REJECTED = { + ...APPROVED, + form: { + ...APPROVED.form, + name: "OTHE" + } +} + +const PENDING = { + ...APPROVED, + form: { + ...APPROVED.form, + name: "CONT" + } +} + +// form fields doctType and docNumber only appear when card number is filled +const EMPTY_FIELDS ={ + master: { + ...APPROVED.master, + code: "", + date: "", + }, + form: { + name: "", + docType: process.env.DOC_TYPE, + docNumber: "" + } +} + +const scenarios = {APPROVED, REJECTED, PENDING, EMPTY_FIELDS}; +export default scenarios; diff --git a/e2e/data/debit_card_scenarios.js b/e2e/data/debit_card_scenarios.js new file mode 100644 index 000000000..567a87372 --- /dev/null +++ b/e2e/data/debit_card_scenarios.js @@ -0,0 +1,45 @@ +const APPROVED = { + elo: { + number: process.env.CC_MASTER, + code: '123', + date: "11/25" + }, + form: { + name: "APRO", + docType: process.env.DOC_TYPE, + docNumber: process.env.DOC_NUMBER + } +} + +const REJECTED = { + ...APPROVED, + form: { + ...APPROVED.form, + name: "OTHE" + } +} + +const PENDING = { + ...APPROVED, + form: { + ...APPROVED.form, + name: "CONT" + } +} + +// form fields doctType and docNumber only appear when card number is filled +const EMPTY_FIELDS ={ + elo: { + ...APPROVED.elo, + code: "", + date: "", + }, + form: { + name: "", + docType: process.env.DOC_TYPE, + docNumber: "" + } +} + +const scenarios = {APPROVED, REJECTED, PENDING, EMPTY_FIELDS}; +export default scenarios; diff --git a/e2e/data/meli_sites.js b/e2e/data/meli_sites.js new file mode 100644 index 000000000..e80c6df39 --- /dev/null +++ b/e2e/data/meli_sites.js @@ -0,0 +1,10 @@ +import credit_card_scenarios from './credit_card_scenarios'; +import debit_card_scenarios from './debit_card_scenarios'; +import { guestUserMLB } from './buyer_data'; + +export const mlb = { + url: process.env.STORE_URL, + credit_card_scenarios: credit_card_scenarios, + debit_card_scenarios: debit_card_scenarios, + guestUserMLB, +} diff --git a/e2e/flows/add_product_to_cart.js b/e2e/flows/add_product_to_cart.js new file mode 100644 index 000000000..6bf9a49b6 --- /dev/null +++ b/e2e/flows/add_product_to_cart.js @@ -0,0 +1,18 @@ +export default async function(page) { + await page.waitForTimeout(2000); + + // take to shop page + await page.getByRole('link', { name: 'Shop' }).first().click(); + await page.waitForTimeout(2000); + + // choose first item + await page.locator('main#main ul li a').first().click(); + await page.waitForTimeout(2000); + + // add to cart, take to checkout + await page.getByRole('button', { name: 'Add to cart' }).click(); + await page.waitForTimeout(2000); + await page.locator('#content').getByRole('link', { name: 'View cart' }).click(); + await page.getByRole('link', { name: 'Proceed to Checkout' }).click(); + await page.waitForTimeout(2000); +} diff --git a/e2e/flows/fill_billing_data.js b/e2e/flows/fill_billing_data.js new file mode 100644 index 000000000..869cb5df4 --- /dev/null +++ b/e2e/flows/fill_billing_data.js @@ -0,0 +1,19 @@ +export default async function(page, user) { + await page.waitForTimeout(3000); + + await page.locator('#email').fill(user.email); + + // user + await page.locator('#billing-first_name').fill(user.firstName); + await page.locator('#billing-last_name').fill(user.lastName); + + // address + await page.locator('#billing-country').selectOption(user.address.countryId); + await page.locator('#billing-address_1').fill(user.address.street); + await page.locator('#billing-city').fill(user.address.city); + await page.locator('#billing-state').selectOption(user.address.state); + await page.locator('#billing-postcode').fill(user.address.zip); + + // phone + await page.locator('#billing-phone').fill(user.phone); +} diff --git a/e2e/flows/pay_with_card.js b/e2e/flows/pay_with_card.js new file mode 100644 index 000000000..bf366c0aa --- /dev/null +++ b/e2e/flows/pay_with_card.js @@ -0,0 +1,34 @@ +export default async function(page, card, form) { + await page.waitForTimeout(3000); + await page.locator("#radio-control-wc-payment-method-options-woo-mercado-pago-custom").check(); + + // card fields + await page.frameLocator('iframe[name="cardNumber"]').locator('[name="cardNumber"]').fill(card.number); + await page.frameLocator('iframe[name="securityCode"]').locator('[name="securityCode"]').fill(card.code); + await page.frameLocator('iframe[name="expirationDate"]').locator('[name="expirationDate"]').fill(card.date); + + await page.waitForTimeout(3000); + const installments = await page.locator('#mp-checkout-custom-installments') + + console.log(await installments.isVisible()) + await page.waitForTimeout(2000); + if(await installments.isVisible()) { + // form fields + await page.locator('#form-checkout__identificationType').selectOption(form.docType); + await page.waitForTimeout(3000); + await page.locator('[name="identificationNumber"]').fill(form.docNumber); + await page.locator('#form-checkout__cardholderName').fill(form.name); + + // installments + // otherwise emptyfield scenario will fail for empty fields scenario + if(form.name !== ''){ + await page.locator('.mp-input-radio-container').first().click(); + } + await page.waitForTimeout(1000); + } + + // place order + await page.getByRole('button', { name: 'Place Order' }).click(); + + await page.waitForTimeout(5000); +} diff --git a/e2e/package-lock.json b/e2e/package-lock.json new file mode 100644 index 000000000..ec1030450 --- /dev/null +++ b/e2e/package-lock.json @@ -0,0 +1,112 @@ +{ + "name": "e2e", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "e2e", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "dotenv": "^16.4.5" + }, + "devDependencies": { + "@playwright/test": "^1.43.1", + "@types/node": "^20.12.7" + } + }, + "node_modules/@playwright/test": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.0.tgz", + "integrity": "sha512-DMulbwQURa8rNIQrf94+jPJQ4FmOVdpE5ZppRNvWVjvhC+6sOeo28r8MgIpQRYouXRtt/FCCXU7zn20jnHR4Qw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.49.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@types/node": { + "version": "20.17.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.9.tgz", + "integrity": "sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "node_modules/dotenv": { + "version": "16.4.6", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.6.tgz", + "integrity": "sha512-JhcR/+KIjkkjiU8yEpaB/USlzVi3i5whwOjpIRNGi9svKEXZSe+Qp6IWAjFjv+2GViAoDRCUv/QLNziQxsLqDg==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/playwright": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.0.tgz", + "integrity": "sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.49.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.0.tgz", + "integrity": "sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" + } + } +} diff --git a/e2e/package.json b/e2e/package.json new file mode 100644 index 000000000..d10d6553a --- /dev/null +++ b/e2e/package.json @@ -0,0 +1,21 @@ +{ + "name": "e2e", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "npx playwright test", + "test-ui": "npx playwright test --ui", + "report": "npx playwright show-report" + }, + "keywords": [], + "author": "", + "license": "ISC", + "devDependencies": { + "@playwright/test": "^1.43.1", + "@types/node": "^20.12.7" + }, + "dependencies": { + "dotenv": "^16.4.5" + } +} diff --git a/e2e/playwright.config.js b/e2e/playwright.config.js new file mode 100644 index 000000000..a6ac53ccf --- /dev/null +++ b/e2e/playwright.config.js @@ -0,0 +1,77 @@ +// @ts-check +// eslint-disable-next-line import/no-extraneous-dependencies +const { defineConfig, devices } = require("@playwright/test"); + +// eslint-disable-next-line import/no-extraneous-dependencies +require("dotenv").config(); + +/** + * @see https://playwright.dev/docs/test-configuration + */ +module.exports = defineConfig({ + timeout: 90000, + testDir: "./tests", + /* Run tests in files in parallel */ + fullyParallel: true, + /* Fail the build on CI if you accidentally left test.only in the source code. */ + forbidOnly: !!process.env.CI, + /* Retry on CI only */ + retries: process.env.CI ? 3 : 2, + /* Opt out of parallel tests on CI. */ + workers: process.env.CI ? 1 : undefined, + /* Reporter to use. See https://playwright.dev/docs/test-reporters */ + reporter: "html", + /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ + use: { + /* Base URL to use in actions like `await page.goto('/')`. */ + // baseURL: 'http://127.0.0.1:3000', + + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: "on-first-retry" + }, + + /* Configure projects for major browsers */ + projects: [ + { + name: "chromium", + use: { ...devices["Desktop Chrome"] } + }, + + // { + // name: "firefox", + // use: { ...devices["Desktop Firefox"] } + // }, + + // { + // name: "webkit", + // use: { ...devices["Desktop Safari"] } + // } + + /* Test against mobile viewports. */ + // { + // name: 'Mobile Chrome', + // use: { ...devices['Pixel 5'] }, + // }, + // { + // name: 'Mobile Safari', + // use: { ...devices['iPhone 12'] }, + // }, + + /* Test against branded browsers. */ + // { + // name: 'Microsoft Edge', + // use: { ...devices['Desktop Edge'], channel: 'msedge' }, + // }, + // { + // name: 'Google Chrome', + // use: { ...devices['Desktop Chrome'], channel: 'chrome' }, + // }, + ] + + /* Run your local dev server before starting the tests */ + // webServer: { + // command: 'npm run start', + // url: 'http://127.0.0.1:3000', + // reuseExistingServer: !process.env.CI, + // }, +}); diff --git a/e2e/readme.md b/e2e/readme.md new file mode 100644 index 000000000..810ae7728 --- /dev/null +++ b/e2e/readme.md @@ -0,0 +1,60 @@ +# E2E + +Utilize o tema padrão Store Front do Woocomerce +Rode os testes a partir do diretório e2e + +## Mapping scenarios + +Crie uma página nova abaixo do tópico no confluence utilizando o [Template de Cenários](https://mercadolibre.atlassian.net/wiki/spaces/PLU/pages/2493286807/Template+de+cen+rios+E2E) + +## Writing tests +[Playwright docs](https://playwright.dev/docs/writing-tests) + +## Initializing +`npm install` + +## Using Codegen +[Playwright Codegen Docs](https://playwright.dev/docs/codegen-intro) +```npx playwright codegen ``` + +## Running tests +Set `.env` file. +Use `.env.sample` as reference + +### Running +```npx playwright test``` + +### Running with UI +```npx playwright test --ui``` + +### Running test for specific site id +Tests are organized in per site id folder structure. Ex: tests/mlb, tests/mlm. +Running the follow command executes the test only in specific folder. +`npx playwright test ` +ex.: +`npx playwright test mlm` + +### Running specific tests +To run a single test file, pass in the name of the test file that you want to run. +```npx playwright test landing-page.spec.ts``` + +To run a set of test files from different directories, pass in the names of the directories that you want to run the tests in. +```npx playwright test tests/todo-page/ tests/landing-page/``` + +To run files that have landing or login in the file name, simply pass in these keywords to the CLI. +```npx playwright test landing login``` + +To run a test with a specific title, use the -g flag followed by the title of the test. +```npx playwright test -g "add a todo item"``` + +### Running on headed to view browser +```npx playwright test --headed``` + +### View tests reporting +```npx playwright show-report``` + +### Running in different browsers ignoring config +```npx playwright test --project webkit``` + +## Debug tests with Playwright inspector +```npx playwright test --debug``` diff --git a/e2e/tests/mlb/chocustom/credit_card_payment.spec.js b/e2e/tests/mlb/chocustom/credit_card_payment.spec.js new file mode 100644 index 000000000..d481ce927 --- /dev/null +++ b/e2e/tests/mlb/chocustom/credit_card_payment.spec.js @@ -0,0 +1,82 @@ +import { test, expect } from "@playwright/test"; +import { mlb } from "../../../data/meli_sites"; +import addProductToCart from "../../../flows/add_product_to_cart"; +import fillBillingData from "../../../flows/fill_billing_data"; +import payWithCard from "../../../flows/pay_with_card"; + +const{ url, credit_card_scenarios, guestUserMLB } = mlb; +const { APPROVED, PENDING, REJECTED, EMPTY_FIELDS } = credit_card_scenarios; + +async function fillStepsToCheckout(page, url, user) { + await page.goto(url); + await addProductToCart(page); + await fillBillingData(page, user); +} + +test('test successful payment as guest with master', async ({page}) => { + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, APPROVED.master, APPROVED.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test successful payment as guest with amex', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, APPROVED.amex, APPROVED.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test pending payment as guest with master', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, PENDING.master, PENDING.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test pending payment as guest with amex', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, APPROVED.amex, APPROVED.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test with filled card but other fields empty - master', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, EMPTY_FIELDS.master, EMPTY_FIELDS.form); + + const cardHolderHelper = page.locator('#mp-card-holder-div input-helper'); + const installmentsHelper = page.locator('#mp-installments-helper'); + const docNumberHelper = page.locator('#mp-doc-number-helper'); + + expect(await cardHolderHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + + expect(await installmentsHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + + expect(await docNumberHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + +}); + +test('test payment rejected by other reasons - amex', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, REJECTED.amex, REJECTED.form); + + await expect(page.locator('div.wc-block-components-notices .wc-block-store-notice')).toHaveText(/The card issuing bank declined the payment/i); +}); diff --git a/e2e/tests/mlb/chocustom/debit_card_payment.spec.js b/e2e/tests/mlb/chocustom/debit_card_payment.spec.js new file mode 100644 index 000000000..7f693ad76 --- /dev/null +++ b/e2e/tests/mlb/chocustom/debit_card_payment.spec.js @@ -0,0 +1,64 @@ +import { test, expect } from "@playwright/test"; +import { mlb } from "../../../data/meli_sites"; +import addProductToCart from "../../../flows/add_product_to_cart"; +import fillBillingData from "../../../flows/fill_billing_data"; +import payWithCard from "../../../flows/pay_with_card"; + +const{ url, debit_card_scenarios, guestUserMLB } = mlb; +const { APPROVED, PENDING, REJECTED, EMPTY_FIELDS } = debit_card_scenarios; + +async function fillStepsToCheckout(page, url, user) { + await page.goto(url); + await addProductToCart(page); + await fillBillingData(page, user); +} + +test('test successful payment as guest with elo', async ({page}) => { + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, APPROVED.elo, APPROVED.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test pending payment as guest with elo', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, PENDING.elo, PENDING.form); + + await expect(page.locator('#main')).toHaveText(/Order received/i); +}); + +test('test with filled card but other fields empty - elo', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, EMPTY_FIELDS.elo, EMPTY_FIELDS.form); + + const cardHolderHelper = page.locator('#mp-card-holder-div input-helper'); + const installmentsHelper = page.locator('#mp-installments-helper'); + const docNumberHelper = page.locator('#mp-doc-number-helper'); + + expect(await cardHolderHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + + expect(await installmentsHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + + expect(await docNumberHelper.evaluate(element => { + return window.getComputedStyle(element).display; + })).not.toBe('none'); + +}); + +test('test payment rejected by other reasons - elo', async ({page}) => { + + await fillStepsToCheckout(page, url, guestUserMLB); + + await payWithCard(page, REJECTED.elo, REJECTED.form); + + await expect(page.locator('div.wc-block-components-notices .wc-block-store-notice')).toHaveText(/The card issuing bank declined the payment/i); +}); diff --git a/i18n/languages/woocommerce-mercadopago-es.mo b/i18n/languages/woocommerce-mercadopago-es.mo new file mode 100644 index 0000000000000000000000000000000000000000..78bc1e11829b15eede72bfa94aa979c5644e093e GIT binary patch literal 70915 zcmds=37BP7b?;Bh+%hQ&2#5z{rn~5F<_5v;>TbHFhoZX~HGx}Ix4JHUt8Q_JZVEJz zm^gp~F`B4x!Wj)lA908=4wRb2n5ZF!M5D$bgBgvAFPdj~zyDf$pR>=cTTQpd_ulvX zr2lo!J!cPVuf3+d_C8;I;{LD7_}@K`%d!)|*F8yB{C#GLkLS;)a(w`JCU`h_4tO?r z8Tc&lX7DiZ{opV-2R0|244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(SRS@+r|XO46V(6COXw8}PH+c`AjlwxZgkefVNPv6%xS zcppJ9?I)p+?SQtZGb?i%$N8MJZIaFWqse_oG`Q{LYk8UJ2$xHmSPFuuB*+78!%|?C zP&@@0Jw7Z^7Ix{^I=p8-MHqEUy@`29;SiRr$!BpCXZK7Wct*m2!qAxdH}kw1{(x!? zsDK?+s5^~$e~i*KLHq{VP}av2v}jxO>+}F}YUD%uR}kG1)YW6J$5|0e?w=%%_Yf zibUTy?{J2EmY$hi@Mkz%>DTt>Wl zgW)N*hh!m_y_P%IMq^QvoES>RMAY~OH8Ye+K*w)bAdD3MN$XNqOJFm~Z^x{b}?_x?9c*dCq$ literal 0 HcmV?d00001 diff --git a/i18n/languages/woocommerce-mercadopago-es.po b/i18n/languages/woocommerce-mercadopago-es.po new file mode 100644 index 000000000..1f4063e1c --- /dev/null +++ b/i18n/languages/woocommerce-mercadopago-es.po @@ -0,0 +1,2953 @@ +# Copyright (C) 2024 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" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2024-12-10 19:23+0000\n" +"PO-Revision-Date: \n" +"Language: es_AR\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 "Configuración avanzada" + +#: ../../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
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
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
Please choose a different number of installments or use a different payment method ." +msgstr "Tu tarjeta no acepta la cantidad de pagos que seleccionaste
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
Please pay using another card or choose another payment method." +msgstr "Alcanzaste el límite de intentos de pago con esta tarjeta
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
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
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
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
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." diff --git a/i18n/languages/woocommerce-mercadopago-pt.mo b/i18n/languages/woocommerce-mercadopago-pt.mo new file mode 100644 index 0000000000000000000000000000000000000000..a91eac4d85bdb027651c8767422ac99fdf31c66f GIT binary patch literal 71876 zcmd6w37jQWb^mLWMUWi?6ww0NnQmr=#bH2(nVtbgW@%=I)hNF1em(t|*ZtbJ%z_#* zByMP2iA&sYix4Fm++w1l?e;e&ipIFbB^a~*HEKeliHZO3@0@$9ZoPgz!?+}WKO?`c zdR2Eh_uRAHb8mg~sQqrw_}@z&l4XwuUwe$M`1{NfAI_gAa=kxzCU_Wl4tO?r3HU_t zCh$=3z2FEq2R;rw@T@F596TF*7W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c}&185wd`p z9|=SC+v60+>ruCP|Mum>R+ZNynPM=x+7pQuY&E4>Df|{97yJGxmqHq;lqi?nNRNfu z>|()Ni*z;(i!HY0T-O?F`hI*j36y#qHGZAOUI?pMO6fw8B3WY#;Om|*>J^ih^7rZS zg+{NU+WY(|8^2`Ct@2=8)Hv;_=7Dt4z7V$2_XO#HB(Wdy&Qg}ixVcbBd=XB<>a;oY>%nq3o zF`-J0^-tsGqbz?!O&STTMNsv?rL+u5t0Rkd%8ePN0p7`&w(_&I^KLj(q8}q@tp)cY zrtNXG|3YEDY+~-6d^)k!$wIo!Qzs_JK>id$E9jBBrKjbnW zcm9zI^$e~g96@f%u%6-oC&F48GcbIaH=Ly6lb7G-E$lDM;KOtv*m0dKa5W~qh^*TMv5TyShRYm+Tz)#Yk4Z6=jl*b>0ucI3$ikxKcYQEZ<4ZOkdBlm;mL$XUY zrg5wO#C&66-q#n>3p*Ibo9|F$YY`XNx9+Dxe}fpCpx hyk8k00The 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
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
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
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
Please pay using another card or choose another payment method." +msgstr "Você alcançou o limite de tentativas de pagamento com este cartão
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
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
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
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
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." diff --git a/i18n/languages/woocommerce-mercadopago.pot b/i18n/languages/woocommerce-mercadopago.pot index e37b17e70..cafb9267e 100644 --- a/i18n/languages/woocommerce-mercadopago.pot +++ b/i18n/languages/woocommerce-mercadopago.pot @@ -1,4 +1,4 @@ -# Copyright (C) 2024 woocommerce-mercadopago +# Copyright (C) 2025 woocommerce-mercadopago # This file is distributed under the same license as the woocommerce-mercadopago package. msgid "" msgstr "" @@ -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: 2025-01-28 19:42+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..707cfc03c 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.3", "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 @@