Affirm Requires .ca URL's For Canada

Created on 21 July 2024, 5 months ago

When using a Canadian account, Affirm requires you to use different URL's with .ca instead of .com. This is not well documented by Affirm but was found to be the case when testing the module with a Canadian Affirm account.

https://cdn1.affirm.com/js/v2/affirm.js must be https://cdn1.affirm.ca/js/v2/affirm.js

https://cdn1-sandbox.affirm.com/js/v2/affirm.js must be https://cdn1-sandbox.affirm.ca/js/v2/affirm.js

These need to be changed in /commerce_affirm/js/commerce_affirm.js

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada a.griff

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024