Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Not able to complete order Shopify HPSDK

Not able to complete order Shopify HPSDK

Akshay3
Tourist
6 0 1

I have created my own Shopify payment gateway, I am trying to mark order as completed on my test store using HPSDK method but getting following error.

Akshay3_0-1618213214265.png

I am also trying to make asynchronous callback which is also giving me an error "Notification acknowledgment failed".

Can anyone give me idea what I am doing wrong here? 

Reply 1 (1)

CalD
Shopify Staff
140 22 36

Hey @Akshay3,

Have you confirmed the signature you're gateway is calculating is correct? https://shopify.dev/docs/hosted-payment-sdk/getting-started#422-unprocessable-entity-notification-ac...

Can you also rule out this similar-sounding issue? https://community.shopify.com/c/Shopify-APIs-SDKs/refund-order-management-response/td-p/513532 

If necessary after checking the above items, send over an x-request-id response header from one of your unsuccessful callback requests and we can look at the logs further.

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog