Create Customer PHP Function & PHP Support/Updates

Hi Support team,

We are currently considering Dwolla for our needs and working with the SDK. Looked at the Dwolla swagger SDK and most methods and functions are being recognized:
(ie DwollaSwagger\CustomerListResponse) - working ok and others

However seem to be running into an issue with the create customer function, which based on the documentation here 2022-05-30_17-42-17 the arguments we are pssing should work.

In this case the below error is returned:

Argument ‘1’ passed to create() is expected to be of type DwollaSwagger\CreateCustomer, array givenPHP(PHP0406)

We are using (cannot downgrade):
PHP 8.1+
Laravel 9+

Perhaps we are missing something?

Cheers,

Hi Jeremy – Apologies for the late reply to your post! :bowing_woman:

We did find that our PHP SDK is not supported in the latest version of PHP (v8.1). We have logged this as feedback for updating the library to be compatible with the latest version. For now, since the API is exposed via HTTP, you may look into implementing the API integration using an HTTP framework like Guzzle, or something you’re most comfortable with!