Development discussions around Shopify APIs
Hello,
I've been debugging the POS Cart Extension for three days and it is literally impossible to debug. I am able to get Shopify to contact my API Endpoints as instructed by https://shopify.dev/docs/pos/pos-cart-app-extension. Yet, it wouldn't display any action in the POS app even though my response payload matched the actual example given by Shopify.
I'm testing from the POS IPhone app. I have traces of Shopify calling my API Endpoints and that I am responding with the proper payloads. From the app side, NOTHING. No action card is displayed when actions returned with 200 status. Also, I'm not seeing any error card when I return a `500` status to the Shopify request. My gut feeling is telling me that this might be a problem with iPhone iOS app itself that is not displaying the results (good or bad). I'll try to test on an iPad later tonight.
Response return by my application.
{
"type":
"simple_action_list",
"points_label": "Points balance",
"points_balance": "23867",
"actions": [ {
"type": "flat_discount",
"title": "Add $5.00 discount",
"description": "-1000 points",
"action_id": "123ABC",
"value": "5"}
]
}
On a side node, the documentation feels stale and not up to date. Links and navigation are broken.
This is a big blocker for us and prevents us from implementing our discount workflow. It is possible to be contacted by a support engineer to help me debug what is wrong? There is literally no feedback or troubleshooting options offered by Shopify.
I ended up doing tests with the iPad and I get the same behaviour. Still no traces of the actions cards or even error notification.
Anyone has a pointer how how this could be troubleshooted?
I'm starting to lose faith, 2 weeks without any response from the Partner Support team. There's literally no clue or trace to investigate and start from somewhere.
It just keeps getting better, support replied that I should look at the documentation and post on the message board.
Another reply from support. After analyzing everything I gave them. Answer is "not a problem on our end", post on the SDK forum and have nice day.
Very helpful... Not even an explanation of what is wrong with the returned payload. I'm tired of this.
Worst support I've ever experienced honestly. The feature or documentation is definitely broken and support reported a "won't fix" because engineers says it's OK. Well maybe, but that doesn't help me understanding what is wrong on the other end of the pipe. My only option left is social network shaming. This is waste of time, money and energy for everyone...
With payments and subscriptions fees, we are handing out around 10k CAD per year to Shopify. This is ridiculous.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023