Easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, Gift Cards and Afterpay/Clearpay.
[ ] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[x] Make sure you are making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
Description
We need to conditionally unmount our cash app instance and when re-rendering we get the following error.
We call destroy on the cash app instance on unmount and this allows us to re-render the component without any issue.
I understand your request that we do not attempt to PR "our master" but we did not see this on the roadmap or issues.
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.
Description
We need to conditionally unmount our cash app instance and when re-rendering we get the following error.
We call destroy on the cash app instance on unmount and this allows us to re-render the component without any issue. I understand your request that we do not attempt to PR "our master" but we did not see this on the roadmap or issues.
🧡 Thank you!