├── .github
├── ISSUE-TEMPLATE.md
├── PULL_REQUEST_TEMPLATE.md
├── RELEASE-NOTES-TEMPLATE.md
├── data
│ ├── master
│ │ └── Dockerfile
│ ├── php8
│ │ └── Dockerfile
│ ├── stg
│ │ └── Dockerfile
│ └── test
│ │ └── Dockerfile
└── workflows
│ ├── cd_master.yml
│ ├── cd_reusable.yml
│ ├── cd_stg.yml
│ ├── cd_test.yml
│ └── ci.yml
├── .gitignore
├── .phpcs.xml
├── Api
├── BaseRequestDataProviderInterface.php
├── BilletCreditCardRequestDataProviderInterface.php
├── BilletRequestDataProviderInterface.php
├── BulkApiInterface.php
├── BulkSingleResponseInterface.php
├── CardsManagementInterface.php
├── CardsRepositoryInterface.php
├── CartItemRequestDataProviderInterface.php
├── ChargeApiInterface.php
├── ChargesRepositoryInterface.php
├── CreditCardRequestDataProviderInterface.php
├── CustomerRepositoryInterface.php
├── Data
│ ├── CardsInterface.php
│ ├── CardsSearchResultsInterface.php
│ ├── ChargesInterface.php
│ ├── ChargesSearchResultsInterface.php
│ ├── CustomerInterface.php
│ ├── CustomerSearchResultsInterface.php
│ ├── InstallmentInterface.php
│ ├── RecurrencePriceInterface.php
│ ├── RecurrenceProductsSubscriptionInterface.php
│ ├── RecurrenceProductsSubscriptionSearchResultsInterface.php
│ ├── RecurrenceSubscriptionRepetitionsInterface.php
│ ├── RecurrenceSubscriptionRepetitionsSearchResultsInterface.php
│ ├── SavedCardInterface.php
│ └── SavedCardSearchResultsInterface.php
├── GooglePayRequestDataProviderInterface.php
├── HubCommandInterface.php
├── InstallmentsByBrandAndAmountManagementInterface.php
├── InstallmentsByBrandManagementInterface.php
├── InstallmentsManagementInterface.php
├── InvoiceApiInterface.php
├── KycLinkResponseInterface.php
├── MaintenanceInterface.php
├── ObjectMapper
│ ├── ProductPlan
│ │ ├── ProductPlanMapperInterface.php
│ │ └── SubProduct.php
│ └── ProductSubscription
│ │ ├── ProductSubscriptionMapperInterface.php
│ │ └── RepetitionInterface.php
├── PagarmeServiceApiInterface.php
├── PixRequestDataProviderInterface.php
├── ProductPlanApiInterface.php
├── ProductPlanInterface.php
├── ProductSubscriptionApiInterface.php
├── ProductSubscriptionInterface.php
├── RecipientInterface.php
├── RecurrenceProductsSubscriptionRepositoryInterface.php
├── RecurrenceSubscriptionRepetitionsRepositoryInterface.php
├── SavedCardRepositoryInterface.php
├── SubscriptionApiInterface.php
├── SystemInterface.php
├── TdsTokenInterface.php
├── TwoCreditCardRequestDataProviderInterface.php
└── WebhookManagementInterface.php
├── Block
├── Adminhtml
│ ├── Customer
│ │ └── Cards.php
│ ├── Form
│ │ ├── Field
│ │ │ ├── CreditCardPspField.php
│ │ │ ├── EnableAdvanceSettings.php
│ │ │ ├── GatewayField.php
│ │ │ ├── InstallmentsNumber.php
│ │ │ └── SoftDescriptor.php
│ │ └── Fieldset
│ │ │ ├── CreditCardGatewayFieldset.php
│ │ │ └── CustomPaymentFieldset.php
│ ├── Marketplace
│ │ └── Recipient.php
│ ├── Order
│ │ └── Charge
│ │ │ └── Tab
│ │ │ └── View.php
│ ├── Recurrence
│ │ ├── Plans
│ │ │ └── Plan.php
│ │ └── Subscriptions
│ │ │ └── Subscription.php
│ └── System
│ │ └── Config
│ │ └── Form
│ │ ├── Field
│ │ ├── HubEnvironment.php
│ │ ├── HubIntegration.php
│ │ ├── MarketplaceMessage.php
│ │ ├── ModuleVersion.php
│ │ └── SearchRecipient.php
│ │ └── Fieldset
│ │ ├── CycleDiscount.php
│ │ ├── Group.php
│ │ └── Payment.php
├── BaseTemplateWithCurrency.php
├── Customer
│ ├── Cards.php
│ ├── Cards
│ │ └── Container.php
│ ├── Invoice.php
│ ├── Marketplace
│ │ └── Kyc.php
│ └── Subscription.php
├── Form.php
├── Form
│ └── CreditCard.php
├── Payment
│ ├── Billet.php
│ ├── Info
│ │ ├── BaseCardInfo.php
│ │ ├── Billet.php
│ │ ├── BilletCreditCard.php
│ │ ├── CreditCard.php
│ │ ├── Debit.php
│ │ ├── GooglePay.php
│ │ ├── Pix.php
│ │ ├── TwoCreditCard.php
│ │ └── Voucher.php
│ ├── Pix.php
│ └── Tds.php
└── Product
│ └── View
│ └── Price
│ └── Recurrence.php
├── CONTRIBUTING.md
├── Concrete
├── Magento2CoreSetup.php
├── Magento2DataService.php
├── Magento2DatabaseDecorator.php
├── Magento2PlatformCreditmemoDecorator.php
├── Magento2PlatformCustomerDecorator.php
├── Magento2PlatformInvoiceDecorator.php
├── Magento2PlatformOrderDecorator.php
├── Magento2PlatformPaymentMethodDecorator.php
├── Magento2PlatformProductDecorator.php
├── Magento2SavedCardAdapter.php
└── integrityData
├── Console
├── Command
│ ├── MigrateExecute.php
│ └── MigrateList.php
└── MigrateData.php
├── Controller
├── Adminhtml
│ ├── Cards
│ │ └── Index.php
│ ├── Charges
│ │ ├── Cancel.php
│ │ ├── Capture.php
│ │ ├── ChargeAction.php
│ │ └── Index.php
│ ├── Hub
│ │ └── Index.php
│ ├── Invoices
│ │ ├── Delete.php
│ │ └── Index.php
│ ├── Plans
│ │ ├── Create.php
│ │ ├── Delete.php
│ │ ├── Index.php
│ │ ├── PlanAction.php
│ │ └── SearchProduct.php
│ ├── Recipients
│ │ ├── Create.php
│ │ ├── Delete.php
│ │ ├── Index.php
│ │ └── RecipientAction.php
│ ├── RecurrenceProducts
│ │ ├── Create.php
│ │ ├── Delete.php
│ │ └── Index.php
│ └── Subscriptions
│ │ ├── Delete.php
│ │ ├── Details.php
│ │ └── Index.php
├── Cards
│ └── Remove.php
└── Customer
│ ├── Cards.php
│ ├── Invoice.php
│ ├── Remove.php
│ └── Subscription.php
├── Factories
└── BulkSingleResponseFactory.php
├── Gateway
└── Transaction
│ ├── Base
│ ├── Command
│ │ ├── AbstractApiCommand.php
│ │ ├── AuthorizeCommand.php
│ │ └── InitializeCommand.php
│ ├── Config
│ │ ├── AbstractConfig.php
│ │ ├── Config.php
│ │ ├── ConfigInterface.php
│ │ ├── CustomerConfigInterface.php
│ │ └── TdsConfigInterface.php
│ └── ResourceGateway
│ │ ├── AbstractAddressDataProvider.php
│ │ ├── AbstractRequestDataProvider.php
│ │ ├── CartItemRequestDataProvider.php
│ │ └── Response
│ │ ├── AbstractHandler.php
│ │ └── AbstractValidator.php
│ ├── Billet
│ ├── Command
│ │ └── AuthorizeCommand.php
│ ├── Config
│ │ ├── Config.php
│ │ └── ConfigInterface.php
│ └── ResourceGateway
│ │ └── Create
│ │ ├── RequestDataProvider.php
│ │ └── Response
│ │ └── Validator.php
│ ├── BilletCreditCard
│ ├── Command
│ │ ├── AuthorizeCommand.php
│ │ ├── CaptureCommand.php
│ │ └── RefundCommand.php
│ ├── Config
│ │ ├── Config.php
│ │ └── ConfigInterface.php
│ └── ResourceGateway
│ │ ├── Capture
│ │ └── Response
│ │ │ └── Validator.php
│ │ ├── Create
│ │ ├── RequestDataProvider.php
│ │ └── Response
│ │ │ └── Validator.php
│ │ └── Refund
│ │ └── Response
│ │ └── Validator.php
│ ├── CreditCard
│ ├── Command
│ │ ├── AuthorizeCommand.php
│ │ ├── CaptureCommand.php
│ │ └── RefundCommand.php
│ ├── Config
│ │ ├── Config.php
│ │ └── ConfigInterface.php
│ └── ResourceGateway
│ │ ├── Capture
│ │ └── Response
│ │ │ ├── GeneralHandler.php
│ │ │ └── Validator.php
│ │ ├── Create
│ │ ├── RequestDataProvider.php
│ │ └── Response
│ │ │ └── Validator.php
│ │ └── Refund
│ │ └── Response
│ │ ├── GeneralHandler.php
│ │ └── Validator.php
│ ├── DebitCard
│ └── Config
│ │ ├── Config.php
│ │ └── ConfigInterface.php
│ ├── GooglePay
│ ├── Config
│ │ ├── Config.php
│ │ └── ConfigInterface.php
│ └── Create
│ │ ├── RequestDataProvider.php
│ │ └── Response
│ │ └── Validator.php
│ ├── Pix
│ └── ResourceGateway
│ │ └── Create
│ │ ├── RequestDataProvider.php
│ │ └── Response
│ │ └── Validator.php
│ └── TwoCreditCard
│ ├── Command
│ ├── AuthorizeCommand.php
│ ├── CaptureCommand.php
│ └── RefundCommand.php
│ ├── Config
│ ├── Config.php
│ └── ConfigInterface.php
│ └── ResourceGateway
│ ├── Capture
│ └── Response
│ │ └── Validator.php
│ ├── Create
│ ├── RequestDataProvider.php
│ └── Response
│ │ └── Validator.php
│ └── Refund
│ └── Response
│ └── Validator.php
├── Helper
├── AbstractHelper.php
├── Adminhtml
│ └── CheckoutHelper.php
├── BuildChargeAddtionalInformationHelper.php
├── Cards
│ └── CreateCard.php
├── CustomerAddress.php
├── CustomerAddressInterface.php
├── CustomerCustomAttributesHelper.php
├── CustomerUpdatePagarmeHelper.php
├── Marketplace
│ ├── Handlers
│ │ ├── ExtrasAndDiscountsHandler.php
│ │ ├── MarketplaceHandler.php
│ │ └── SplitRemainderHandler.php
│ ├── Traits
│ │ ├── SplitExtrasAndDiscountsRuleTrait.php
│ │ └── SplitRemainderRuleTrait.php
│ └── WebkulHelper.php
├── ModuleHelper.php
├── MultiBuyerDataAssign.php
├── Payment
│ ├── Billet.php
│ └── Pix.php
├── Product
│ └── Configuration
│ │ └── Plugin
│ │ └── Plan.php
├── ProductHelper.php
├── ProductPlanHelper.php
├── ProductSubscriptionHelper.php
├── RecurrenceProductHelper.php
└── RulesCartRun.php
├── LICENSE
├── Makefile
├── Model
├── AbstractInstallmentManagement.php
├── Account.php
├── Api
│ ├── Bulk.php
│ ├── BulkSingleResponse.php
│ ├── Charge.php
│ ├── HubCommand.php
│ ├── Invoice.php
│ ├── KycLinkResponse.php
│ ├── ProductsPlan.php
│ ├── ProductsSubscription.php
│ ├── Recipient.php
│ ├── ResponseMessage.php
│ └── Subscription.php
├── Cards.php
├── CardsRepository.php
├── Charges.php
├── ChargesRepository.php
├── ConfigNotification.php
├── CoreAuth.php
├── Customer.php
├── CustomerRepository.php
├── Enum
│ ├── BankEnum.php
│ ├── CountryEnum.php
│ ├── CreditCardBrandEnum.php
│ ├── CreditCardOperationEnum.php
│ ├── DocumentTypeEnum.php
│ └── PersonTypeEnum.php
├── Graphql
│ └── PixDataProvider.php
├── Installment.php
├── Installments
│ ├── Builder.php
│ ├── BuilderByBrand.php
│ ├── BuilderByBrandAndAmount.php
│ └── Config
│ │ ├── Config.php
│ │ ├── ConfigByBrand.php
│ │ ├── ConfigByBrandInterface.php
│ │ └── ConfigInterface.php
├── InstallmentsByBrandAndAmountManagement.php
├── InstallmentsByBrandManagement.php
├── InstallmentsManagement.php
├── Invoices.php
├── Maintenance.php
├── Notifications.php
├── PagarmeConfigProvider.php
├── Payment.php
├── Product
│ ├── OnlyPlanItem.php
│ ├── ProductPlan
│ │ ├── Cart
│ │ │ └── Configuration
│ │ │ │ └── Plugin
│ │ │ │ └── Plan.php
│ │ ├── CopyConstructor
│ │ │ └── Plan.php
│ │ ├── Initialization
│ │ │ └── Helper
│ │ │ │ └── ProductLinks
│ │ │ │ └── Plugin
│ │ │ │ └── Plan.php
│ │ ├── Plan.php
│ │ └── Type
│ │ │ └── Plugin.php
│ └── Recurrence.php
├── ProductsPlan.php
├── ProductsSubscription.php
├── Recipient.php
├── RecurrenceProductsSubscription.php
├── RecurrenceProductsSubscriptionRepository.php
├── RecurrenceSubscriptionRepetitions.php
├── RecurrenceSubscriptionRepetitionsRepository.php
├── ResourceModel
│ ├── Cards.php
│ ├── Cards
│ │ └── Collection.php
│ ├── Charges.php
│ ├── Charges
│ │ └── Collection.php
│ ├── Customer.php
│ ├── Customer
│ │ └── Collection.php
│ ├── Invoices.php
│ ├── Invoices
│ │ └── Collection.php
│ ├── ProductsPlan.php
│ ├── ProductsPlan
│ │ └── Collection.php
│ ├── ProductsSubscription.php
│ ├── ProductsSubscription
│ │ └── Collection.php
│ ├── Recipients.php
│ ├── Recipients
│ │ └── Collection.php
│ ├── RecurrenceProductsSubscription.php
│ ├── RecurrenceProductsSubscription
│ │ └── Collection.php
│ ├── RecurrenceSubscriptionRepetitions.php
│ ├── RecurrenceSubscriptionRepetitions
│ │ └── Collection.php
│ ├── SavedCard.php
│ ├── SavedCard
│ │ ├── Collection.php
│ │ ├── CollectionFactory.php
│ │ └── CollectionFactoryInterface.php
│ ├── Subscriptions.php
│ └── Subscriptions
│ │ └── Collection.php
├── SavedCard.php
├── SavedCardRepository.php
├── Source
│ ├── Bank.php
│ ├── BilletTypes.php
│ ├── Billing.php
│ ├── BrandTypes.php
│ ├── Cctype.php
│ ├── CctypePSP.php
│ ├── Debittype.php
│ ├── DocumentType.php
│ ├── EavBillingType.php
│ ├── EavInterval.php
│ ├── EavPaymentMethods.php
│ ├── Interval.php
│ ├── Marketplace
│ │ └── Recipient.php
│ ├── PaymentAction.php
│ ├── PaymentMethods.php
│ ├── Sequence.php
│ ├── SequenceCriteria.php
│ ├── Status
│ │ ├── NewPending.php
│ │ └── Review.php
│ └── Vouchertype.php
├── Subscriptions.php
├── TdsToken.php
├── Ui
│ ├── Base
│ │ └── GenericInstallmentsConfigProvider.php
│ ├── Billet
│ │ └── ConfigProvider.php
│ ├── BilletCreditCard
│ │ ├── ConfigProvider.php
│ │ └── InstallmentsConfigProvider.php
│ ├── CreditCard
│ │ ├── ConfigProvider.php
│ │ └── InstallmentsConfigProvider.php
│ ├── Debit
│ │ └── ConfigProvider.php
│ ├── GooglePay
│ │ └── ConfigProvider.php
│ ├── Pix
│ │ └── ConfigProvider.php
│ ├── TwoCreditCard
│ │ ├── ConfigProvider.php
│ │ └── InstallmentsConfigProvider.php
│ └── Voucher
│ │ └── ConfigProvider.php
├── Validation
│ └── GenericValidation.php
└── WebhookManagement.php
├── Observer
├── AdminCustomerBeforeSave.php
├── BilletCreditCardDataAssignObserver.php
├── BilletDataAssignObserver.php
├── CartAddProductAfterObserver.php
├── CreditCardDataAssignObserver.php
├── CreditCardOrderPlaceBeforeObserver.php
├── CustomerAddressSaveBefore.php
├── CustomerLogin.php
├── DashConfigValidatorObserver.php
├── DataValidateAdmin.php
├── DebitDataAssignObserver.php
├── GooglePayDataAssignObserver.php
├── HubIntegrationObserver.php
├── OrderCancelAfter.php
├── OrderPlaceBeforeObserver.php
├── PaymentMethodAvailable.php
├── PixDataAssignObserver.php
├── SalesOrderPlaceAfter.php
├── TwoCreditCardDataAssignObserver.php
├── UpdateProductPlanObserver.php
└── VoucherDataAssignObserver.php
├── Plugin
├── Admin
│ └── CustomerPlugin.php
├── Cart
│ └── CartConflict.php
├── CatalogWidget
│ └── Block
│ │ └── Product
│ │ └── ProductsList.php
├── Framework
│ └── Webapi
│ │ └── ServicePayloadConverterInterface.php
├── GraphQl
│ └── PlaceOrder.php
├── Sales
│ └── AdminOrder
│ │ └── Product
│ │ └── Quote
│ │ └── Initializer.php
└── Webapi
│ └── RestResponse
│ └── JsonPlugin.php
├── README.md
├── Service
├── AccountService.php
├── Client
│ └── Api.php
├── Config
│ ├── AbstractSystem.php
│ ├── Path.php
│ └── System.php
├── Customer
│ └── CardsManagement.php
├── Data
│ └── RecurrencePrice.php
├── Marketplace
│ └── RecipientService.php
├── Order
│ └── ChargeService.php
└── Transaction
│ ├── TdsTokenService.php
│ └── ThreeDSService.php
├── Setup
├── InstallData.php
├── InstallSchema.php
├── UpgradeData.php
└── UpgradeSchema.php
├── Test
├── .gitignore
└── Unit
│ ├── BaseTest.php
│ ├── Block
│ └── Adminhtml
│ │ └── Marketplace
│ │ └── RecipientTest.php
│ ├── Controller
│ └── Adminhtml
│ │ └── Recipients
│ │ └── CreateTest.php
│ ├── Gateway
│ └── Transaction
│ │ └── GooglePay
│ │ └── Config
│ │ └── ConfigTest.php
│ ├── Model
│ ├── Api
│ │ ├── RecipientTest.php
│ │ └── SubscriptionTest.php
│ └── WebhookManagementTest.php
│ └── Service
│ └── Transaction
│ └── ThreeDSServiceTest.php
├── Ui
├── Component
│ ├── Column
│ │ ├── Actions.php
│ │ ├── Invoices
│ │ │ ├── Actions.php
│ │ │ └── Boleto.php
│ │ ├── RecipientActions.php
│ │ └── Subscriptions
│ │ │ └── Actions.php
│ ├── Listing
│ │ └── Column
│ │ │ ├── BrazilCurrency.php
│ │ │ └── Translate.php
│ └── Recurrence
│ │ └── Column
│ │ ├── CreatedAt.php
│ │ ├── CustomerName.php
│ │ ├── Interval.php
│ │ ├── PaymentMethodColumn.php
│ │ ├── ProductRecurrenceName.php
│ │ ├── RepetitionsColumn.php
│ │ └── TotalCyclesByProduct.php
└── DataProvider
│ └── Product
│ ├── Form
│ └── Modifier
│ │ └── Plan.php
│ └── GroupedProductDataProvider.php
├── composer.json
├── e2e
├── .gitignore
├── Dockerfile
├── README.md
├── helper
│ ├── checkout_helper.js
│ ├── data_helper.js
│ ├── pagarme_helper.js
│ └── product_helper.js
├── package-lock.json
├── package.json
├── playwright.config.js
└── tests
│ └── cartao-de-credito.e2e.test.js
├── etc
├── _product_types.xml
├── acl.xml
├── adminhtml
│ ├── di.xml
│ ├── menu.xml
│ ├── routes.xml
│ ├── system.xml
│ ├── system
│ │ ├── antifraud.xml
│ │ ├── customer-address.xml
│ │ ├── global.xml
│ │ ├── marketplace.xml
│ │ ├── recurrence.xml
│ │ └── transaction
│ │ │ ├── billet.xml
│ │ │ ├── creditcard.xml
│ │ │ ├── creditcard
│ │ │ ├── antifraud.xml
│ │ │ ├── installments.xml
│ │ │ ├── installments
│ │ │ │ ├── amex.xml
│ │ │ │ ├── aura.xml
│ │ │ │ ├── banese.xml
│ │ │ │ ├── cabal.xml
│ │ │ │ ├── credz.xml
│ │ │ │ ├── diners.xml
│ │ │ │ ├── discover.xml
│ │ │ │ ├── elo.xml
│ │ │ │ ├── hipercard.xml
│ │ │ │ ├── jcb.xml
│ │ │ │ ├── mastercard.xml
│ │ │ │ └── visa.xml
│ │ │ └── tds.xml
│ │ │ ├── debit.xml
│ │ │ ├── googlepay.xml
│ │ │ ├── multipleactionscreditcardbillet.xml
│ │ │ ├── multipleactionstwocreditcard.xml
│ │ │ ├── pix.xml
│ │ │ └── voucher.xml
│ └── ui_component
│ │ └── plan_product_listing.xml
├── config.xml
├── csp_whitelist.xml
├── db_schema.xml
├── db_schema_whitelist.json
├── di.xml
├── events.xml
├── frontend
│ ├── di.xml
│ └── routes.xml
├── graphql
│ └── di.xml
├── module.xml
├── payment.xml
├── schema.graphqls
├── webapi.xml
├── webapi_rest
│ └── di.xml
└── webapi_soap
│ └── di.xml
├── i18n
├── en_US.csv
└── pt_BR.csv
├── phpcs.xml.dist
├── phpmd.xml.dist
├── phpunit.xml
├── registration.php
├── sonar-project.properties
└── view
├── adminhtml
├── layout
│ ├── adminhtml_system_config_edit.xml
│ ├── default.xml
│ ├── pagarme_pagarme_cards_index.xml
│ ├── pagarme_pagarme_charges_index.xml
│ ├── pagarme_pagarme_invoices_index.xml
│ ├── pagarme_pagarme_plans_create.xml
│ ├── pagarme_pagarme_plans_index.xml
│ ├── pagarme_pagarme_recipients_create.xml
│ ├── pagarme_pagarme_recipients_index.xml
│ ├── pagarme_pagarme_recurrenceproducts_create.xml
│ ├── pagarme_pagarme_recurrenceproducts_index.xml
│ ├── pagarme_pagarme_subscriptions_details.xml
│ ├── pagarme_pagarme_subscriptions_index.xml
│ ├── sales_order_create_index.xml
│ ├── sales_order_create_load_block_billing_method.xml
│ └── sales_order_view.xml
├── requirejs-config.js
├── templates
│ ├── customer
│ │ └── cards.phtml
│ ├── form
│ │ └── creditcard.phtml
│ ├── info
│ │ ├── billet.phtml
│ │ ├── billetCreditCard.phtml
│ │ ├── card.phtml
│ │ ├── pix.phtml
│ │ └── twoCreditCard.phtml
│ ├── marketplace
│ │ └── recipients
│ │ │ └── create.phtml
│ ├── payment
│ │ └── info
│ │ │ └── billet.phtml
│ ├── recurrence
│ │ ├── plans
│ │ │ └── create.phtml
│ │ └── subscriptions
│ │ │ ├── create.phtml
│ │ │ └── details.phtml
│ └── tab
│ │ └── view
│ │ └── order_charge.phtml
├── ui_component
│ ├── pagarme_pagarme_cards_index.xml
│ ├── pagarme_pagarme_charges_index.xml
│ ├── pagarme_pagarme_invoices_listing.xml
│ ├── pagarme_pagarme_plans_listing.xml
│ ├── pagarme_pagarme_recipients_listing.xml
│ ├── pagarme_pagarme_recurrenceproducts_listing.xml
│ └── pagarme_pagarme_subscriptions_listing.xml
└── web
│ ├── css
│ ├── integration_buttons.css
│ ├── menu.css
│ ├── pagarme_order_create.css
│ ├── pagarme_style.css
│ ├── soft_description.css
│ └── warnings.css
│ ├── images
│ ├── avatar-pagarme-white.svg
│ └── avatar-pagarme.svg
│ ├── js
│ ├── core
│ │ ├── checkout
│ │ │ ├── CreditCardToken.js
│ │ │ ├── CreditCardValidator.js
│ │ │ ├── Listeners.js
│ │ │ └── PlatformFormBiding.js
│ │ └── models
│ │ │ └── creditCardModel.js
│ ├── global.js
│ ├── grid
│ │ └── columns
│ │ │ └── recipientStatus.js
│ ├── integrationType.js
│ ├── mainRecipient.js
│ ├── payment.js
│ ├── recipients.js
│ ├── recurrence.js
│ └── view
│ │ ├── form
│ │ └── creditCard.js
│ │ └── order
│ │ └── orderCharge.js
│ └── template
│ └── ui
│ └── grid
│ └── cells
│ └── recipientStatus.html
├── base
├── requirejs-config.js
└── web
│ ├── images
│ ├── cc
│ │ ├── Alelo.png
│ │ ├── Amex.png
│ │ ├── AndarAki.png
│ │ ├── Aura.png
│ │ ├── Banese.png
│ │ ├── Cabal.png
│ │ ├── CasaShow.png
│ │ ├── Credz.png
│ │ ├── Diners.png
│ │ ├── Discover.png
│ │ ├── Elo.png
│ │ ├── Havan.png
│ │ ├── HiperCard.png
│ │ ├── Hipercard.png
│ │ ├── HugCard.png
│ │ ├── JCB2.png
│ │ ├── LeaderCard.png
│ │ ├── Mais.png
│ │ ├── Mastercard.png
│ │ ├── Paqueta.png
│ │ ├── Pernambucanas.png
│ │ ├── RennerCard.png
│ │ ├── Senff.png
│ │ ├── Sodexo.png
│ │ ├── SodexoAlimentacao.png
│ │ ├── SodexoCombustivel.png
│ │ ├── SodexoCultura.png
│ │ ├── SodexoGift.png
│ │ ├── SodexoPremium.png
│ │ ├── SodexoRefeicao.png
│ │ ├── Ticket.png
│ │ ├── VR.png
│ │ ├── Visa.png
│ │ ├── no-brand.png
│ │ ├── sm.png
│ │ └── so.png
│ └── logo-pix.svg
│ └── js
│ ├── helper
│ └── numberFormatter.js
│ └── jquery.mask.min.js
└── frontend
├── layout
├── catalog_product_view.xml
├── checkout_index_index.xml
├── checkout_onepage_success.xml
├── customer_account.xml
├── marketplace_account_dashboard.xml
├── pagarme_customer_cards.xml
├── pagarme_customer_invoice.xml
├── pagarme_customer_subscription.xml
└── pagarme_pagarme_product_list.xml
├── requirejs-config.js
├── templates
├── customer
│ ├── cards.phtml
│ ├── invoice.phtml
│ ├── marketplace
│ │ └── kyc.phtml
│ └── subscription.phtml
├── info
│ ├── billet.phtml
│ ├── billetCreditCard.phtml
│ ├── card.phtml
│ ├── pix.phtml
│ └── twoCreditCard.phtml
├── payment
│ ├── billet.phtml
│ ├── pix.phtml
│ └── tds.phtml
└── product
│ └── price
│ └── recurrence.phtml
└── web
├── css
├── pagarme_kyc.css
├── pagarme_style.css
├── pagarme_success_page.css
└── pagarme_tds.css
├── js
├── action
│ ├── installments.js
│ ├── installmentsByBrand.js
│ ├── installmentsByBrandAndAmount.js
│ └── redirect-after-placeorder.js
├── core
│ ├── checkout
│ │ ├── Bin.js
│ │ ├── CreditCardToken.js
│ │ ├── FormObject.js
│ │ ├── PaymentMethodController.js
│ │ ├── PaymentModuleBootstrap.js
│ │ ├── PlatformConfig.js
│ │ ├── PlatformFormHandler.js
│ │ ├── PlatformPlaceOrder.js
│ │ └── Tds.js
│ ├── models
│ │ ├── BoletoCreditcardModel.js
│ │ ├── BoletoModel.js
│ │ ├── CreditCardModel.js
│ │ ├── DebitModel.js
│ │ ├── GooglePayModel.js
│ │ ├── PixModel.js
│ │ ├── TwoCreditcardsModel.js
│ │ └── VoucherModel.js
│ └── validators
│ │ ├── CreditCardValidator.js
│ │ ├── CustomerValidator.js
│ │ ├── MultibuyerValidator.js
│ │ └── VoucherCardValidator.js
├── helper
│ └── address-helper.js
├── mixin
│ └── billing-address-mixin.js
├── model
│ └── credit-card-validation
│ │ ├── credit-card-number-validator.js
│ │ └── credit-card-number-validator
│ │ └── credit-card-type.js
└── view
│ ├── marketplace
│ └── kyc.js
│ └── payment
│ ├── boleto.js
│ ├── boletocreditcard.js
│ ├── checkout
│ └── success
│ │ └── pix.js
│ ├── creditcard.js
│ ├── debit.js
│ ├── default.js
│ ├── googlepay.js
│ ├── payments.js
│ ├── pix.js
│ ├── twocreditcards.js
│ └── voucher.js
└── template
└── payment
├── boleto-form.html
├── boleto.html
├── boletocreditcard.html
├── creditcard-form.html
├── creditcard.html
├── debit.html
├── default.html
├── googlepay.html
├── multibuyer-form.html
├── pix-form.html
├── pix.html
├── twocreditcards.html
└── voucher.html
/.github/ISSUE-TEMPLATE.md:
--------------------------------------------------------------------------------
1 | ```
2 | Please use the following template to submit your issue.
3 | Following this template will allow us to quickly investigate and help you with your issue.
4 | Please be aware that issues which do not conform to this template may be closed.
5 |
6 | DO NOT FORGET TO REMOVE THIS BLOCK
7 | ```
8 |
9 | ### Status
10 |
11 | BUG REPORT / TASK
12 |
13 | ### Checklist
14 |
15 | Add checklist if this is a task
16 |
17 | - [x] Add slack integration
18 | - [_] Support xyz
19 |
20 | ### Steps
21 |
22 | 1. First step
23 | 2. Second step
24 | 3. Third step
25 |
26 | ### Expected behaviour
27 |
28 | How do you think the program should work? Add screenshots and code blocks if necessary.
29 |
30 | ### Actual behaviour
31 |
32 | How does the program work in its current state?
33 |
34 | ### Environment
35 |
36 | You may write here the specifications like the version of the project, services, operating system, or hardware if applicable.
37 |
38 | ### Logs / Stack trace
39 |
40 | ```
41 | Insert your log/stack trace here
42 | ```
43 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | | Questions | Answers
2 | | ------------- | -------------------------------------------------------
3 | | **Issue** | https://mundipagg.atlassian.net/browse/MC-{ISSUE-NUMBER}
4 | | **What?** | Describe in an objective way what has been done.
5 | | **Why?** | Why do you need this implementation/fix?
6 | | **How?** | How did you solve the problem? What are the main flows? Any technical information regarding infrastructure or architecture?
7 |
8 |
9 |
10 | #### :package: Attachments (if appropriate)
11 | Add additional informations like screenshots, issue link, etc
12 |
13 | #### :speech_balloon: Important guidelines
14 |
15 | * Add pull request labels.
16 | * Check base branch.
17 | * Make sure [your local branch is up to date](https://help.github.com/articles/syncing-a-fork/) before commiting your changes!
18 |
--------------------------------------------------------------------------------
/.github/RELEASE-NOTES-TEMPLATE.md:
--------------------------------------------------------------------------------
1 | ## :sparkles: New Features
2 | #### Feature 1
3 | Feature 1 description.
4 |
5 | #### Feature 2
6 | Feature 2 description.
7 |
8 | ## :bug: Bug fixes
9 | #### Bug 1
10 | Bug 1 description.
11 |
12 | #### Bug 2
13 | Bug 2 description.
14 |
15 | ## :rocket: Improvements
16 | #### Improvement 1
17 | Improvement 1 description.
18 |
19 | #### Improvement 2
20 | Improvement 2 description.
--------------------------------------------------------------------------------
/.github/data/master/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM bitnami/magento:2.4.5
2 | MAINTAINER Open Source Team
3 |
4 | ENV COMPOSER_ALLOW_SUPERUSER=1
5 |
6 | WORKDIR /opt/bitnami/magento
7 | ARG MAGENTO_KEY
8 | ARG MAGENTO_SECRET
9 | ARG MARKETPLACE_KEY
10 | ARG MARKETPLACE_SECRET
11 | ARG MARKETPLACE_REPO
12 | ARG MARKETPLACE_NAME
13 | ARG MARKETPLACE_VERSION
14 | ARG MARKETPLACE_REPO_URL
15 |
16 | RUN composer config -g http-basic.repo.magento.com ${MAGENTO_KEY} ${MAGENTO_SECRET}
17 | RUN composer require pagarme/pagarme-magento2-module:dev-master
18 |
19 | RUN apt update
20 | RUN apt install git -y
21 |
22 | RUN composer config -g repositories.marketplace_repo composer ${MARKETPLACE_REPO}
23 | RUN composer config -g http-basic.${MARKETPLACE_REPO_URL} ${MARKETPLACE_KEY} ${MARKETPLACE_SECRET}
24 | RUN composer require ${MARKETPLACE_NAME}:${MARKETPLACE_VERSION}
--------------------------------------------------------------------------------
/.github/data/php8/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM bitnami/magento:2.4.5
2 | MAINTAINER Open Source Team
3 |
4 | ENV COMPOSER_ALLOW_SUPERUSER=1
5 |
6 | WORKDIR /opt/bitnami/magento
7 | ARG MAGENTO_KEY
8 | ARG MAGENTO_SECRET
9 | ARG MARKETPLACE_KEY
10 | ARG MARKETPLACE_SECRET
11 | ARG MARKETPLACE_REPO
12 | ARG MARKETPLACE_NAME
13 | ARG MARKETPLACE_VERSION
14 | ARG MARKETPLACE_REPO_URL
15 | RUN composer config minimum-stability dev
16 | RUN composer config -g http-basic.repo.magento.com ${MAGENTO_KEY} ${MAGENTO_SECRET}
17 | RUN composer require pagarme/pagarme-magento2-module:dev-stg
18 |
19 | RUN apt update
20 | RUN apt install git -y
21 |
22 | RUN composer config -g repositories.marketplace_repo composer ${MARKETPLACE_REPO}
23 | RUN composer config -g http-basic.${MARKETPLACE_REPO_URL} ${MARKETPLACE_KEY} ${MARKETPLACE_SECRET}
24 | RUN composer require ${MARKETPLACE_NAME}:${MARKETPLACE_VERSION}
--------------------------------------------------------------------------------
/.github/data/stg/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM bitnami/magento:2.4.3
2 | MAINTAINER Open Source Team
3 |
4 | ENV COMPOSER_ALLOW_SUPERUSER=1
5 |
6 | WORKDIR /opt/bitnami/magento
7 | ARG MAGENTO_KEY
8 | ARG MAGENTO_SECRET
9 | ARG MARKETPLACE_KEY
10 | ARG MARKETPLACE_SECRET
11 | ARG MARKETPLACE_REPO
12 | ARG MARKETPLACE_NAME
13 | ARG MARKETPLACE_VERSION
14 | ARG MARKETPLACE_REPO_URL
15 | RUN composer config minimum-stability dev
16 | RUN composer config -g http-basic.repo.magento.com ${MAGENTO_KEY} ${MAGENTO_SECRET}
17 | RUN composer require pagarme/pagarme-magento2-module:dev-stg
18 |
19 | RUN apt update
20 | RUN apt install git -y
21 |
22 | RUN composer config -g repositories.marketplace_repo composer ${MARKETPLACE_REPO}
23 | RUN composer config -g http-basic.${MARKETPLACE_REPO_URL} ${MARKETPLACE_KEY} ${MARKETPLACE_SECRET}
24 | RUN composer require ${MARKETPLACE_NAME}:${MARKETPLACE_VERSION}
--------------------------------------------------------------------------------
/.github/data/test/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM bitnami/magento:2.4.3
2 | MAINTAINER Open Source Team
3 |
4 | ENV COMPOSER_ALLOW_SUPERUSER=1
5 |
6 | WORKDIR /opt/bitnami/magento
7 |
8 | ARG MAGENTO_KEY
9 | ARG MAGENTO_SECRET
10 |
11 | RUN composer config -g http-basic.repo.magento.com ${MAGENTO_KEY} ${MAGENTO_SECRET}
12 |
13 | RUN composer require pagarme/pagarme-magento2-module:dev-test
--------------------------------------------------------------------------------
/.github/workflows/cd_master.yml:
--------------------------------------------------------------------------------
1 | name: CD Master
2 |
3 | on:
4 | pull_request:
5 | branches: ["master"]
6 | types: closed
7 | concurrency:
8 | group: ${{ github.workflow }}-${{ github.ref }}
9 | cancel-in-progress: true
10 |
11 | jobs:
12 | call-workflow-cd:
13 | uses: pagarme/magento2/.github/workflows/cd_reusable.yml@master
14 | with:
15 | matrix_tags: "['master']"
16 | secrets:
17 | inherit
--------------------------------------------------------------------------------
/.github/workflows/cd_stg.yml:
--------------------------------------------------------------------------------
1 | name: CD STG AND PHP8
2 |
3 | on:
4 | pull_request:
5 | branches: ["stg"]
6 | types: closed
7 | concurrency:
8 | group: ${{ github.workflow }}-${{ github.ref }}
9 | cancel-in-progress: true
10 |
11 | jobs:
12 | call-workflow-cd:
13 | uses: pagarme/magento2/.github/workflows/cd_reusable.yml@master
14 | with:
15 | matrix_tags: "['stg', 'php8']"
16 | secrets:
17 | inherit
--------------------------------------------------------------------------------
/.github/workflows/cd_test.yml:
--------------------------------------------------------------------------------
1 | name: CD TEST
2 |
3 | on:
4 | pull_request:
5 | branches: ["develop"]
6 | types: closed
7 | concurrency:
8 | group: ${{ github.workflow }}-${{ github.ref }}
9 | cancel-in-progress: true
10 |
11 | jobs:
12 | call-workflow-cd:
13 | uses: pagarme/magento2/.github/workflows/cd_reusable.yml@master
14 | with:
15 | matrix_tags: "['test']"
16 | secrets:
17 | inherit
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /.idea/
2 | /vendor/
3 | *.lock
4 |
--------------------------------------------------------------------------------
/.phpcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
{$versionService->getModuleVersion()}
"; 25 | $html .= ''; 26 | 27 | return $html; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Block/Adminhtml/System/Config/Form/Field/SearchRecipient.php: -------------------------------------------------------------------------------- 1 | '; 14 | $html .= $this->_getElementHtml($element); 15 | $html .= __('Pagar.me recipient id that represents your marketplace
'); 16 | $html .= ''; 17 | $html .= '=__($this->getTitle())?>
8 | showPrintButton()) : ?> 9 |=$this->getPixInfo()->getQrCode()?>
11 | -------------------------------------------------------------------------------- /view/adminhtml/web/css/menu.css: -------------------------------------------------------------------------------- 1 | .admin__menu .level-0.item-pagarme > a:before { 2 | content: url('../images/avatar-pagarme-white.svg'); 3 | height: 28px; 4 | margin: 0 auto; 5 | width: 30px; 6 | opacity: 0.6; 7 | } 8 | 9 | .admin__menu .level-0.item-pagarme > a:hover:before { 10 | opacity: 1; 11 | } 12 | -------------------------------------------------------------------------------- /view/adminhtml/web/css/pagarme_order_create.css: -------------------------------------------------------------------------------- 1 | .fieldset-credit-card-pagarme { 2 | margin-top:15px; 3 | } 4 | 5 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_type, 6 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_number, 7 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_owner, 8 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_installments { 9 | width: 335px; 10 | } 11 | 12 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_exp_month, 13 | .fieldset-credit-card-pagarme .admin__field .admin__field-control .cc_exp_year { 14 | width: auto; 15 | } 16 | -------------------------------------------------------------------------------- /view/adminhtml/web/css/soft_description.css: -------------------------------------------------------------------------------- 1 | [id$="_soft_description_comment"] { 2 | display: block; 3 | position: relative; 4 | } 5 | 6 | [id$="_soft_description_counter"] { 7 | display: block; 8 | position: absolute; 9 | top: 0; 10 | right: 0; 11 | } 12 | 13 | [id$="_soft_description_counter"].limit-reached { 14 | color: red; 15 | } -------------------------------------------------------------------------------- /view/adminhtml/web/css/warnings.css: -------------------------------------------------------------------------------- 1 | .message.message-warning .pagarme-admin-warnings > h3 { 2 | display: flex; 3 | align-items: center; 4 | margin-bottom: .5rem; 5 | padding: 0.5rem 0; 6 | } 7 | 8 | .message.message-warning .pagarme-admin-warnings > h3:before { 9 | content: url('../images/avatar-pagarme.svg'); 10 | height: 28px; 11 | margin-right: 0.5rem; 12 | background: rgba(255,255,255,.7); 13 | border-radius: 0.6rem; 14 | } 15 | 16 | .message.message-warning .pagarme-admin-warnings > div { 17 | padding: 1rem 0; 18 | } 19 | 20 | .message.message-warning .pagarme-admin-warnings > div:not(:last-child) { 21 | border-bottom: 1px dashed #d1d1d1; 22 | } 23 | -------------------------------------------------------------------------------- /view/adminhtml/web/images/avatar-pagarme-white.svg: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /view/adminhtml/web/images/avatar-pagarme.svg: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /view/adminhtml/web/js/view/form/creditCard.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "jquery", 3 | 'Pagarme_Pagarme/js/core/models/creditCardModel', 4 | "jquery/ui" 5 | ], function ( 6 | $, 7 | CreditCardModel 8 | ) { 9 | 'use strict'; 10 | return (initializationConfig) => { 11 | $(document).ready(function(){ 12 | const config = { 13 | isMultibuyerEnabled: false, 14 | order : window.order, 15 | payment : window.payment, 16 | installmentUrl: initializationConfig.installmentUrl 17 | }; 18 | 19 | CreditCardModel.init(initializationConfig.code, config); 20 | }); 21 | }; 22 | }); 23 | -------------------------------------------------------------------------------- /view/adminhtml/web/template/ui/grid/cells/recipientStatus.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /view/base/requirejs-config.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | map: { 3 | '*': { 4 | numberFormatter: 'Pagarme_Pagarme/js/helper/numberFormatter', 5 | pagarmeJqueryMask: 'Pagarme_Pagarme/js/jquery.mask.min' 6 | }, 7 | shim : { 8 | 'pagarmeJqueryMask' : { 9 | deps : ['jquery'] 10 | }, 11 | 'Pagarme_Pagarme/js/core/checkout/PaymentMethodController' : { 12 | deps : ['pagarmeJqueryMask'] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /view/base/web/images/cc/Alelo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Alelo.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Amex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Amex.png -------------------------------------------------------------------------------- /view/base/web/images/cc/AndarAki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/AndarAki.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Aura.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Aura.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Banese.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Banese.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Cabal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Cabal.png -------------------------------------------------------------------------------- /view/base/web/images/cc/CasaShow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/CasaShow.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Credz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Credz.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Diners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Diners.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Discover.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Elo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Elo.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Havan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Havan.png -------------------------------------------------------------------------------- /view/base/web/images/cc/HiperCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/HiperCard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Hipercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Hipercard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/HugCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/HugCard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/JCB2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/JCB2.png -------------------------------------------------------------------------------- /view/base/web/images/cc/LeaderCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/LeaderCard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Mais.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Mais.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Mastercard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Paqueta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Paqueta.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Pernambucanas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Pernambucanas.png -------------------------------------------------------------------------------- /view/base/web/images/cc/RennerCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/RennerCard.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Senff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Senff.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Sodexo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Sodexo.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoAlimentacao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoAlimentacao.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoCombustivel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoCombustivel.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoCultura.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoCultura.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoGift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoGift.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoPremium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoPremium.png -------------------------------------------------------------------------------- /view/base/web/images/cc/SodexoRefeicao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/SodexoRefeicao.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Ticket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Ticket.png -------------------------------------------------------------------------------- /view/base/web/images/cc/VR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/VR.png -------------------------------------------------------------------------------- /view/base/web/images/cc/Visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/Visa.png -------------------------------------------------------------------------------- /view/base/web/images/cc/no-brand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/no-brand.png -------------------------------------------------------------------------------- /view/base/web/images/cc/sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/sm.png -------------------------------------------------------------------------------- /view/base/web/images/cc/so.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pagarme/magento2/0ba65f3f32bbb3bf7ec20b5a5bc543142070f8e0/view/base/web/images/cc/so.png -------------------------------------------------------------------------------- /view/base/web/js/helper/numberFormatter.js: -------------------------------------------------------------------------------- 1 | define([], () => { 2 | return { 3 | formatToPrice: (number) => { 4 | return number.replace(/\D/g,"") 5 | .replace(/(\d)(\d{8})$/,"$1.$2") 6 | .replace(/(\d)(\d{5})$/,"$1.$2") 7 | .replace(/(\d)(\d{2})$/,"$1,$2"); 8 | } 9 | } 10 | }) 11 | -------------------------------------------------------------------------------- /view/frontend/layout/catalog_product_view.xml: -------------------------------------------------------------------------------- 1 | 2 |= __($this->getTitle()) ?>
14 | showBilletUrl()): ?> 15 |17 | 22 | = __('Print Billet') ?> 23 | 24 |
25 | 26 | -------------------------------------------------------------------------------- /view/frontend/templates/info/billetCreditCard.phtml: -------------------------------------------------------------------------------- 1 | 6 | = $block->getCreditCardInformation() ?> 7 |= __('Amount') ?>: = $block->getBilletAmount(); ?>
12 | = $block->getPrintBillet() ?> 13 | -------------------------------------------------------------------------------- /view/frontend/templates/info/card.phtml: -------------------------------------------------------------------------------- 1 | getTransactionInfo(); 6 | if(empty($info)) { 7 | return; 8 | } 9 | ?> 10 | 11 | = __($this->getTitle()); ?> 12 | 13 |=__($this->getTitle())?>
9 | showPrintButton()) : ?> 10 |=$this->getPixInfo()->getQrCode()?>
12 | -------------------------------------------------------------------------------- /view/frontend/templates/info/twoCreditCard.phtml: -------------------------------------------------------------------------------- 1 | 12 |= __($this->getTitle()); ?>
13 |
15 | = __('Brand'); ?>: = ucfirst($this->getCcTypeFirst()); ?>
16 | = __('Number'); ?>: = $this->getFirstCardLast4(); ?>
17 | = __('Installments'); ?>: = $this->getInstallmentsFirstCard(); ?>
18 | = __('Amount'); ?>: = number_format(floatval($this->getFirstCardAmount()),2,',','.'); ?>
19 |
22 | = __('Brand'); ?>: = ucfirst($this->getCcTypeSecond()); ?>
23 | = __('Number'); ?>: = $this->getSecondCardLast4(); ?>
24 | = __('Installments'); ?>: = $this->getInstallmentsSecondCard(); ?>
25 | = __('Amount'); ?>: = number_format(floatval($this->getSecondCardAmount()),2,',','.'); ?>
26 |