mage2pro / moip

Moip integration with Magento 2
https://upwork.com/fl/mage2pro
7 stars 1 forks source link

Prefill the «CPF do titular deste cartão» bank card payment form field with the value of the standard Magento «VAT Number» address attribute or with the value of the standard Magento «Tax/VAT number» customer attribute #11

Closed dmitrii-fediuk closed 7 years ago

dmitrii-fediuk commented 7 years ago
dmitrii-fediuk commented 7 years ago

For now, it is prefilled only in the special «Prefill?» test mode with the fixed «11438374798» value: https://github.com/mage2pro/moip/blob/0.8.6/view/frontend/web/main.js#L85-L94

dmitrii-fediuk commented 7 years ago

The implementation would be similar to:

https://github.com/mage2pro/core/blob/2.9.1/Payment/view/frontend/web/card.js#L151-L158

dmitrii-fediuk commented 7 years ago

A related task:

dmitrii-fediuk commented 7 years ago

Implemented in 0.8.7.