https://www.dropbox.com/scl/fi/idbw80j0nv9qzx3ht49r2/klarna-payment-module-zencart-v1.0.zip?rlkey=nrzpx8mnlnzit2alw9b6phbql&dl=0
I tried with chatgpt to make a klarna module. Maybe somebody who knows code and file structure better than me can make use of the code here?? :)
I gave up and my usual dev had a quick look and made sense of it, said alot of stuff looked valid but was located wrong file structure wise. He didn't really have the time to look into it further as it was christmas time and i sprung a new template out ready to dump my old basic template.
Currently at one module made by chatgpt that was sent to a dev to take over the finish line... the dev for that one said it was a full rewrite but i recognised 90% of the code hadn't changed and that was a full event ticketing and admissions suite!
Hopefully this is helpful and not a hinderance, toy around with it at your own risk of course (backup database and files or use test site ect)
I have seen this under the payment modules menu but hitting install module is where it failed. Let me know if it is fixable, id love to get this up and running myself but as you can tell by the above, im a newbie learning as i copy and paste what i prompted out of an ai chatbot.
I also hav a royal mail api module that connects to royal mail and would work to transmit the info for order processing but that went wrong when the chatbot added code to request a quote for shipping price, something that is not a feature of the api i fed into it to start with.
Most likely issues with this klarna module will be files in the wrong place and possibly placeholders for key functions, maybe a definition changed midway through development as it forgot the chat history towards the final few files. It learns from code found online, it can include silly errors as you find people tend to share code with issues not perfect code :s