Having same error but i use Paypal. Cannot add payment method.
Also I have paypal enabled but the “add payment method” button only shows credit card as an option, which then fails with error 500. PP payment do work for invoices.
I updated today to latest version and issue persists.
production.ERROR: Symfony\Component\HttpFoundation\Response::setContent(): Argument #1 ($content) must be of type ?string, App\PaymentDrivers\PayPalRestPaymentDriver given, called in /home/banayrlg/invoice.xxxxxx.com/vendor/laravel/framework/src/Illuminate/Http/Response.php on line 72 {“userId”:36,“exception”:"[object] (TypeError(code: 0): Symfony\Component\HttpFoundation\Response::setContent(): Argument #1 ($content) must be of type ?string, App\PaymentDrivers\PayPalRestPaymentDriver given, called in /home/banayrlg/invoice.xxxx.com/vendor/laravel/framework/src/Illuminate/Http/Response.php on line 72 at /home/banayrlg/invoice.xxxx.com/vendor/symfony/http-foundation/Response.php:449)
Payfast is set up correctly, once the user/client clicks pay now it collects personal info then redirects and error 500. I assume it is something being blocked either ports or something any ideas?