-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
12.x-devbacklogfrozengood issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested
Description
Describe the bug
Using $customer->paid($product))
fails when product was purchased with money transferred to another wallet.
To Reproduce
Steps to reproduce the behavior:
1.
$cart = app(Cart::class)
->withItem($product, receiving: $receiving)
;
$user->payCart($cart);
$user->paid($product); // returns null
Expected behavior
The method is supposed to return true but it still return false.
It fails when it should pass (as it should though, The underlying code needs to provide a $receiving wallet
Server:
- php version: 8.3
- database: mysql 8.0
- wallet version 10.1
- cache lock: redis
- cache wallets: redis
Metadata
Metadata
Assignees
Labels
12.x-devbacklogfrozengood issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested