Closed (fixed)
Project:
commerce_recurly
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Dec 2020 at 20:50 UTC
Updated:
16 Dec 2020 at 21:34 UTC
Jump to comment: Most recent
For some reason the recurlyjs lib doesn't get loaded onto the page when the payment method is changed via ajax. I think this may be because Drupal may be unable to load the external js at that point in time, although I'm not entirely sure. Cludgey fix is to add a form alter to all commerce forms just to ensure it's present no matter what.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mrweiner commentedComment #4
mrweiner commentedComment #7
mrweiner commentedFixed by forcing the js calls to wait for recurly to exist on the page before init'ing