XF 2.1 Strip issues, country abbreviation issue, has anyone ran into this?

robdog

Well-known member
I am running into the following error:

Code:
IntegrationError: Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GR, GT, HK, HU, ID, IE, IN, IT, JP, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT...
  at new t (/v3/:1:11100)
  at Nt (/v3/:1:21083)
  at Lt (/v3/:1:21154)
  at new t (/v3/:1:87087)
  at Ja (/v3/:1:115263)
...
(10 additional frame(s) were not displayed)

On the Stripe form popup, it doesn't appear that data-pr-country="US" is getting added to the stripe form. Any ideas what is keeping this from rendering on the form? I am not sure where to set this or if this is auto set from somewhere?

Works fine locally but when I move it up to my server I get this error. One thing to note is that I do not have "live" payments turned on and I am using the sandbox API keys.
 
Last edited:
Nevermind, figured it out. I had to go through account settings to make sure everything was set properly in my account details and verify my account.
 
Back
Top Bottom