Problem: Setting Feedback with the Api

  • sammlerkalle

    881 messaggi

    Germania

    There is a problem writing a comment on the feedback with the Api. I have not changed anything, but since May, all comments only display "1" as text. Since I also see this with other sellers, the problem is obviously on the side of Delcampe.
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).
  • sammlerkalle

    881 messaggi

    Germania

    Hello,

    I'm using the REST-Api.

    Here is my PHP-Code, which I didn't change for years:

    $feedback_data = array(
    'ratingValue' => $feedback_percent,
    'comment' => $feedback_comment
    );

    if(!empty($token)) {
    $url = ' Link (http) ' . $delcampe_id . '/buyer/rating?token=' . $token;
    $ch = curl_init();
    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_POST, true);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($feedback_data));
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $xml_response = $this->curl($ch);

    $notification_result = simplexml_load_string($xml_response);
    // ...
    }
  • sammlerkalle

    881 messaggi

    Germania

    Hello,

    I'm using the REST-Api.

    Here is my PHP-Code, which I didn't change for years:

    $feedback_data = array(
    'ratingValue' => $feedback_percent,
    'comment' => $feedback_comment
    );

    if(!empty($token)) {
    $url = ' Link (http) ' . $delcampe_id . '/buyer/rating?token=' . $token;
    $ch = curl_init();
    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_POST, true);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($feedback_data));
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $xml_response = $this->curl($ch);

    $notification_result = simplexml_load_string($xml_response);
    // ...
    }
    • Creato 3 ago 2018 a 02:19
    • #891265
    Link is: 'http : // rest . delcampe . net / item /
    (without the spaces)
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).
  • sammlerkalle

    881 messaggi

    Germania

    This is the response:

    SimpleXMLElement Object (
    [Notification_Token] => SimpleXMLElement Object ( )
    [Notification_Datetime] => 2018-08-04 14:42:02
    [Notification_Data] => SimpleXMLElement Object (
    [Headers] => SimpleXMLElement Object (
    [Ressource] => item-rating
    [Action] => POST [Status] => 200 )
    [body] => SimpleXMLElement Object (
    [feedback] => SimpleXMLElement Object (
    [status] => Your request was taken into account! ) ) ) )
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).
  • sammlerkalle

    881 messaggi

    Germania

    - No, the value "1" does not come from my side. The value of the $feedback_comment variable is always an appropriate text.
    - Of course there are reviews from me that are from before May. Here Link (https) and on many other sites you see such reviews. They were all created with the Api, as you can see at the same feedback time 16:42.

    The error is on the side of Delcampe. It can not be found in your database, but in the program code, which apparently was changed on May 8th.

    Do you think all of these sellers changed their review text to "1" on May 8?
    Link (https) =
    Link (https) =
    Link (https) =
    Link (https) =
    ... and many more ...

    I already informed you of the mistake 7 days ago. Since then there are only questions, but nothing else happens. I ask that something finally happen now. I pay the Api with my shop fee and expect a flawless service. Many Thanks.
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).
  • Account eliminato
    Amministratore
    Account eliminato

    0 messaggi

    Belgio

    Le informazioni non sono più disponibili perché l'account di questo utente è stato eliminato (Regolamento RGPD).

Unisciti alla community di collezionisti!

Registrati Login