Payment - Return URL too long for payment provider

Hello.

(Same content as in Payment – Return-URL zu lang für Payment-Provider – just branching out to english, hoping for a wider audience…)

I have developed an integration for a payment provider (ESTO) that would probably work… However, the returnUrl from Shopware is too long for their system and the JWT is shortened and thus invalid.

Is there a „nice“ way to shorten the returnUrl? Or do I have to build something myself to get around this limitation by using more code and (potentially) less security?

Kind regards,
Karsten