-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Restricted Wallets #8
Comments
If you will allow me, I can add the features and create a PR. |
Take a look at my new comment on #9 |
I assume you have read : #10 (comment) Prior to initiating a new Pull Request for the feature: Locked/Restricted Wallet, please address the following queries:
|
@3m1n3nc3 I still have doubts |
|
Indeed it would be a good feature. I am working/thinking on a feature to make things more dynamics and if this becomes also dynamic it would be a great idea. Doubt 1: I expect this: balance WL1 ($60) + WL2 ($40) = $100 WL1 is locked. hence $60 is not accessible. I have an order which its price is $50. Can I pay it? No, It should return an exception. Doubt 2: Why it is hardcoded or a parameter set in the database? I am interested to have the ability to lock a wallet through code, something like |
Doubt 1: Doubt 2: |
What happened?
This is not a bug report but the feature flags were not working so I had to use this.
How to reproduce the bug
Make a transaction.
Package Version
1.0.3
PHP Version
8.2.0
Laravel Version
9.0.0
Which operating systems does with happen with?
macOS, Windows, Linux
Notes
I moved from a custom built solution to this library because it had features I needed and do not care to reimplement,
$user->pay(amount)
method is called, the system does not attempt to charge from those restricted wallets, like in a case when we have a dedicated escrow wallet.Funds transfer from User XXX
, it gets really handy and I would love to see it implemented.The text was updated successfully, but these errors were encountered: