Post by vaidyamanishjoshi » Tue Apr 19, 2022 1:42 pm

In extension seller, API option is given. (image attached). I have added a link for that. But unfortunatelly, no server to server call is made when someone buy my extension on

I have simply added following code to write response in text file, but even it is also not getting any details. ( i have gone through viewtopic.php?f=110&t=219906&p=823330&h ... pi#p798744 as well as github link too.... But could not find any documentation on it. Basically opencart should create some documentation on it as opencart is getting commission charges when any sell is there... so developer should get more details about it... it is my request ofcourse...)

what I have in my script is as follows :

API Url is :

code in it is :

Code: Select all

$filename = "opencart-sell/webhook_data.txt"; // file is there in this folder
foreach($_POST as $key => $value)
    file_put_contents($filename, "$key: $value\n", FILE_APPEND);
file_put_contents($filename, "----------\n", FILE_APPEND);

///// rest code to receive $_POST values and add it in mysql database....
But even file_put_contents is also not adding any data in text file even when someone buy my extension on with order status - complete...

Where can get documentation on it ?



opencart seller api - opencart-seller-api.png (205.31 KiB) Viewed 140 times

Active Member


Tue Jun 09, 2015 2:47 am

Post by straightlight » Tue Apr 19, 2022 9:02 pm

OC version. Posted in the wrong forum section.

Dedication and passion goes to those who are able to push and merge a project.

Programmer / Opencart Tester

Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 4 guests