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.
I started using this module to help with migration to square.js. It seems really slow now. Just wondering if part of the problem is loading the script when the credit card feature is needed. I'd like to load the script myself and disable the PaymentForm from managing it.
Note that I tried using the loading feature in CreditCard, but I couldn't get it to ever enable the button.
Your Example Website or App
Not public
Steps to Reproduce the Bug or Issue
Doesn't seem relevant. Just imaging that the square code is already loaded.
Expected behavior
I expected the credit card form to load quickly, but instead I see an empty credit card section for several seconds. Not sure why it's slow, but guessing that square.js isn't preloaded - it waits until the form is needed.
Describe the bug
I started using this module to help with migration to square.js. It seems really slow now. Just wondering if part of the problem is loading the script when the credit card feature is needed. I'd like to load the script myself and disable the PaymentForm from managing it.
Note that I tried using the loading feature in CreditCard, but I couldn't get it to ever enable the button.
Your Example Website or App
Not public
Steps to Reproduce the Bug or Issue
Doesn't seem relevant. Just imaging that the square code is already loaded.
Expected behavior
I expected the credit card form to load quickly, but instead I see an empty credit card section for several seconds. Not sure why it's slow, but guessing that square.js isn't preloaded - it waits until the form is needed.
Screenshots or Videos
No response
Platform
Additional context
No response