PRIMARY (continue) button re-enabled by Authnet js library before submission completes

Created on 8 February 2024, 11 months ago

Problem/Motivation

The primary button for a checkout step is re-enabled by commerce_authnet/js/commerce_authnet.accept.form.js (~ line 181) before submission making it seem as though the submission was not successful. This also allows a user to click the submit button again while the form is still submitting.

I understand there is likely a reason for this action, but am looking for a way to keep the button disabled until the page has successfully submitted and the user is redirected to the next step in the checkout workflow.

πŸ› Bug report
Status

Active

Version

1.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mbopp Grand Rapids, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024