500 Error on Add Payment Method

Hi I’m in the process of setting up the account and came across this issue (with the hosted version):
https://pump.invoicing.co/client/payment_methods/create?method=2

When I try to add a new payment method on the client portal while testing I get this error:


Screen Shot 2023-05-16 at 3.42.37 PM

Hi,

@david do you have any thoughts?

@spndn

You will need to increase the permission levels on the API key you are using, Gocardless indicates a insufficient permissions exception.

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)

Having the same error when trying to use PayPal. Any update or fix on this please?

Found any fix please? I’m having the same exact issue.

@hillel Same issue for me. I’m using Payfast.

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?

Are there any details about the 500 error in storage/logs?