You can use a tag manager to dynamically inject Affirm-related scripts on the promotiona
GTM includes a feature to sequence tag execution, so that you can make sure that Affirm JS is always loaded first.
Here's an example of how that would be setup:
And here is a screenshot of how these settings look in GTM:
Updated almost 2 years ago