We’re attempting to migrate from SqPaymentForm to the Web Payments SDK, but when we integrate on our site, the tokenize
method never returns. I looked in the Chrome DevTools and see requests going out to /payments/error/api/3478832/store/
. Below is the body of one of those.
{
"exception": {
"values": [
{
"type": "IframeMessengerTimeoutError",
"value": "Messenger has not received an acknowledgement of message requestCardNonceIfValidForm with id 16403031968206105, no iframeID was set",
"stacktrace": {
"frames": [
{
"colno": 56148,
"filename": "https://sandbox.web.squarecdn.com/v1/square.js",
"function": "r",
"in_app": true,
"lineno": 1
},
{
"colno": 372019,
"filename": "https://sandbox.web.squarecdn.com/v1/square.js",
"function": "?",
"in_app": true,
"lineno": 1
},
{
"colno": 371598,
"filename": "https://sandbox.web.squarecdn.com/v1/square.js",
"function": "lh.logMessengerTimeout",
"in_app": true,
"lineno": 1
}
]
},
"mechanism": {
"handled": true,
"type": "generic"
}
}
]
},
"level": "error",
"event_id": "bc32d923d1f84a1081a75d3c778af437",
"platform": "javascript",
"timestamp": 1640303212.84,
"environment": "sandbox",
"release": "[email protected]",
"sdk": {
"integrations": [
"InboundFilters",
"FunctionToString",
"TryCatch",
"Breadcrumbs",
"GlobalHandlers",
"LinkedErrors",
"UserAgent"
],
"name": "sentry.javascript.browser",
"version": "6.13.3",
"packages": [
{
"name": "npm:@sentry/browser",
"version": "6.13.3"
}
]
},
"tags": {
"applicationId": "sandbox-sq0idb-8yI_j6W6BnxXPySfp_EiPA",
"applicationUrl": "<snip>",
"source": "web-payments-sdk-public",
"version": "1.22.0",
"avt": "ed15cf1f-74df-4482-a03a-d09c944e2c8a",
"sessionId": "wMB8r3SxgSFOm_HIBRo4_MQ_GfgM51hL881AYX3qPI0leO8yhAJceOx7OqyN4MBXHBA7NCLSL_wVXDPA-mEA",
"instanceId": "86346809-9acf-46c0-9c54-0ef58b3af847"
},
"user": {
"id": "ed15cf1f-74df-4482-a03a-d09c944e2c8a"
}
}```