soap

30 views
Skip to first unread message

alexshopify

unread,
Sep 18, 2012, 7:46:27 AM9/18/12
to shopify-a...@googlegroups.com
I'd like to use shopify to have an e-commerce.
My e-commerce requires that once a payment confirmed there is a call to a web service that communicates the information.
What is the php file that knows the event "payment done" and wich i have to edit to add a call soap?

Sorry for my english,
Thanks,
Alex

Yan Sarazin

unread,
Sep 18, 2012, 8:19:36 AM9/18/12
to shopify-a...@googlegroups.com
Hi Alex,

What you are looking for is called a Webhook. 


You can set those up through the API, but if it's your own store you can create them manually through the Shopify Admin under Preferences and Email & Notifications. There's a webhook called "orders/paid", which is what you want in this case.

-- 
Yan Sarazin


--
 
 
 

alexshopify

unread,
Sep 18, 2012, 8:33:39 AM9/18/12
to shopify-a...@googlegroups.com
Thank you Yan.
I have one last question sorry.
Usually I work at the client side and i don't create the web service (wsdl).

I always hear talk about soap, I wonder if the xml file generated by shopify may have some compatibility issues with the web service? Because maybe there are different types of web services.
Excuse the ignorance

Yan Sarazin

unread,
Sep 18, 2012, 8:53:19 AM9/18/12
to shopify-a...@googlegroups.com
All the webhook is going to do is POST the XML (or JSON) data to a url you specify. What you do with that data after is up to the code you write. If your web service is expecting data to formatted a certain way, then you'll need something in the middle to do the translation.

-- 
Yan Sarazin


--
 
 
 

alexshopify

unread,
Sep 18, 2012, 8:56:59 AM9/18/12
to shopify-a...@googlegroups.com
Ok i understand.
Thank you!
Reply all
Reply to author
Forward
0 new messages