News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Bridge VM / ERP

Started by ermes, July 06, 2018, 18:33:04 PM

Previous topic - Next topic

ermes

Hello everyone,
I wrote a bridge for a customer to interface virtuemart with his ERP. everything is nice and working except for the login phase. Let me explain: I take all the data via post request (username, password, product specifications etc ...) only when I go to call $productModel->store() tell me that I do not have the authorization, when in fact I am already logged in and I have also set the token in this way:
$token = vRequest::getFormToken();
vRequest::setVar ($token, 1);

Any idea to understand where I'm wrong? Where i can found the doc about it? Tnx.