Issues with Cybersource implementation on local environment

I have been working on implementing ecommerce into a tutor openedx installation, paypal was pretty straight forward, just putting in the configuration, but cybersource has been a bit more of a challenge…

I went through all the steps to signup for a test cybersource account, and created all the keys to configure it with Open Edx (following the instructions on the tutor ecommerce plugin github repo), but the fields kept not showing on my local environment.

After some debugging I was able to find this issue on the logs:

So it seems like cybersource scripts are having issues because tutor runs on
instead of localhost.

Has anyone found a way to be able to bypass this to test cybersource locally? For obvious reasons I need to test the implementation before pushing it live.