Response flutterwave for payment by card in test differs from payment in production

Hi everyone, I am testing payment by card but the response I receive in test for a successful payment is different with the response in production.
here the response in test

  "id": 4469362,
  "txRef": "431",
  "flwRef": "FLW-MOCK-e15fe8ab3f4a8010f3b030139797c8ba",
  "orderRef": "URF_1689614673834_8232935",
  "paymentPlan": null,
  "paymentPage": null,
  "createdAt": "2023-07-17T17:24:34.000Z",
  "amount": 11.16,
  "charged_amount": 11.16,
  "status": "successful",
  "IP": "",
  "currency": "USD",
  "appfee": 0.43,
  "merchantfee": 0,
  "merchantbearsfee": 1,
  "customer": {
    "id": 2148179,
    "phone": null,
    "fullName": "Jimmy Vita kasongo",
    "customertoken": null,
    "email": "",
    "createdAt": "2023-07-17T17:24:34.000Z",
    "updatedAt": "2023-07-17T17:24:34.000Z",
    "deletedAt": null,
    "AccountId": 2089764
  "entity": {
    "card6": "553188",
    "card_last4": "2950",
    "card_country_iso": "NG",
    "createdAt": "2020-04-24T15:19:22.000Z"
  "event.type": "CARD_TRANSACTION"

in prod

  "event": "charge.completed",
  "data": {
    "id": 285959875,
    "tx_ref": "Links-616626414629",
    "flw_ref": "PeterEkene/FLW270177170",
    "device_fingerprint": "a42937f4a73ce8bb8b8df14e63a2df31",
    "amount": 100,
    "currency": "NGN",
    "charged_amount": 100,
    "app_fee": 1.4,
    "merchant_fee": 0,
    "processor_response": "Approved by Financial Institution",
    "auth_model": "PIN",
    "ip": "",
    "narration": "CARD Transaction ",
    "status": "successful",
    "payment_type": "card",
    "created_at": "2020-07-06T19:17:04.000Z",
    "account_id": 17321,
    "customer": {
      "id": 215604089,
      "name": "Yemi Desola",
      "phone_number": null,
      "email": "",
      "created_at": "2020-07-06T19:17:04.000Z"
    "card": {
      "first_6digits": "123456",
      "last_4digits": "7889",
      "country": "NG",
      "type": "VERVE",
      "expiry": "02/23"

Hi @maestrojims

Thank you for sharing this experience,

This behaviour in expected, However, in order to make the webhook payload structure on test mode the same as the webhook payload structure on live mode, Follow the steps below;

  • Navigate to your dashboard and toggle/switch to test mode (Click on the icon at the bottom left corner of your dashboard and a pop-up should appear).
  • After successfully switching to test mode, Navigate to Settings and then open the Webhooks menu.
  • Check the option “Enable V3 Webhooks
    Screenshot 2023-07-19 at 14.13.11

Thank you. It’s working now.