Payment not successful

I bought a script on Codecanyon using PayPal as the payment method.
I was debited but was not redirected to codecanyon

No history in my PayPal wallet, and the script is still in my cart.

If you were charged but the transaction isn’t showing on your PayPal account, then start by contacting PayPal support – that sounds like an issue on their side.