I have a question sorta similar to this one: Recurly.js v3 and addons
I have a checkout form with a "Company Address" section as well as a "Billing Address" section. I have Recurly pricing attached to the "Billing" section of course, and when I update the Billing fields, everything functions as intended.
My issue is: we added a checkbox for "Check here if your Billing Address is the same as your Company Address". But for whatever reason, when the Billing fields are populated/changed via THIS method, it does not trigger the Recurly pricing update.
A simple "on.change, alert something" line of jQuery confirmed that when the fields are updated via the checkbox, jQuery IS catching that a change has occurred; but Recurly only recognizes changes actually typed into the field.
So how do I either: A) reconfigure the change so Recurly will "notice" it, or B) trigger Recurly's change manually? (Quick edit: calling ".trigger('change')" did not fix the issue.)
Aucun commentaire:
Enregistrer un commentaire