Problem: Setting Feedback with the Api

  • sammlerkalle

    881 messages

    Allemagne

    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.
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • sammlerkalle

    881 messages

    Allemagne

    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 = ' Lien (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 messages

    Allemagne

    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 = ' Lien (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);
    // ...
    }
    • Posté le 3 août 2018 à 02:19
    • #891265
    Link is: 'http : // rest . delcampe . net / item /
    (without the spaces)
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • sammlerkalle

    881 messages

    Allemagne

    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! ) ) ) )
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • sammlerkalle

    881 messages

    Allemagne

    - 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 Lien (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?
    Lien (https) =
    Lien (https) =
    Lien (https) =
    Lien (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.
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter