veritrans / SNAP-Woocommerce

MIT License
19 stars 17 forks source link

Remove jquery from payment page #65

Closed rizdaprasetya closed 3 years ago

rizdaprasetya commented 3 years ago

Address this https://github.com/veritrans/SNAP-Woocommerce/issues/63

To avoid edge-case issue: when merchant use unknown 3rd party asset optimizer plugin, on payment page, jQuery may be loaded late/randomly (race condition). it can cause jQuery is undefined that prevent the payment js to run.