diff options
| author | Shulhan <ms@kilabit.info> | 2023-03-09 18:47:08 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-03-09 18:47:08 +0700 |
| commit | 3d29a1cf144c785c8a210c1e85061968446b2433 (patch) | |
| tree | 24b22f35d2fb5d91b1de544c84f8a172a1926b63 /client_test.go | |
| parent | 9318bcba3b36b1778aebba5f4a87f2a5c22d1432 (diff) | |
| download | duitku-3d29a1cf144c785c8a210c1e85061968446b2433.tar.xz | |
all: export the CallbackUrl, ReturnUrl, and Signature in MerchantInquiry
This is to allow the MerchantInquiry API to be more customize able
instead of fixed, using specific merchant configuration.
While at it change the MerchantInquiry method parameter to pointer,
because to allow the caller receive filled Signature for audit.
Diffstat (limited to 'client_test.go')
| -rw-r--r-- | client_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client_test.go b/client_test.go index 2c58db5..109712d 100644 --- a/client_test.go +++ b/client_test.go @@ -228,7 +228,7 @@ func TestClient_MerchantInquiry(t *testing.T) { t.Fatal(err) } - resp, err = testClientMerchant.MerchantInquiry(*req) + resp, err = testClientMerchant.MerchantInquiry(req) if err != nil { t.Fatal(err) } |
