Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
risangbaskoro committed Feb 5, 2023
2 parents 382f145 + 0463077 commit 24c8f62
Show file tree
Hide file tree
Showing 14 changed files with 551 additions and 466 deletions.
52 changes: 13 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,47 +43,21 @@ If you want to contribute to Kasir package, you may want to test it in a real La
3. Clone **your fork** in your Laravel app's root directory.
4. In the `/kasir` directory, create a new branch for your fix, e.g. `fix-something`.
5. Install the packages in your app's `composer.json`:

```json
{
...
"require": {
"kasir/kasir": "*"
},
"repositories": [
{
"type": "path",
"url": "kasir/*"
}
],
...
}
```

```json
{
"require": {
"kasir/kasir": "*"
},
"repositories": [
{
"type": "path",
"url": "kasir/*"
}
],
}
```
6. Run `composer update`.

## Capability

### Payment API

- [x] Tokenize payment card information before being charged.
- [x] Perform a transaction with various available payment methods and features.
- [x] Capture an authorized transaction for card payment.
- [ ] Approve a transaction with certain `order_id` which gets challenge status from Fraud Detection System.
- [ ] Deny a transaction with a specific `order_id`, flagged as challenge by Fraud Detection System.
- [ ] Cancel a transaction with a specific `order_id`. Cancelation can only be done before settlement process.
- [ ] Expire a transaction with a specific `order_id`. Expiration can only be done before settlement process.
- [ ] Refund a transaction with a specific `order_id`. Refund can only be done after settlement process.
- [ ] Send refund to the customer's bank or the payment provider and update the transaction status to `refund`.
- [x] Get the transaction status of a specific `order_id`.
- [ ] Get the transaction status multiple B2B transactions related to certain `order_id`.
- [ ] Register customer's card information (card number and expiry) to be used for One Click and Two Click transactions.
- [ ] Get the point balance of the card in denomination amount.
- [ ] Used to link the customer's account to create payment for certain channel.
- [ ] Get customer payment account details.
- [ ] Unbind a linked customer account.
- [ ] Get Bin Metadata.

## License

Kasir is open-sourced software licensed under the [MIT license](LICENSE.md).
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "kasir/kasir",
"description": "Kasir helps integrating Midtrans in Laravel way.",
"version": "v1.0.0",
"authors": [
{
"name": "Risang Baskoro",
Expand All @@ -22,7 +23,6 @@
"license": "MIT",
"require": {
"php": "^8.0.2|^8.1",
"ext-curl": "*",
"guzzlehttp/guzzle": "^7.5",
"illuminate/contracts": "^9.0",
"illuminate/support": "^9.26"
Expand Down
79 changes: 39 additions & 40 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 24c8f62

Please sign in to comment.