Skip to content

Commit bd79992

Browse files
authored
Update PayPalController.php
1 parent 68917eb commit bd79992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Api/Client/Store/PayPalController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function purchase(PayPalRequest $request): JsonResponse
4242
}
4343

4444
$amount = $request->input('amount');
45-
$cost = config('gateways.paypal.cost', 1) / 100 * $amount;
45+
$cost = config('gateways.cost', 1) / 100 * $amount;
4646
$currency = config('gateways.currency', 'USD');
4747

4848
DB::table('paypal')->insert([

0 commit comments

Comments
 (0)