Setup of yotpo API in website admin of e-com website

The yotpo api requires authentication through a json request and then needs to be set to send the order details to yotpo when the customers order status is changed to "shipped" order status id = 3

The yotpo documentation can be found here:

[url removed, login to view]

This is for a "general" platform as we are using oscommerce currently.

I have already created the authentication file and it works and returns the user token.

When needs to be done is:

set the oscommerce admin/[url removed, login to view] to "create an order" using the yotpo api (see section [url removed, login to view]) when the order status is changed to shipped.

The order details (email, productid, customer name etc all need to be sent to yotpo through this same api call

I attached the [url removed, login to view] page. line 76 I believe is where the order must be created.

I also have the [url removed, login to view] file I created that looks like this:


$yotpo_keys = array(

"client_id"=> "myid",

"client_secret"=> "mysecret",

"grant_type"=> "client_credentials"


$ch = curl_init( "[url removed, login to view]" );

# Setup request to send json via POST.

$payload = json_encode( $yotpo_keys );

curl_setopt( $ch, CURLOPT_POSTFIELDS, $payload );

curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));

# Return response instead of printing.

curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );

# Send request.

$result = curl_exec($ch);


# Print response.

$yotpo_token_array = json_decode($result, true);

echo $yotpo_token_array[access_token];


The access token is echo'd at the end of that file but needs to be brought into the request on the orders page.

Habilidades: JSON, PHP

Veja mais: top indian e com website devloper, cheap e com website developers mumbai, api myspace com sign, need com website, setup online radio station website, setup live streaming video website, php admin database setup, setup ftp upload area website, com website, google api real estate website, use google api real estate website, need setup mail server mails website, setup program using com, api pull number website, api ebay com getitem

Acerca do Empregador:
( 17 comentários ) laval, Canada

ID do Projeto: #14062393

Concedido a:


Hi, I have more than 8 years experience in Oscommerce. I have checked Yotpo API and your [login to view URL] file. i can help you to do this job today. Thanks

$45 USD em 1 dia
(295 Comentários)

7 freelancers estão ofertando em média $150 para esse trabalho


Hi Let's clarify the requirement in details also if you want us to share our previous work let us [login to view URL] have a few questions about your project, please send us message so that we can discuss more. Thanks & regar Mais

$250 USD in 10 dias
(123 Comentários)

Hello, I want to show you all relevant Demo and Designs which is similar to your project completed previously. To make sure about the requirement set and customizations, I want to discuss this project with you further Mais

$555 USD in 10 dias
(9 Comentários)

Hi, Hope you doing good? I am experienced PHP developer having expertise in e-commerce domain using Zen Cart, Wordpress, Codeigniter, OsCommerce, CreLoaded, MVC framework, Prestashop, Opencart, HTML5, Bootstrap, Mais

$70 USD em 1 dia
(46 Comentários)

Hello , Warm Greetings If looking for a good experienced web developer, then your are on right place. Development is my skill & passion. I am having more that 9 years experienced in web development of corpor Mais

$20 USD em 1 dia
(23 Comentários)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have c Mais

$28 USD in 6 dias
(1 Comentário)

Hi,can i help you?I am a web designer and web program .. i have been doing web projects for several times, entrust your project to me, i will finish it in quick time and accordingly ... please see my reviews there to s Mais

$30 USD in 2 dias
(4 Comentários)

I am 6+ years experienced PHP developer, I am able to work in Core PHP, PHP MVC Frameworks, PHP based CMS like wordpress , durpal7/drupal8 etc. and PHP Based Shop fronts. So i will be able to take a look and sort out y Mais

$77 USD in 3 dias
(0 Comentários)