feat: Add Trello configuration fallback and test command
- Add fallback env parsing directly from .env file in config/trello.php - Fixes issue where cached config prevents env() from reading .env values - Add artisan trello:test command to diagnose Trello configuration - Test command checks API credentials, board/list IDs, and connectivity - Test successfully creates and moves a test Trello card
This commit is contained in:
@@ -211,7 +211,7 @@ class OrderController extends Controller
|
||||
$orderData = [
|
||||
'user_id' => auth()->check() ? auth()->id() : null,
|
||||
'order_number' => $orderNumber,
|
||||
'total' => $total,
|
||||
'total' => $total + $shippingFee,
|
||||
'shipping_fee' => $shippingFee,
|
||||
'status' => 'pending',
|
||||
'payment_method' => 'yoco',
|
||||
|
||||
@@ -55,6 +55,7 @@ class TrelloWebhookController extends Controller
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Handle card movement between lists
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user