Urgent Need Of Help: "This square.link page can’t be found"

Hi All,

I am geting a " This square.link page can’t be found" randomly, every 2 out of 10 times of trying… I am getting a 200 response… everything on paper looks fine… but in practice I get an error such as below. Please help, its unusable in its current state.

p.s. Ignore the #reloadit anchor, its irrelevant happens without it too.

Not sure if this helps… but here is the console errors

c430bb7b02a96166670119e1081b765f

Response
{
“payment_link”: {
“id”: “UIHNDQPE7PQ4XYWA”,
“version”: 1,
“order_id”: “deZtlTHQcZ7HUPP21uvPkWtz3RbZY”,
“url”: “ScreenOasis.com”,
“created_at”: “2023-01-08T15:58:46Z”
},
“related_resources”: {
“orders”: [
{
“id”: “deZtlTHQcZ7HUPP21uvPkWtz3RbZY”,
“location_id”: “L0RB5D62YEKFB”,
“source”: {
“name”: “order_capture”
},
“line_items”: [
{
“uid”: “M2qinzqHojYsMCNSqfC70C”,
“name”: “Window Screen Replacements”,
“quantity”: “1”,
“item_type”: “ITEM”,
“base_price_money”: {
“amount”: 10259,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 10259,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 10259,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 10259,
“currency”: “USD”
}
}
],
“fulfillments”: [
{
“uid”: “X0Cx0AEvzHyMI4wBoNtrr”,
“type”: “DIGITAL”,
“state”: “PROPOSED”
}
],
“net_amounts”: {
“total_money”: {
“amount”: 10259,
“currency”: “USD”
},
“tax_money”: {
“amount”: 0,
“currency”: “USD”
},
“discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“tip_money”: {
“amount”: 0,
“currency”: “USD”
},
“service_charge_money”: {
“amount”: 0,
“currency”: “USD”
}
},
“created_at”: “2023-01-08T15:58:46.080Z”,
“updated_at”: “2023-01-08T15:58:46.080Z”,
“state”: “DRAFT”,
“version”: 1,
“total_money”: {
“amount”: 10259,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_tip_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_service_charge_money”: {
“amount”: 0,
“currency”: “USD”
},
“net_amount_due_money”: {
“amount”: 10259,
“currency”: “USD”
}
}
]
}
}

The team is aware of this and working on a fix. As a workaround if you add a short delay before redirecting the customer it will resolve this. :slightly_smiling_face:

I have introduced a 2 second delay but the problem persists… should it be longer?

Darren

The delay should be long enough to get it to work. If it’s not working at 2 seconds does 3 work? :slightly_smiling_face:

My apologies, I have stared at this for so long I was not seeing the wood from the trees… I delayed the correct part (redirect as you said) and so far, I have not seen the error repeat!

1 Like

Any word if there’s a fix for this? I’m having the same issue (although I have not implemented the delay). Seems strange that the API returns with a URL that it’s not ready to use yet.

Yes, if you use the long_url instead of the url it won’t cause this problem. :slightly_smiling_face:

1 Like