#1 (permalink)  
Alt 24.03.2009, 10:45
xt:Commerce Support Kunde
 
Registriert seit: 05.01.2007
Beiträge: 19
Ausrufezeichen PayPalExpress Problem nach Moneybookers Installation?

Hallöle!

Habe ein BigProblem:

Nach der Installation (ging prima und komplikationslos) vom Moneybookers IFrame Modul 2.4 klappt die Zahlung mit PayPalExpress nicht mehr. Der Kunde wird nach dem autorisieren bei PayPal jetzt auf die Lieferadressseite des Shops weitergeleitet, kann die Bestellung fehlerlos abschliessen und die Bezahlung bei PayPal findet nicht statt. Davon sieht der Kunder allerdings nichts keinerlei Fehlermeldungen.
Beim Chcken des Shops fiel mir dann auf, das in der Konfiguration bei XTc:Partner Paypal verschwunden ist ?!?

Was ist denn da passiert?!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 24.03.2009, 12:45
xt:Commerce Support Kunde
 
Registriert seit: 09.04.2008
Beiträge: 412
Standard

Ich könnte mir vorstellen, dass Moneybookers die configuration_group 25 benutzt hat, die aber schon von PayPal belegt ist/war.

Viele Grüße - Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 24.03.2009, 16:18
xt:Commerce Support Kunde
 
Registriert seit: 05.01.2007
Beiträge: 19
Standard

Zitat:
Ich könnte mir vorstellen, dass Moneybookers die configuration_group 25 benutzt hat, die aber schon von PayPal belegt ist/war.
In der configuration_group 25 steht aber PayPal eingetragen. Den Zusammenhang verstehe ich nicht?

Cord
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 24.03.2009, 17:14
xt:Commerce Support Kunde
 
Registriert seit: 09.04.2008
Beiträge: 412
Standard

Zitat:
Zitat von larynx42 Beitrag anzeigen
Beim Chcken des Shops fiel mir dann auf, das in der Konfiguration bei XTc:Partner Paypal verschwunden ist ?!?
Hallo Cord,
ich suchte eine Erklärung für Dein o.g. Problem.
Abgesehen davon ist mir beim Einbau des PP Express Moduls dies einmal passiert, das die Group 25 bereits belegt war.
Viele Grüße - Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 24.03.2009, 17:18
Benutzerbild von mzanier
xt:Commerce GmbH, Geschäftsführung
 
Registriert seit: 18.04.2003
Beiträge: 27.382
Standard

payment klasse überschrieben anstatt angepasst zu haben ?
__________________
xt:Commerce Helpdesk
xt:Commerce Blog

xt:Commerce Warenwirtschaft

###

Offene Stellen bei xt:Commerce!
xt:Commerce stellt ein
###
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 24.03.2009, 20:36
xt:Commerce Support Kunde
 
Registriert seit: 05.01.2007
Beiträge: 19
Frage

Hallo Herr Zanier!

Zitat:
payment klasse überschrieben anstatt angepasst zu haben ?
Ich habe das nach der Anleitung "Moneybookers Integration bei XTC" gemacht. Da steht nix von Anpassen von Zahlungsklassen o.ä.

Wo sollte ich denn da was angepasst haben?

Cord Moeller
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 14.05.2009, 12:20
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

Hallo larynx42

es liegt einfach daran, dass die Installationsbeschreibung mangelhaft ist. Dort steht, dass die "überschreiben Sie die Datei admin/configure.php und includes/classes/payment.php wenn Sie danach gefragt werden".
Dies ist natürlich Unsinn, da man damit genau z.B. Paypal oder auch x-check rausschmeisst. Der Fehler liegt in der admin/configure.php
Ich habe die mal überarbeitet, so dass Paypal wieder in der Rubrick Xt-Partner auftaucht:
PHP-Code:
<?php
/* --------------------------------------------------------------
   $Id: configuration.php 229 2007-03-06 19:46:21Z mzanier $

   XT-Commerce - community made shopping
   http://www.xt-commerce.com

   Copyright (c) 2003 XT-Commerce
   --------------------------------------------------------------
   based on:
   (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
   (c) 2002-2003 osCommerce(configuration.php,v 1.40 2002/12/29); www.oscommerce.com
   (c) 2003     nextcommerce (configuration.php,v 1.16 2003/08/19); www.nextcommerce.org

   Released under the GNU General Public License
   --------------------------------------------------------------*/

  
