How to use API in v1.2.0

Request for general support related to Logic Invoice.
Post Reply
jdecourbe
Posts: 2
Joined: Thu Apr 06, 2017 9:56 pm

How to use API in v1.2.0

Post by jdecourbe » Thu Apr 06, 2017 10:05 pm

Hi,

I searched for a tutorial or examples with curl to know how to use API.
Where can i found that?

Thank you

User avatar
Esmond
Site Admin
Posts: 283
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: How to use API in v1.2.0

Post by Esmond » Sat Apr 08, 2017 9:44 am

You can actually download our integration here for more information: https://www.opencart.com/index.php?rout ... on_id=3675

jdecourbe
Posts: 2
Joined: Thu Apr 06, 2017 9:56 pm

Re: How to use API in v1.2.0

Post by jdecourbe » Mon Jul 17, 2017 10:48 pm

Thank you for your answer.

I tried to install the integration with latest opencart release but found the following error:

Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 81Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 86Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 91Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 94Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 96Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 217Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 218Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 219Notice: Undefined index: token in H:\woos\execution\wamp\www\opencart\admin\controller\extension\module\logic_invoice.php on line 220
( ! ) Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "extension/module/logic_invoicetpl.twig" (looked into: H:/woos/execution/wamp/www/opencart/admin/view/template).' in H:\woos\execution\wamp\www\opencart\system\library\template\Twig\Loader\Filesystem.php on line 215
( ! ) Twig_Error_Loader: Unable to find template "extension/module/logic_invoicetpl.twig" (looked into: H:/woos/execution/wamp/www/opencart/admin/view/template). in H:\woos\execution\wamp\www\opencart\system\library\template\Twig\Loader\Filesystem.php on line 215
Call Stack
# Time Memory Function Location
1 0.0010 244560 {main}( ) ..\index.php:0
2 0.0130 785768 start( ) ..\index.php:19
3 0.0140 844904 require_once( 'H:\woos\execution\wamp\www\opencart\system\framework.php' ) ..\startup.php:104
4 0.0640 1246176 Router->dispatch( ) ..\framework.php:168
5 0.1100 1984920 Router->execute( ) ..\router.php:29
6 0.1100 1984920 Action->execute( ) ..\router.php:34
7 0.1110 1997304 call_user_func_array:{H:\woos\execution\wamp\www\opencart\system\engine\action.php:51} ( ) ..\action.php:51
8 0.1110 1997736 ControllerStartupRouter->index( ) ..\action.php:51
9 0.1130 2026208 Action->execute( ) ..\router.php:26
10 0.1140 2170728 call_user_func_array:{H:\woos\execution\wamp\www\opencart\system\engine\action.php:51} ( ) ..\action.php:51
11 0.1140 2175448 ControllerExtensionModuleLogicInvoice->index( ) ..\action.php:51
12 0.3620 4123408 Loader->view( ) ..\logic_invoice.php:233
13 0.3680 4193912 Template->render( ) ..\loader.php:85
14 0.3680 4193912 Template\Twig->render( ) ..\template.php:20
15 0.3680 4200496 Twig_Environment->loadTemplate( ) ..\twig.php:36
16 0.3680 4200544 Twig_Environment->getTemplateClass( ) ..\Environment.php:378
17 0.3680 4200544 Twig_Loader_Filesystem->getCacheKey( ) ..\Environment.php:312
18 0.3690 4200544 Twig_Loader_Filesystem->findTemplate( ) ..\Filesystem.php:139

I was unale to locate the missing template file.

Configuration:
logic invoces 1.2.0
opencart 3.0.1.1
logic invoice integration 2.0.2

Thank you

User avatar
Esmond
Site Admin
Posts: 283
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: How to use API in v1.2.0

Post by Esmond » Tue Jul 18, 2017 3:21 pm

OpenCart 3 isn't supported at the moment. We will release a patch soon.

GonzaloFi
Posts: 1
Joined: Wed Nov 15, 2017 5:36 pm

Re: How to use API in v1.2.0

Post by GonzaloFi » Sat Nov 18, 2017 7:59 pm

Esmond wrote:
Tue Jul 18, 2017 3:21 pm
OpenCart 3 isn't supported at the moment. We will release a patch soon.
Hi Esmond, is it supported now?

User avatar
Esmond
Site Admin
Posts: 283
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: How to use API in v1.2.0

Post by Esmond » Sun Nov 19, 2017 4:29 pm

working on it, hopefully before december!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest