Payment plugin working but not calling webhook in backend

Hi.

I am trying to integrate a payment plugin in my app but I want the automations after a successful payment to be done server side.

The payment works correctly in the frontend but I am having problems from the backend workflow side of things.

I have done everything right (I think) but it’s not working.

Have any idea?

Please, see screenshot of my backend workflow.

Hey,

So if you check out flutterwave’s doc on webhooks you can see the structure of the payload they’re likely sending is something like:

{
  "event": "charge.completed",
  "data": {
    "id": 285959875,
    "status": "successful"
  }
}

For the parameter definition you’ve defined, you would need the payload to look like this:

{
  "event": "charge.completed",
  "transaction_id": 285959875,
  "status": "successful"
}

Unfortunately you can’t properly define the structure they’re sending using “Manual definition”, and will need to use the “Detect request data” option for “Parameter definition” and receive a real payload so the request data can be defined.

This topic was automatically closed after 70 days. New replies are no longer allowed.