Mise à jour du profil de caissier pour la cassette pour SET - MIA avec carte d'achat (pour Windows NT, Windows 2000, AIX et Solaris sur Business Edition)

Pour utiliser le profil de caissier pour la cassette pour SET - MIA (Merchant Initiated Authorization) avec une carte d'achat, dans une base de données Oracle, procédez comme suit :

  1. Accédez au répertoire suivant :
    unité:\WebSphere\CommerceServer\instances\nom_instance\xml\payment\
    unité:\Program Files\WebSphere\CommerceServer\instances\nom_instance\xml\payment\
    /usr/WebSphere/CommerceServer/instances/nom_instance/xml/payment/
    /opt/WebSphere/CommerceServer/instances/nom_instance/xml/payment/ 
  2. Ouvrez WC51_SET_MIA_PCard.profile dans un éditeur de texte.
  3. Désactivez d'abord la section SelectStatement en ajoutant <!-- en regard de la balise d'ouverture <SelectStatement et en ajoutant --> après la première balise de fermeture </SelectStatement>. La première section devrait maintenant correspondre aux lignes ci-après :
    <!--
    <SelectStatement id="1" allowMultiples="true" >
    SELECT PARTNUMBER, SHORTDESCRIPTION, integer(QUANTITY) as INT_QUANTITY, RTRIM(QUANTITYMEASURE) as QTYMEASURE, integer(PRICE*{currency_factor}) as UNITCOST,
    integer( (TOTALPRODUCT+TAXAMOUNT+SHIPCHARGE+SHIPTAXAMOUNT+TOTALADJUSTMENT) * {facteur_devise}) as TOTALCOST
    FROM orderitems, catentry, catentship, catentdesc
    WHERE orders_id = {IDcommande}
    AND orderitems.catentry_id = catentry.catentry_id
    AND orderitems.catentry_id = catentship.catentry_id
    AND orderitems.catentry_id = catentdesc.catentry_id
    AND catentdesc.language_id = {ID_langue_acheteur}
    </SelectStatement>-->
  4. Activez la seconde section SelectStatement en supprimant <!-- en regard de la balise d'ouverture <SelectStatement et en supprimant --> après la première balise de fermeture </SelectStatement>. La seconde section devrait maintenant correspondre aux lignes ci-après :
    <SelectStatement id="1" allowMultiples="true" >
    SELECT PARTNUMBER, SHORTDESCRIPTION, round(QUANTITY) as INT_QUANTITY, RTRIM(QUANTITYMEASURE) as QTYMEASURE, round(PRICE*{facteur_devise}) as UNITCOST,
    round( (TOTALPRODUCT+TAXAMOUNT+SHIPCHARGE+SHIPTAXAMOUNT+TOTALADJUSTMENT) * {facteur_devise}) as TOTALCOST
    FROM orderitems, catentry, catentship, catentdesc
    WHERE orders_id = {IDcommande}
    AND orderitems.catentry_id = catentry.catentry_id
    AND orderitems.catentry_id = catentship.catentry_id
    AND orderitems.catentry_id = catentdesc.catentry_id
    AND catentdesc.language_id = {ID_langue_acheteur}
    </SelectStatement>
  5. Sauvegardez le fichier et fermez l'éditeur. Le caissier utilisera automatiquement le profil mis à jour.

Remarque : Il n'est pas nécessaire d'arrêter WebSphere Commerce Server pour mettre à jour le profil.

Rubriques connexes (1275 octets)

Références connexes (1292 octets)

IBM copyright