Re: tripletex with php Programming Web Development by subrata_ushasi …($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_URL, 'https://tripletex.no/JSON-RPC'); curl_setopt($ch, CURLOPT_HTTPHEADER,array('Content-Type:…<?php //SECOND METHOD //CreateInvoice API $url = 'https://tripletex.no/JSON-RPC'; $cookie_bin = 'cookie/cookie.txt'; ## lets… Re: tripletex with php Programming Web Development by subrata_ushasi … has the link as pdf here http://tripletex.no/resources/api/tripletex-api.pdf.The and the other links …where codes are given. http://json-rpc.org/ https://tripletex.no/JSON-RPC http://json-rpc.org/wiki/implementations …where .php page will send parameters to tripletex invoice system and tripletex will send/mail invoice to respective customer/buyer… tripletex with php Programming Web Development by subrata_ushasi Hi all , After a long googling I am raising this issue. I want an online invoice from distribut to customer using tripletex but every one used using magento or drupal and I want it from website in php using tripletex.Is there any way to do it because I did it using paypal but difficult using tripletex. Thanks in advance Subrata Re: tripletex with php Programming Web Development by subrata_ushasi From tripletex.no(online invoice generating website) and paypal invoice can be generated online for any product sale. I want to integrate in my website .When I order a product ,based on the order info it will go to tripletex and generate invoice to the customer or any one. Re: tripletex with php Programming Web Development by subrata_ushasi Hi , Sorry the link will be as follows: http://tripletex.no/resources/api/tripletex-api.pdf Subrata Re: tripletex with php Programming Web Development by aswathivalsaraj @ pritaeas : i have created a test/trial account in tripletex . so i have only username & password. what all are the other parameters required to test tripletex . can u please help. Re: tripletex with php Programming Web Development by subrata_ushasi … quite a few days. Anyway, after creating your account in Tripletex ,you need to ask the same to give password against… rest of the methods. I solved all the methods from tripletex API given in pdf format. Hope this will solve your… API Tripletex - Can not see the cookie in response of it ? Programming Web Development by Lee_7 Hi, I'm trying to working with the Tripletex API. Also see our topic : http://www.daniweb.com/web-…development/php/threads/444996/tripletex-with-php When i tried log in, It's ok… Re: tripletex with php Programming Web Development by pritaeas What exactly are you trying to achieve? Re: tripletex with php Programming Web Development by pritaeas I can't read Norsk well enough, but they have an API. There's also a Drupal plugin that integrates, so perhaps you can start there. Re: tripletex with php Programming Web Development by pritaeas Looks like you'll need to POST JSON. You can do that with cUrl. Re: tripletex with php Programming Web Development by subrata_ushasi pritaeas, done and running on the web . Thanks Re: tripletex with php Programming Web Development by aswathivalsaraj Hi, Can any one please tell me how to test triplex in php website. I got error, like this, login checking in tripletexobject(stdClass)#1 Invalid syncSystemId (7) or password (pwd). Re: tripletex with php Programming Web Development by pritaeas Looks like your credentials are wrong. Re: tripletex with php Programming Web Development by aswathivalsaraj $methodData = array('method'=>'Sync.login','params'=>array(7,'pwd','jason@test.no','pwd'),'id'=>1); this is the method i have used, can any one please help what all are the parameters ? Re: tripletex with php Programming Web Development by pritaeas Now I see... You cannot expect to take someone else's credentials and expect it to work. Get your own account. Re: tripletex with php Programming Web Development by shadia_1 thanks for the tips Re: tripletex with php Programming Web Development by jani5 please what is add asyncrhonous update thanks Re: API Tripletex - Can not see the cookie in response of it ? Programming Web Development by Lee_7 finally i found the problem. You neeed to use json-rpc via Curl to set cookie for it. Can not use fopen :) Re: paypal sandbox payment and return to website Programming Web Development by veedeoo … new HttpClient(); PostMethod method = new PostMethod("https://tripletex.no/JSON-RPC"); String request1 = "{\"… by post method. new PostMethod("https://tripletex.no/JSON-RPC"); Now, the fun…lets setup the target API url $url = 'https://tripletex.no/JSON-RPC'; ## define the cookie directory wher … Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi … has the link as pdf here http://tripletex.no/resources/api/tripletex-api.pdf.The and the other links …where codes are given. http://json-rpc.org/ https://tripletex.no/JSON-RPC http://json-rpc.org/wiki/implementations …where .php page will send parameters to tripletex invoice system and tripletex will send/mail invoice to respective customer/buyer… Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi … is done.I am giving in details who is integrating tripletex in web service. 1. Create your user and password in… 2. For default sync id 7 ,ask tripletex to send password and tripletex will send. 3. In the above code write like…'=>array(7,'sync pwd','your user/email in tripletex','your pwd in tripletex'),'id'=>1); Then write down the above… Re: paypal sandbox payment and return to website Programming Web Development by veedeoo …file link is dead.. To send a jason to the tripletex, the recieved response from paypal can be forwarded to …from paypal does not match the API format of the TRIPLETEX, then you can either add data to the paypal …USD'); If you need to add more data as per tripletex requirements, you can do it like this. array_push($paypal_data,'… Re: paypal sandbox payment and return to website Programming Web Development by veedeoo …;params": [";2010-01-01;10010;Tripletex;Kronprinsensgt.17;;251;Oslo;post@tripletex.no;;;;;1111;2010-03-01;Leveranseveien14;\"'Dette…} First, you can initialize the cURL to $ch = curl_init('https://tripletex.no/resources/examples/order_import_example.csv'); Then you define your CVS… Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi Hi veedeoo , Thanks and it is done ,mail is sending within sandbox ,is successful .Now ,an another issue within is ,after payment ,the page will go to invoicing site tripletex.no to generate invoice to the seller/buyer. What are the steps to generate invoice from tripletex.no to seller/buyer and return to website ? Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi Hi veedeoo, Thanks for the response.link is not dead ,there was mismatch of url . Now what I have given is correct and opening . http://tripletex.no/resources/api/tripletex-api.pdf Thanks, Subrata Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi Dear Veedeoo , Your code helped me a lot to proceed integration of tripletex and done . Tripletex is sending mail from my website and my task done. Thanks again veedeoo. Thanks Re: paypal sandbox payment and return to website Programming Web Development by veedeoo Hi, Do you have the basic tripletex basic syntax recommendation? I mean , how to handle or port … Re: paypal sandbox payment and return to website Programming Web Development by subrata_ushasi Dear Vedeoo , I understood that you are very busy reading text books ,but after too much struggle I was failure to retrieve csv file . When I send some information to tripletex this will return and mail invoice in csv/pdf format which is not executing . very urgent I will have to submit the project at the earliest. Thanks Subrata