Skip to content

Automatic Fee Imposition - Add new original_amount and gross_amount to Notification and Get Transaction Status #118

@Voxelox

Description

@Voxelox

Halo, saya baru saja menggunakan fitur terbaru Midtrans yaitu “Automatic Fee Imposition”, tapi karena dokumentasi kurang dijelaskan, ternyata gross_amount berubah jadi ditambah fee, karena backend saya menganggap pembayaran melebihi harga yang tertera di invoice, jadinya ditambah ke account credit, apakah bisa diupdate untuk bisa mendapatkan original_amount dan gross_amount?

Berikut struktur json dari midtrans yang terbaru:

"metadata": {
    "extra_info": {
      "gross_amount_info": {
        "original_amount": "10000",
        "gross_amount": "10071",
        "customer_imposed_payment_fee": "71"
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions