Commit f949ba2
Salvar informações de cartão de crédito na VP (#16)
* feat: added new credit card form
* feat: added setup for old settings and minor bugfixes
* fix: error with 1i18n on setting's page
* fix: allow all countris by default
* i18n: add new terms for language file
* feat: added max installments and minum installment value
* feat: added reseller token to transactions
* feat: added reseller token to transactions
* feat: send tracking code to Vindi
* fix: mask also reseller token and token account
* fix: when the card number comes with 4 digits, don't add 20 before it
* fix: when the card number comes with 4 digits, don't add 20 before it
* doc: added pull request template
* fix: observer to bankslippix
* fix: cancel unapproved orders without config
* feat: adjust with phpstan
* fix: error monitoring transactions
* fix: worng price additional
* fix: update terms to ask for a CPF on checkout
* feat: don't auto select TaxVat when is not a CPF number
* feat: don't auto select TaxVat when is not a CPF number
* Payment link functionality created
* Vindi payment method verification to send the payment link has been added
* The payment link email template changed and made an email configuration to set the template
* Template Id changed
* Email path and list fixed
* feat/VINDI-143: estilo da pagina de link de pagamento com boleto, pix, bolepix e cartao
* feat/VINDI-143: estilizacao pagina link de pagamento
* Use strict added to js file
* ko library added
* float cast removed
* Applying the requested changes on payment link files
* adding the vindi_customer_taxvat to additionalInformation
* Fixing the bugs about payment link
* VP module version has been updated
* payment link email template has been changed
* Deleting the payment link when it is expired
* Fixing the payment link summary details
* Adding a discount verification
* Making the discount value positive
* fix: change fingerprint loader
* VINDI-143: pagina de sucesso
* VINDI-143: mensagem de desconto no link de pagamento
* Remove linha comentada
* The payment link delete has been removed from the payment link page
* fix: add fingerprint method in define
* fix: customer without taxvat
* fix: preventing conflict with the vindi recurrence module
* feat: adding security validations and better payment link management
* fix: phpstan fix
* feat: creating mass sending of payment link
* fix: remove await vindi fingerprint
* feat: add translate
* feat: automatically cancels orders whose payment link has expired more than 30 days ago
* feat: custom email template
* fix: remove await vindi fingerprint
* fix: remove await vindi fingerprint
* refactor: adding validation on payment methods and payment link success page
* fix: change form with get status
* feat: implementing single view system on success page
* feat: translate
* fix: remove await vindi fingerprint
* fix: remove await vindi fingerprint
* feat: expire_at field
* update
* update
* update
* update
* fix: processing payment link when canceling
* fix: Adjust payment data displays if the order has already been invoiced
* feat: added refund functionality
* fix: allow to refund
* fix: remove default consumer-key, consumer secret
* fix: remove default consumer-key, consumer secret
* fix: remove default consumer-key, consumer secret
* feat: create authentication button
* refactor: add logging in refund flow
* fix: address saving repeated
* fix: address saving repeated
* fix: logger in helper
* fix: logger in helper
* fix: logger in helper
* refactor: add log in RefundRequest
* refactor: add log in RefundRequest
* refactor: add log in RefundRequest
* fix: correcting the way the access_token is taken
* fix: generate new access_token
* refactor: refactoring duplicate code and creating tests
* refactor: refactoring duplicate code and creating tests
* refactor: refactoring duplicate code and creating tests
* fix: call fingerprint script in all pages
* fix: regenerate acces_token
* v1.4.1
* fix: refresh token error
* fix: it should not be possible to generate payment link via the frontend
* feat: added text to return URL
* fix: round the discount tag
* feat: creation of the 'vindi_vp_credit_cards' table and its respective models
* feat: save cart_token
* feat: save cart on checkout
* feat: creating card management in the customer account
* feat: add new adding new payment brands
* refactor: implementing installment consultation also for saved cards
* feat: creating option to save card with checkbox at checkout
* refactor: removing the add card button from the customer center
* feat: adding cvv as mandatory when using saved card
* fix: fixing card deletion
* fix: correcting the saving of card data when purchasing with an already saved card
* refactor: added PHPDoc on methods that were missing
* feat: changing portuguese function names from 'view/frontend/web/js/customer/account/payment_profile/edit.js' to english
* refactor: refactor credit card handling: unify input listeners, extract detectCardType, consolidate BIN patterns, and simplify masking and validations
* refactor: refactor PaymentProfile controllers: enforce strict_types, add method type hints and English docblocks, streamline save/delete flows and improve exception handling
---------
Co-authored-by: Thiago Contardi <thiagocontardi@hotmail.com>
Co-authored-by: Thiago Contardi <thiago@bizcommerce.com.br>
Co-authored-by: Contardi <contardi@users.noreply.github.com>
Co-authored-by: Gabriel Antal <gabrielantalsilva@gmail.com>
Co-authored-by: Caroline Esteves <carol@bizcommerce.com.br>
Co-authored-by: Antal <gabriel.antal@bizcommerce.com.br>
Co-authored-by: Antal <44688111+GabrielAntal@users.noreply.github.com>
Co-authored-by: carolineesteves <131886821+carolineesteves@users.noreply.github.com>
Co-authored-by: Iago Cedran <iago@bizcommerce.com.br>1 parent ccfc138 commit f949ba2
File tree
42 files changed
+2598
-265
lines changed- Api
- Data
- Block/PaymentProfile
- Controller
- Installments
- PaymentProfile
- Gateway
- Http/Client/Api
- Request/CreditCard
- Response/CreditCard
- Helper
- Model
- Config/Source
- ResourceModel
- CreditCard
- Ui/CreditCard
- Observer
- etc
- i18n
- view/frontend
- layout
- templates/customer/account/payment_profile
- web
- css/customer/account/payment_profile
- js
- customer/account/payment_profile
- view/payment/method-renderer
- template/payment/form
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+2598
-265
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
0 commit comments