So that when attaching the checkout.js it will always add the external dependencies.

Comments

gordon created an issue. See original summary.

gordon’s picture

StatusFileSize
new1.49 KB

here is the patch

ptmkenny’s picture

Status: Active » Needs review

  • grasmash committed b218a52 on 8.x-1.x authored by gordon
    Issue #3031930 by gordon: Add dependency for libraries so the external...
grasmash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

shahzad-anwar’s picture

StatusFileSize
new28.54 KB

The commit is incomplete. The stripe_registration.libraries.yml changes from patch should also be committed. With removing the attached JS from form, the libraries dependencies should also be committed. Without the libraries file changes the Stripe JS does not load.

tbenice’s picture

patch does not apply to 1.x-dev

ptmkenny’s picture

@tbenice The patch has already been added to the module according to #4, so there is no need to apply it; this issue has been fixed.