require('includes/application_top.php');

if (
$_GET['action']) {
    switch (
$_GET['action']) {
      case 
'save':

          if (
$_GET['gID']=='31') {

                
// email check
                
if (isset($_POST['_PAYMENT_MONEYBOOKERS_EMAILID'])) {
                     
                    
$url 'https://www.moneybookers.com/app/email_check.pl?email='.$_POST['_PAYMENT_MONEYBOOKERS_EMAILID'].'&cust_id=8644877&password=1a28e429ac2fcd036aa7d789ebbfb3b0';
                     
                    
$ch curl_init();
                    
curl_setopt($chCURLOPT_URL$url);
                    
curl_setopt($chCURLOPT_RETURNTRANSFER1);
                    
curl_setopt($chCURLOPT_HEADER0);
                    
curl_setopt($chCURLOPT_TIMEOUT30);
                    
curl_setopt($chCURLOPT_SSL_VERIFYPEER0);

                    
$result curl_exec($ch);
                    if (
$result=='NOK') {
                        
$messageStack->add_session(MB_ERROR_NO_MERCHANT'error');
                    }
                        
                    if (
strstr($result,'OK,')) {
                        
$data explode(',',$result);
                        
$_POST['_PAYMENT_MONEYBOOKERS_MERCHANTID'] = $data[1];
                        
$messageStack->add_session(sprintf(MB_MERCHANT_OK,$data[1]), 'success');
                    }
                }
            }

        
            
$configuration_query xtc_db_query("select configuration_key,configuration_id, configuration_value, use_function,set_function from " TABLE_CONFIGURATION " where configuration_group_id = '" . (int)$_GET['gID'] . "' order by sort_order");

              while (
$configuration xtc_db_fetch_array($configuration_query))
            
xtc_db_query("UPDATE ".TABLE_CONFIGURATION." SET configuration_value='".$_POST[$configuration['configuration_key']]."' where configuration_key='".$configuration['configuration_key']."'");

            
xtc_redirect(FILENAME_CONFIGURATION'?gID=' . (int)$_GET['gID']);
            break;

    }
}
$cfg_group_query xtc_db_query("select configuration_group_title from " TABLE_CONFIGURATION_GROUP " where configuration_group_id = '" . (int)$_GET['gID'] . "'");
$cfg_group xtc_db_fetch_array($cfg_group_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS?>>
<head>
<meta http-equiv="Content-Type" 
content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
<title><?php echo TITLE?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script type="text/javascript" src="includes/general.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" 
leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<!-- header //-->
<?php require(DIR_WS_INCLUDES 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
  <tr>
    <td class="columnLeft2" width="<?php echo BOX_WIDTH?>" valign="top">
    <table border="0" width="<?php echo BOX_WIDTH?>" cellspacing="1" 
        cellpadding="1" class="columnLeft">
        <!-- left_navigation //-->
        <?php require(DIR_WS_INCLUDES 'column_left.php'); ?>
        <!-- left_navigation_eof //-->
    </table>
    </td>
    <!-- body_text //-->
    <td class="boxCenter" width="100%" valign="top">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td>
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="80" rowspan="2"><?php echo xtc_image(DIR_WS_ICONS.'heading_configuration.gif'); ?></td>
            <td class="pageHeading"><?php echo $cfg_group['configuration_group_title']; ?></td>
          </tr>
          <tr>
            <td class="main" valign="top">xt:Commerce Configuration</td>
          </tr>
        </table> 
        </td>
      </tr>
      <tr>
        <td style="border-top: 3px solid; border-color: #cccccc;" 
            class="main">
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
         <?php
             
switch ($_GET['gID']) {
                 case 
21:
                    echo 
AFTERBUY_URL;
                case 
31:
                 case 
19:
                case 
25:
                    echo 
'<table class="infoBoxHeading" width="100%">
                            <tr>
                            <td width="150" align="center">
                            <a href="'
.xtc_href_link(FILENAME_CONFIGURATION'gID=31''NONSSL').'">Moneybookers.com</a>
                            </td>
                            <td width="1">|
                            </td>
                            <td width="150" align="center">
                            <a href="'
.xtc_href_link(FILENAME_CONFIGURATION'gID=21''NONSSL').'">Afterbuy</a>
                            </td>
                            <td width="1">|
                            </td>
                            <td width="150" align="center">
                            <a href="'
.xtc_href_link(FILENAME_CONFIGURATION'gID=19''NONSSL').'">Google Conversion</a>
                            </td>
                            <td width="1">|
                            </td><td width="150" align="center">
                            <a href="'
.xtc_href_link(FILENAME_CONFIGURATION'gID=24''NONSSL').'">x-check</a>
                             </td>
                            <td width="1">|
                            </td>
                            <td width="150" align="center">
                            <a href="'
.xtc_href_link(FILENAME_CONFIGURATION'gID=25''NONSSL').'">Paypal</a>
                            </td>
                            <td width="1">|
                            </td>
                            <td>
                            </td>
                            </tr>
                            </table>'
;
                if (
$_GET['gID']=='31') echo MB_INFO;
                     break;
             }
             
?>
                <tr>
                    <td valign="top" align="right"><?php echo xtc_draw_form('configuration'FILENAME_CONFIGURATION'gID=' . (int)$_GET['gID'] . '&action=save'); ?>
                    <table width="100%"  border="0" cellspacing="0" cellpadding="4">
                    <?php
                      $configuration_query 
xtc_db_query("select configuration_key,configuration_id, configuration_value, use_function,set_function from " TABLE_CONFIGURATION " where configuration_group_id = '" . (int)$_GET['gID'] . "' order by sort_order");

                      while (
$configuration xtc_db_fetch_array($configuration_query)) {
                        if (
$_GET['gID'] == 6) {
                              switch (
$configuration['configuration_key']) {
                                case 
'MODULE_PAYMENT_INSTALLED':
                                      if (
$configuration['configuration_value'] != '') {
                                            
$payment_installed explode(';'$configuration['configuration_value']);
                                        for (
$i 0$n sizeof($payment_installed); $i $n$i++) {
                                              include(
DIR_FS_CATALOG_LANGUAGES $language '/modules/payment/' $payment_installed[$i]);
                                        }
                              }
                              break;

                    case 
'MODULE_SHIPPING_INSTALLED':
                          if (
$configuration['configuration_value'] != '') {
                            
$shipping_installed explode(';'$configuration['configuration_value']);
                                for (
$i 0$n sizeof($shipping_installed); $i $n$i++) {
                                  include(
DIR_FS_CATALOG_LANGUAGES $language '/modules/shipping/' $shipping_installed[$i]);
                            }
                          }
                          break;

                    case 
'MODULE_ORDER_TOTAL_INSTALLED':
                          if (
$configuration['configuration_value'] != '') {
                        
$ot_installed explode(';'$configuration['configuration_value']);
                            for (
$i 0$n sizeof($ot_installed); $i $n$i++) {
                              include(
DIR_FS_CATALOG_LANGUAGES $language '/modules/order_total/' $ot_installed[$i]);
                        }
                      }
                      break;
      }
    }
    if (
xtc_not_null($configuration['use_function'])) {
      
$use_function $configuration['use_function'];
      if (
ereg('->'$use_function)) {
        
$class_method explode('->'$use_function);
        if (!
is_object(${$class_method[0]})) {
          include(
DIR_WS_CLASSES $class_method[0] . '.php');
          ${
$class_method[0]} = new $class_method[0]();
        }
        
$cfgValue xtc_call_function($class_method[1], $configuration['configuration_value'], ${$class_method[0]});
      } else {
        
$cfgValue xtc_call_function($use_function$configuration['configuration_value']);
      }
    } else {
      
$cfgValue $configuration['configuration_value'];
    }

    if (((!
$_GET['cID']) || (@$_GET['cID'] == $configuration['configuration_id'])) && (!$cInfo) && (substr($_GET['action'], 03) != 'new')) {
      
$cfg_extra_query xtc_db_query("select configuration_key,configuration_value, date_added, last_modified, use_function, set_function from " TABLE_CONFIGURATION " where configuration_id = '" $configuration['configuration_id'] . "'");
      
$cfg_extra xtc_db_fetch_array($cfg_extra_query);

      
$cInfo_array xtc_array_merge($configuration$cfg_extra);
      
$cInfo = new objectInfo($cInfo_array);
    }
    if (
$configuration['set_function']) {
        eval(
'$value_field = ' $configuration['set_function'] . '"' htmlspecialchars($configuration['configuration_value']) . '");');
      } else {
        
$value_field xtc_draw_input_field($configuration['configuration_key'], $configuration['configuration_value'],'size=40');
      }
   
// add

   
if (strstr($value_field,'configuration_value')) $value_field=str_replace('configuration_value',$configuration['configuration_key'],$value_field);
   echo 
'
<tr>
    <td width="300" valign="top" class="dataTableContent"><b>'
.constant(strtoupper($configuration['configuration_key'].'_TITLE')).'</b></td>
    <td valign="top" class="dataTableContent">
    <table width="100%"  border="0" cellspacing="0" cellpadding="2">
      <tr>
        <td style="background-color:#FCF2CF ; border: 1px solid; border-color: #CCCCCC;" class="dataTableContent">'
.$value_field.'</td>
      </tr>
    </table>
    <br />'
.constant(strtoupper$configuration['configuration_key'].'_DESC')).'</td>
  </tr>
  '
;

  }
?>
            </table>
<?php echo '<input type="submit" class="button" onClick="this.blur();" value="' BUTTON_SAVE '"/>'?></form>
            </td>

          </tr>
        </table></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES 'footer.php'); ?>
