Closed

Shopify Webhook API

Update:

I have found most of the code neded online so I only need help with separating the date fileds from the streem.

Here is the code I have and I need some to verify it it is workable as well as I need help on how to extrat the diferent fileds from the streem so I can insert them into my dB.

<!---- Sample Code Start --->

Imports [login to view URL]

Imports [login to view URL]

Partial Class Shopify_Webhook

Inherits [login to view URL]

Private Sub Page_Load(ByVal sender As Object, ByVal e As [login to view URL])

Try

If Not IsPostBack Then

Dim HMACHeader As String = Request("HTTP_X_SHOPIFY_HMAC_SHA256").ToString()

Dim Topic As String = [login to view URL]("x-shopify-topic").ToString()

Dim ShopifyURL As String = [login to view URL]("x-shopify-shop-domain").ToString()

[login to view URL] = 0

Dim Data As String = New StreamReader([login to view URL]).ReadToEnd().ToString()

If VerifyWebhook(Data, HMACHeader) Then

//this is what I need help with. I need to separate the values in the streem and insert them into my dB. Something like

orders_insert(Data.bill_addr.first_name, [login to view URL], Data.total_price, Data.order_number)

//I am not sure how to do this and I need help with that

End If

End If

Catch ex As [login to view URL]

End Try

End Sub

Private Function VerifyWebhook(ByVal Data As String, ByVal HMACHeader As String) As Boolean

Try

Dim Secret As String = "a096b5552cdd23251c5e14a1802270c9"

Dim HMAC As [login to view URL] = New [login to view URL]([login to view URL](Secret))

Dim Hash As Byte() = [login to view URL]([login to view URL](Data))

Dim CalculatedHMAC As String = [login to view URL](Hash)

If HMACHeader <> CalculatedHMAC Then

End If

Return (HMACHeader = CalculatedHMAC)

Catch ex As [login to view URL]

Return False

End Try

End Function

End Class

<!---- Sample Code End --->

Purpose:

Every time a new order is completed in our Shopify Store, I need the order and all order details and options to be imported into our internal POS

The internal POS is a ASP.NET application in VB.NET with MSSQL dB

This must be a complete import including customer info/details, recipient info details as well as all order details and options.

Since the dB tables of the internal POS does not match the Shopify dB table structure,

we will provide a mapping for the POS to Shopify database fields

Essentially, I need an API written in VB.NET that will parse the Shopify Webhooks and populate the appropriate fields in our internal database with all order details like client info, order info and details, delivery address etc. All that info comes from our Shopify Store.

Skills: VB.NET, ASP.NET, Shopify, Shopify Development

See more: shopify webhook node js, shopify webhook product update, shopify order api, shopify search api, shopify webhook not working, shopify webhook order creation, shopify api, shopify product api, shopify barcode api, shopify php api example, wufoo webhook api, shopify theme api, shopify , magento api, shopify developer api, shopify javascript api, shopify shop api, shopify activate api, shopify admin api, shopify fulfillment api, shopify recharge api

About the Employer:
( 7 reviews ) Toronto, Canada

Project ID: #23417084

16 freelancers are bidding on average $535 for this job

mrbean26

Hi, I have more than 15 years of experience working on .Net tech stack. I have worked on .net,.net core, c#, vb.net, asp.net, MVC, web api, SQL server, MySQL etc. Over the years I have been working with APIs to extra More

$600 CAD in 7 days
(17 Reviews)
7.2
khanicha

Hello, The webhook will only send you the order information in a brief, so the more detail should be retrieved over API. So, once an order webhook retrieved and parsed you will have the order ID you could use for req More

$400 CAD in 1 day
(21 Reviews)
7.8
himanshu0818

Hi I have been creating custom Shopify Websites, Themes, and Apps for 5 years now. I am expert in Liquid coding, PHP, CSS, HTML, Woo-commerce, Magneto, GIT, Node, GraphQL, Laravel, React, Jquery, Javascript, Shopify More

$750 CAD in 30 days
(5 Reviews)
5.8
adeelpirzada

Greetings for the day, My video portfolio: [login to view URL] My Reputation: I am rated in top 3% freelancers here on my .Net C# Programming skills. I have completed numerous projects on MVC an More

$525 CAD in 7 days
(12 Reviews)
5.6
Fullstact

Hello there, Greetings from Illia. I am very familiar with Development and Responsive Design of Website since last 7+ years and successfully done lots of business and related websites. I have full experience in Wordpre More

$500 CAD in 7 days
(5 Reviews)
3.9
octacer

Hi Sir, Its Hisham. I am Software Engg. with more than 3 years of market experience.I am a Full Stack Developer. I have developed many web and cloud based solutions for my clients. I have been developing solutions ASP More

$500 CAD in 7 days
(1 Review)
2.9
abdulmannan9

Hi there - This is Abdul Mannan and i can develop API in VB.NET that get order info from Shopify webhook API, and map/insert into you POS DataBase as per your requirements WiTHIN1-2 DAYS. I am an expert ASP, VB.NET dev More

$400 CAD in 2 days
(4 Reviews)
3.1
AstonHill99

Hello , I have read your job description and totally understood your requirement regarding the your Shopify Website. I'm confident that I can provide you with the complete service in a very reasonable cost, all my des More

$400 CAD in 7 days
(2 Reviews)
2.4
MaLiguo

Hello, Dear How are you? Thank you for your posting job, my name is MaLiguo I have read your project description and am very interesting in your project. I have experienced in ASP.NET, VB.NET for long term. I will work More

$500 CAD in 7 days
(1 Review)
2.0
MangalGauswami

HI, I noticed that you are looking for an Expert to work on your Project,I have gone through your requirement and would like to take this opportunity to provide you best solution for the same. With having more than More

$750 CAD in 8 days
(1 Review)
1.7
SergeiMixakov

Hello. How about today? High-quality & Fast-delivery is promised! As a highly skilled Full-Stack developer and I can help you perfectly. I am very confident with my skills and I'd like to help your business by doing my More

$1000 CAD in 7 days
(1 Review)
1.0
vishalsh90

I can work on this project right away. I have good amount of experience working with VB.net and previously worked on Stripe API Webhook implementation and Shopify Webhooks also. I find I can do this task within 1-2 d More

$250 CAD in 3 days
(1 Review)
0.4
athminteam

Hi, This is Vipin, an alumnus of IIT Kanpur. I have 6+ years of experience in customized software, web and mobile app development and have expertise in Android, iOS, Python, Magento, PHP, HTML, Java, Angular and Ion More

$500 CAD in 7 days
(0 Reviews)
0.0
Alexsey225

⭐Hi, Hiring manager!⭐ I got your point of you. I will be more than happy to help you. I am full-stack developer what experienced 8+years in ASP.net project field were sharpen. My background as a Web Developer, along More

$500 CAD in 7 days
(0 Reviews)
0.0
tgltech

Hi, I have gone through your requirements " Shopify Webhook API " and can absolutely assist you in achieving the desired results. ## With expetise in creating POS software for various industries ,we can assist you wi More

$486 CAD in 7 days
(0 Reviews)
0.0
sheliza313

Hello Hope you are well! I have read your request thoroughly & i can work on it. There are few points i would like to discuss are you available? Looking forward for your reply.

$500 CAD in 7 days
(0 Reviews)
0.0