mollie-api-php: Unsupported Input Received when submitting payment

Specifications

  • API Version: 2.32.1

Describe the issue

Just updated from 2.32.0 to 2.32.1 and noticed my test payments were immediately failing with the error:

Error executing API call (415: Unsupported Input Received): This API only accepts application/json or application/x-www-form-urlencoded as content-type

Downgrading to 2.32.0 immediately fixes the issue. Seems to be related to this #556

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

This one

Test payment worked for me with the new MollieApiClient.php changes in #562.

Edit: Just tested switching manually between lowercase “t” and uppercase “T” and that indeed seems to be the issue, as the lowercase “t” produced the error for me.

Working as expected now @sandervanhooft . Thanks for the quick action.

Thanks for reporting this! I have released 2.32.2 to revert this. Will investigate later to see if I can reproduce this.

That’s a lot of sentences ending with “this”. That’s what you get when hotfixing before coffee 😴 😅 .

Thanks for reporting this! I have released 2.32.2 to revert this. Will investigate later to see if I can reproduce this.