gocodebox / gocodebox/lifterlms

Order and Transaction related webhooks not working

Open
#2,612 2 comments 0 reactions 1 assignee Assigned to @brianhogg View on GitHub
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Reproduction Steps

1. Under `LifterLMS > Settings > REST API > Webhooks` create a new webhook with Topic set to "Order created" (`webhook.site` or other webhook testing site can be used to capture, for the Delivery URL)
2. Create an order by doing a real or test purchase
3. View the webhook log

### Expected Behavior
You should get payload for the `Order created` topic.

### Actual Behavior
Getting a `rest_no_route` error

```
{
"code": "rest_no_route",
"message": "No route was found matching the URL and request method.",
"data": {
"status": 404
}
}
```

This issue has be recreated:
+ [x] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [x] With only LifterLMS and a default theme

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.