<feed xmlns='http://www.w3.org/2005/Atom'>
<title>duitku/client.go, branch main</title>
<subtitle>Go module for duitku.com.</subtitle>
<id>http://git.kilabit.info/duitku/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/duitku/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/'/>
<updated>2025-07-12T11:09:52Z</updated>
<entry>
<title>all: replace module share with pakakeh.go</title>
<updated>2025-07-12T11:09:52Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-07-12T11:09:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=172b04fdfdbb879993402d5f6f447e4258fa19f6'/>
<id>urn:sha1:172b04fdfdbb879993402d5f6f447e4258fa19f6</id>
<content type='text'>
The share module has been migrated and renamed to
git.sr.ht/~shulhan/pakakeh.go.

</content>
</entry>
<entry>
<title>all: add option Timeout to Client</title>
<updated>2025-07-12T10:49:23Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-07-12T10:49:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=dba7aa16a4df5e89c2aea5cec1d07609f468de82'/>
<id>urn:sha1:dba7aa16a4df5e89c2aea5cec1d07609f468de82</id>
<content type='text'>
The Timeout option affect how long the client wait for connect and waiting
for response.

</content>
</entry>
<entry>
<title>all: export all of status codes</title>
<updated>2023-08-15T07:37:26Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-08-15T07:28:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=e38426b6eea0bf190a58c49953c4b22fad98f692'/>
<id>urn:sha1:e38426b6eea0bf190a58c49953c4b22fad98f692</id>
<content type='text'>
While at it, change the code prefix from ResCodeXXX to StatusCodeXXX so
we can add another error codes later.
</content>
</entry>
<entry>
<title>client/merchant_inquiry: return 4xx error from duitku</title>
<updated>2023-07-11T17:18:49Z</updated>
<author>
<name>yogi sofiharja</name>
<email>hardja.ogie@gmail.com</email>
</author>
<published>2023-07-11T15:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=03e36df0b972b41724d4ebedc1e38a79b561cac1'/>
<id>urn:sha1:03e36df0b972b41724d4ebedc1e38a79b561cac1</id>
<content type='text'>
By returning 4xx error, client can return the correct error given by duitku
</content>
</entry>
<entry>
<title>client: return response from duitku even if the code is not success (00)</title>
<updated>2023-07-06T06:27:33Z</updated>
<author>
<name>yogi sofiharja</name>
<email>hardja.ogie@gmail.com</email>
</author>
<published>2023-07-06T03:52:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=1ec4c69017704b76b2a45210c132ac91f6f83be7'/>
<id>urn:sha1:1ec4c69017704b76b2a45210c132ac91f6f83be7</id>
<content type='text'>
It allow the client to show error that comes from duitku
</content>
</entry>
<entry>
<title>all: replace golangci-lint with revive</title>
<updated>2023-03-23T04:26:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-03-23T04:26:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=4065a6c41d972b4bf800d1ac8df4c5cf89687719'/>
<id>urn:sha1:4065a6c41d972b4bf800d1ac8df4c5cf89687719</id>
<content type='text'>
The golangci-lint is become unusable when building with Go tip and their
default run does not return any results.

This changes fix all code and comments reported by revive.
</content>
</entry>
<entry>
<title>all: change the MerchantTxStatus parameter to struct</title>
<updated>2023-03-17T06:57:34Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-03-17T06:57:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=548c92ff835de375e2b35add255bd4bf77a3e632'/>
<id>urn:sha1:548c92ff835de375e2b35add255bd4bf77a3e632</id>
<content type='text'>
The idea is to allow the caller to know the Signature of request after
call to MerchantTxStatus and possibly log the whole request.

While at it, we change the method name to MerchantPaymentStatus and
the type from transactionStatus to PaymentStatus, and from
TxStatusResponse to PaymentStatusResponse.
</content>
</entry>
<entry>
<title>all: export the CallbackUrl, ReturnUrl, and Signature in MerchantInquiry</title>
<updated>2023-03-09T11:47:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-03-09T11:47:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=3d29a1cf144c785c8a210c1e85061968446b2433'/>
<id>urn:sha1:3d29a1cf144c785c8a210c1e85061968446b2433</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>all: implement API to check merchant transaction status</title>
<updated>2023-02-01T08:26:41Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-01T07:56:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=78469f295acd5931d64c8af483c0261ff2eb6183'/>
<id>urn:sha1:78469f295acd5931d64c8af483c0261ff2eb6183</id>
<content type='text'>
The MerchantTxStatus method check the payment status by its orderID and
payment method.

Reference: https://docs.duitku.com/api/en/#check-transaction
</content>
</entry>
<entry>
<title>all: implement API for Merchant Inquiry</title>
<updated>2023-02-01T08:07:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-01-31T14:24:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/duitku/commit/?id=a5b22d2d0d018d7822a492979f36470e9f9cc78c'/>
<id>urn:sha1:a5b22d2d0d018d7822a492979f36470e9f9cc78c</id>
<content type='text'>
The MerchantInquiry API request payment to the Duitku system (via virtual
account numbers, QRIS, e-wallet, and so on).

Ref: https://docs.duitku.com/api/en/#request-transaction
</content>
</entry>
</feed>
