diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-12-10 19:03:04 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-12-10 19:03:04 +0800 |
commit | e0ea21dcfc7638c481f8c1875e711305b7ebb511 (patch) | |
tree | b786fec04f61571ae64f6f3ca27b39f97919bd23 /midtrans.c | |
parent | 6537a9392a0bfb3d5ada64f60152fba6afcdffb5 (diff) |
Fix the order ID reference
Diffstat (limited to 'midtrans.c')
-rw-r--r-- | midtrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -324,8 +324,8 @@ enum midtrans_transaction_status midtrans_notification_transaction(char *post, size_t signature_fields_len = order_id_len + strlen(status_code) + strlen(gross_amount) + strlen(server_key); char signature_fields[signature_fields_len + 1]; - sprintf(signature_fields, "%s%s%s%s", transaction->order_id, - status_code, gross_amount, server_key); + sprintf(signature_fields, "%s%s%s%s", order_id, status_code, + gross_amount, server_key); BIO *bio = BIO_new(BIO_s_null()); BIO *mdtmp = BIO_new(BIO_f_md()); |