Skip to content

Commit cfd0b27

Browse files
committed
➖ Remove notchpay toolkit
1 parent cc41139 commit cfd0b27

File tree

5 files changed

+3
-198
lines changed

5 files changed

+3
-198
lines changed

app/Http/Livewire/Modals/AnonymousSponsors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function submit(): void
4949
'amount' => $this->amount,
5050
'email' => $this->email,
5151
'name' => $this->name,
52-
'currency' => config('notchpay-toolkit.currency.default'),
52+
'currency' => 'XAF',
5353
'reference' => $adminUser->id . '-' . $adminUser->username() . '-' . uniqid(),
5454
'callback' => route('notchpay-callback'),
5555
]);

app/Http/Livewire/SponsorSubscription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function subscribe(): void
4545
'amount' => $this->amount,
4646
'email' => Auth::user()?->email,
4747
'name' => Auth::user()?->name,
48-
'currency' => config('notchpay-toolkit.currency.default'),
48+
'currency' => 'XAF',
4949
'reference' => Auth::id() . '-' . Auth::user()?->username() . '-' . uniqid(),
5050
'callback' => route('notchpay-callback'),
5151
]);

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"livewire/livewire": "^2.11",
3232
"lorisleiva/laravel-actions": "^2.5",
3333
"nnjeim/world": "^1.1",
34-
"notchpay/laravel-toolkit": "^1.5",
3534
"notchpay/php-sdk": "^2.2",
3635
"qcod/laravel-gamify": "^1.0.6",
3736
"ramsey/uuid": "^4.2",

composer.lock

Lines changed: 1 addition & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/notchpay-toolkit.php

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)