<!-- footer_eof //-->
<br />
</body>
</html>
<?php require(DIR_WS_INCLUDES 'application_bottom.php'); ?>
Hoffe es hilft auch dem Support, der mal seine Anleitung überprüfen sollte
Grüße
Vio
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 14.05.2009, 12:34
Benutzerbild von mzanier
xt:Commerce GmbH, Geschäftsführung
 
Registriert seit: 18.04.2003
Beiträge: 27.382
Standard

Natürlich gilt die Anleitung nur wenn man Originale Shopdatein hat, wenn man die Datein bereits selbst angepasst hat, ist es logisch das man die änderungen selbst einpflegen muss.
__________________
xt:Commerce Helpdesk
xt:Commerce Blog

xt:Commerce Warenwirtschaft

###

Offene Stellen bei xt:Commerce!
xt:Commerce stellt ein
###
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 14.05.2009, 13:13
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

Zitat:
Zitat von mzanier Beitrag anzeigen
Natürlich gilt die Anleitung nur wenn man Originale Shopdatein hat, wenn man die Datein bereits selbst angepasst hat, ist es logisch das man die änderungen selbst einpflegen muss.
Ein Hinweis wäre aber zumindest angebracht oder?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 04.06.2009, 07:24
Benutzer
 
Registriert seit: 21.11.2008
Beiträge: 56
Standard Danke!!!!!

Hallo Vio,
vielen Dank für die geänderte configuration.php.
... Nun kann ich endlich Paypal konfigurieren.


LG, Ines
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
installation, moneybookers, paypalexpress, problem

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Problem: Error Number:81117 nach Installation robatzen PayPal Express-Kaufabwicklung für xt:Commerce 1 03.06.2008 23:37
Installation - User Konfiguration (komme nicht weiter - Problem ! ) Winter Installation und Konfiguration 8 16.08.2007 14:15


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:17 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand