cartridges/int_affirm/cartridge/templates/resources/affirm.properties(or other locale resources file such as
affirm_fr_CAwhere applicable) and fill in the following empty fields with the URLs for corresponding environments:
Before: affirm.production.js= … affirm.sandbox.js= After: affirm.production.js=https://cdn1.affirm.com/js/v2/affirm.js … affirm.sandbox.js=https://sandbox.affirm.com/js/v2/affirm.js
Once this change has been made and properly uploaded to your SFCC server instance, go to:
Business Manager > Merchant Tools > Custom Preferences > AFFIRM_PAYMENT > Affirm Static JSand set the value to “No”. This configuration will allow the storefront to use the
Affirm.jslibrary as a remote resource which gets imported via CDN and ensures that your storefront has an up to date version of the library.
Please reach out to Developer Support if you have any further questions regarding this step.
Updated 4 days ago