Skip to content

Using webhook for delivery digital product #188

Answered by sags95
ryadhiprasetya asked this question in Help
Discussion options

You must be logged in to vote

@ryadhiprasetya this might ultimately depend on what digital product you're selling and if you are using a dedicated DAM. Generally the steps would look like this:

  1. Configure a webhook in Developer > Webhooks to fire on the order.created event. You can also select other events depending on the order flow.
  2. In your webhook listener, depending if your store delivers a mix of both physical and digital goods, you would want to parse these orders. Digital products within orders would have delivery: null, so in the order payload you can inspect the items array for these items. If you only sell digital goods then this step is not necessary.
  3. This last step will depend on what type of product you a…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by logeshswell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
3 participants