BF lineitem currency

This commit is contained in:
Fabian @ Blax Software 2026-01-25 11:11:55 +01:00
parent 440be3a36f
commit 3d66114163
1 changed files with 1 additions and 1 deletions

View File

@ -2031,7 +2031,7 @@ class Cart extends Model
// Build line item using price_data for dynamic pricing // Build line item using price_data for dynamic pricing
$lineItem = [ $lineItem = [
'price_data' => [ 'price_data' => [
'currency' => config('shop.currency', 'usd'), 'currency' => $item->price->currency ?? strtoupper($this->currency),
'product_data' => [ 'product_data' => [
'name' => $productName, 'name' => $productName,
...($description ? ['description' => $description] : []), ...($description ? ['description' => $description] : []),