Billing address details were added to create a card token in omise-payment-form-handler.js because Visa backend requires billing address (Reference: #269). It has been removed because this caused issue on some merchants because some sell digital products so they won't have billing address. Some merchants customize the checkout page so the billing address may not have the same IDs we were expecting. This caused issue of undefiend error.
Even though we fix the undefined error to meaningful error, it will still cause issue as they won't have the billing address or a customize billing address fields.
1. Objective
Billing address details were added to create a card token in
omise-payment-form-handler.js
because Visa backend requires billing address (Reference: #269). It has been removed because this caused issue on some merchants because some sell digital products so they won't have billing address. Some merchants customize the checkout page so the billing address may not have the same IDs we were expecting. This caused issue ofundefiend
error.Even though we fix the
undefined
error to meaningful error, it will still cause issue as they won't have the billing address or a customize billing address fields.Jira Ticket: #421
2. Description of change
Billing address details have been removed from the POST data when creating card token in
omise-payment-form-handler.js
.3. Quality assurance
Checkout without filling billing address. You should see default Woocommerce error instead of
undefined
error.🔧 Environments: