we implement card acceptance using Ecommerce Service API and iframe integration.
For this implementation, we follow documentation/examples available on the Clover developer's community site.
We are able to create a charge with test cards, however, we have found a few issues.
1. Submitting empty payment form - when submitting an empty form, instead list of errors we got an unhandled js exception. Stack trace:
card-cvv_10.entry.js:1 Uncaught TypeError: Cannot read property 'replace' of undefined
at CardElement.getFieldData (card-cvv_10.entry.js:1)
at CardElement.postMessageHandler (card-cvv_10.entry.js:1)
2. Tax amount - tax amount is calculated and sent to Clover API when creating charge together with the transaction amount. However, taxAmount is not visible in Clover dashboard Transactions/Payments. In both situations, when a capture flag is true and false.
3. Send receipt - would Clover automatically send the receipt to the provided email address when creating a charge, if not, is it possible to trigger to email with receipt detail to the cardholder email address.
Thank you for your feedback.