FINALLY GOT IT WORKING!
We had a Varnish cache running on the server which messed up the Quickpay callbacks.
( https://www.varnish-cache.org/)
I added a exception in Varnish not to cache the url http://www.brydtavsheden.dk/?wc-api=WC_QuickPay
Then it worked !
OKay…. I am still struggling…..
I had a order go through AND send the new order email. However it only worked once and i am not sure what I did.
In the working order I noticed that a TRANSACTION ID and TRANSACTION ORDER ID are added to the post.
In my non-working orders I instead see QUICKPAY_PAYMENT_ID and a QUICKPAY_PAYMENT_LINK added to the order.
No if I manually overwrite the two quickly id’s with the two transaction id’s WC makes a connection to Quickpay and I can see the payment status in quickpay in my order overview.
Does this make sense to anyone? I am trying the quickly logs to see what i might have chanced since it worked once, but still nothing… Arrghhhh…