From d3d482be762c6baa8b8f90366749b38f8e1d5476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 31 Oct 2022 17:52:47 +0800 Subject: Status & charge return strings The most likely needed info like VA number. --- midtrans.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'midtrans.h') diff --git a/midtrans.h b/midtrans.h index ab040fb..33f4a43 100644 --- a/midtrans.h +++ b/midtrans.h @@ -23,8 +23,8 @@ extern "C" { #endif void midtrans_init(const char *api_key, char *pem); -void midtrans_status(const char *order_id); -void midtrans_charge_banktransfer(struct midtrans_banktransfer *banktransfer, +char *midtrans_status(const char *order_id); +char *midtrans_charge_banktransfer(struct midtrans_banktransfer *banktransfer, struct midtrans_transaction *transaction, char *custom_fields[]); void midtrans_cleanup(); -- cgit v1.2.3