You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The beforeInject solution given on that issue was a bit of a stopgap, for the reason that you described: It changes the initial state of the button by modifying the DOM, however Recurly.js itself is not aware of the change, and so you lose the change after a validation error (or similar events.)
We are aware of interest in the feature, but have no timeline available for a fix.
I'm using the 'beforeInject' method to change the text of the submit button on the one-time transaction form. This works fine for the initial load.
But after a validation error, or after the button reverts back from "Please Wait", the default "Pay" message returns.
How can I keep my custom message in the button? I did try afterInject on a lark, but it didn't make any difference.
The text was updated successfully, but these errors were encountered: