creditcard.php redirect me to clientareahome


everything in the integration seems to work with one little issue:

When viewing an invoice and selecting the credit card payment (using stripe gateway), I am redirected to the main account area. Paypal payment works fine redirecting to and when viewing the invoice directly from whmcs, I have no issue either, creditcard.php leading me to the forms to enter my CC details and provide payment.

Any idea where this could come from and how to fix this issue?