Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Nov 1, 2024
1 parent 70652a0 commit ee61af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^8.2 || ^8.3",
"conedevelopment/bazar": "dev-master || ^1.1.0",
"conedevelopment/bazar": "dev-master || ^1.1.2",
"stripe/stripe-php": "^15.4"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/StripeDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function createSession(Order $order): Session
'price_data' => [
'currency' => strtolower($order->getCurrency()),
'product_data' => ['name' => $item->getName()],
'unit_amount' => $item->getPrice() * 100,
'unit_amount' => $item->getGrossPrice() * 100,
],
'quantity' => $item->getQuantity(),
];
Expand Down

0 comments on commit ee61af7

Please sign in to comment.