Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Paypal IPN Name Change in payment methods

    ok i have attached it as a DOC file let me know if that works
    Code:
    <?php
    /**
     * paypal.php payment module class for Paypal IPN payment method
     *
     * @package paymentMethod
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: paypal.php 5352 2006-12-22 21:35:58Z drbyte $
     */
    
    define('MODULE_PAYMENT_PAYPAL_TAX_OVERRIDE', 'true');
    
    if (IS_ADMIN_FLAG === true) {
      include_once(DIR_FS_CATALOG_MODULES . 'payment/paypal/paypal_functions.php');
    } else {
      include_once(DIR_WS_MODULES . 'payment/paypal/paypal_functions.php');
    }
    /**
     * paypal IPN payment method class
     *
     */
    class paypal extends base {
      /**
       * string repesenting the payment method
       *
       * @var string
       */
      var $code;
      /**
       * $title is the displayed name for this payment method
       *
       * @var string
        */
      var $title;
      /**
       * $description is a soft name for this payment method
       *
       * @var string
        */
      var $description;
      /**
       * $enabled determines whether this module shows or not... in catalog.
       *
       * @var boolean
        */
      var $enabled;
      /**
        * constructor
        *
        * @param int $paypal_ipn_id
        * @return paypal
        */
      function paypal($paypal_ipn_id = '') {
        global $order, $messageStack;
        $this->code = 'paypal';
    
    
    EDIT: * SNIP*

  2. #12
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Paypal IPN Name Change in payment methods

    EDIT: Content removed

  3. #13
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Paypal IPN Name Change in payment methods

    *EDIT: Content removed *

  4. #14
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Paypal IPN Name Change in payment methods

    ok i posted everything in 3 measages becuase i couldn't upload it in any way it was all to big

  5. #15
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Paypal IPN Name Change in payment methods

    You have mixed up the files.
    The files have the same name, but *very different* content. It seems you've loaded the main module file into both the modules folder and the languages folder.

    /includes/modules/payment/paypal.php
    vs
    /includes/languages/english/modules/payment/paypal.php

    Please re-upload the language file from original source.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Paypal IPN Name Change in payment methods

    i found it thanks it worked

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. payment methods-non-paypal
    By dstegall in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 6 Sep 2011, 01:59 AM
  2. Basic paypal IPN problem...doesn't show the item name on paypal
    By sunny747 in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 5 Jan 2008, 06:38 AM
  3. PayPal IPN vs other payment methods
    By TopHat in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 2 Mar 2007, 04:57 AM
  4. Change name of Payment methods
    By Mongadillo in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 25 Feb 2007, 06:21 PM
  5. Name change, PayPal IPN to Credit Card/PayPal
    By vandiermen in forum Addon Payment Modules
    Replies: 2
    Last Post: 25 Feb 2007, 04:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg