Payment error (not paid), yet user still gets access

Hi there,

I have a bit of a weird problem.

While doing a few 'live' transactions to test payment:

If user make payment with credit card and something goes wrong with final processing, like 3D Secure doesn't authorise it for instance, payment doesn't go through BUT they get access to the course...

Please investigate URGENTLY.

Thank you