mollie-api-php
mollie-api-php copied to clipboard
Workaround for testmode query param on cancel subscription call
Hi,
I've left a comment on #437 and this pull request contains a workaround for the Error executing API call (422: Unprocessable Entity): Non-existent query parameter "testmode" for this API call.. Field: testmode exception on the subscription->cancel() call.
In https://github.com/mollie/mollie-api-php/issues/437#issuecomment-580770762 it's mentioned that Mollie is accepting the testmode query parameter on the other endpoints, and I think adding this support also to the cancel subscription endpoint would be a better solution than merging this workaround.
Thanks @ronaldtb !
In #437 (comment) it's mentioned that Mollie is accepting the testmode query parameter on the other endpoints, and I think adding this support also to the cancel subscription endpoint would be a better solution than merging this workaround.
I agree, I'll discuss this option with the Mollie team first
Hang on @ronaldtb, we're still looking into this 😄
Mollie will solve this in the API. I'll leave this PR open for reference until the issue has been solved.
Thanks for the update @sandervanhooft. I'm currently using the workaround from my pull request, so there's no hurry from my side.
seems like the issue was fixed