Jump to content
xt:Commerce Community Forum

API SetCustomer


Recommended Posts

Hallo, vielleicht kann mir jemand bei diesem Problem helfen:
ich setze folgendes JSON an den Shop ab:

{"function":"setCustomer","paras":{"user": "demo-api","pass": "xxxxxx","Item":{"shop_id":"1","customers_cid":"D00050","external_id":"D00050","campaign_id":"0","gender":"c","lastname":"Mustermann","firstname":"Max","dob":"1975-8-16","mail":[email protected],"phone":"1234567890","fax":" ","company":"mustermann gmbh ","company_2":"","company_3":"","street_address":"Irgendwo 22","postcode":"123456 ","city":"Musterhausen","country_code":"DE","vat_id":"","group":1,"customers_status":1,"password":""}}}

Als Rückmeldung bekomme ich eine Shop Fehlerseite:
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns=http://www.w3.org/1999/xhtml> <head> <title>Onlineshop</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css"> body { background-color: #f5ecbe; height: 100%; } html { height: 100%; } </style> </head> <body style="margin:0"> <table width="100%" style="height:100%; font-family: Helvetica, sans-serif" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <table style="border: 3px solid #999999; padding:15px; background-color: #e8e8e8; max-width:600px" border="0" cellspacing="0" cellpadding="4"> <tr> <td width="600" style=""> <strong>Liebe Kundin, lieber Kunde.</strong><br/> <br/> Leider ist ein Fehler beim Aufruf unserer Webseite aufgetreten.<br/> Bitte versuchen Sie es sp&auml;ter noch einmal.<br/> Vielen Dank f&uuml;r Ihr Verst&auml;ndnis - wir freuen uns auf Ihren n&auml;chsten Besuch.<br/> <br/> Sollte das Problem weiterhin bestehen, wenden Sie sich bitte an unseren Kundenservice.<br/><br/> <strong>Dear customer.</strong><br/> <br/> Unfortunately an error occured when calling our website.<br/> Please try again later.<br/> Thank you for your understanding - we look forward to your next visit.<br/> <br/> If the problem persists, please contact our customer service.<br/> </td> </tr> <tr> <td style="">&nbsp;</td> </tr> <tr> <td style="font-size: 0.8em">DB-Error, check log for details </td> </tr> </table> </td> </tr> </table> </body> </html>

 

Andere Funktionen funktionieren einwandfrei.

Danke im Voraus,

Joachim Schäffer

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
  • Create New...