Webhook testing for Wix Automation

I have setup a Wix website with subscription Price Plans for an external webapp. I have setup a Wix Automation for Price Plan orders. When a price plan is ordered, I register a webhook to send a post request to our external server.

How can I trigger a price plan order to test the registered webhook? I don’t want to use live orders to develop the request handler on our server. Some of the webhook docs suggest there is a ‘Test’ button. However, I do not see a Test button when registering the webhook as part of setting up a Wix Automation.

Any ideas? (not really sure I’m posting this question in the right place)

It’s right place to ask this.

But as I know there is no way to trigger a test order for almost any Wix App not just pricing plans. What you can do is create a member or use yourself. And create a manual order so this will trigger the automation.

You can create a feature request for this feature here.

Hi LoeiX,

Thanks for the reply and workaround. I’m unable to create manual orders for some reason. Here what I did…

  1. On the Menu & Pages view, select hidden Shop page
  2. Add 2 default products and update them to be .01 and .02 cost
  3. Publish site with changes
  4. Confirmed on Dashboard the products are listed in Store
  5. Select Orders → Add Order
  6. Add product, set user and select Create Order

I get an error and no order is created…

“There was a technical issue and we couldn’t create your order. Please try again.”

Any suggestions?

You may need to try again I don’t know why you see this error. It’s Wix related error so I have no idea maybe it’s temporary error.

The error is persistent, at least for several hours today. But I just discovered if I use the wix owner as the buyer, it works! My server gets the POST request.

Now I just have to develop our server backend that unpacks the JWT payload and examines the JSON object for persistence in our db. I realize there are likely differences between a Wix Store order and a Price Plans order. The contents are published. I may need to make some live orders for Purchase Plans to ultimately implement a correct solution.

Thanks for your original answer. I now have some follow up work to do.!

@jmelvin