Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error when setting up webhooks #2

Copy link
Copy link
@DanielTheGeek

Description

@DanielTheGeek
Issue body actions

I'm having an issue setting up webhooks using the Paystack CLI. It returns an error anytime I run webhook ping --event transfer.success --domain test

Here's the response:
The response:
Sending sample transfer.success event payload to null (node:7272) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined at C:\Users\Oreoluwa\AppData\Roaming\npm\node_modules\@paystack-oss\dev-cli\lib\Paystack.js:135:38 at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use node --trace-warnings ...to show where the warning was created) (node:7272) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) (node:7272) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.