Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Paypal IPN Name Change in payment methods

Paypal IPN Name Change in payment methods

Locked

Views: 3,902

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
2 Mar 2007, 1:24 AM
#1
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Paypal IPN Name Change in payment methods

Ok i want to Change the Name on the website under Payment Methods because we are getting alot of people asking what is Paypal IPN and they don't know how to pay for there items... How can i go about changeing that name that appears on the website in the checkout process under payment methods.,..

https://www.AD-DiscountPerformance.com

2 Mar 2007, 1:43 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Paypal IPN Name Change in payment methods

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

2 Mar 2007, 6:48 PM
#3
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

ok i went in that file and looked at it but it didn't see what i would change to change the name that apears on the website where would that be... Im not that great with PHP sorry

2 Mar 2007, 8:52 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal IPN Name Change in payment methods

  define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal IPN');
```Change as desired.
2 Mar 2007, 10:44 PM
#5
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

i can't seem to find that in my File should i add it and if so where at??

2 Mar 2007, 10:55 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal IPN Name Change in payment methods

You must be using an older version of Zen Cart.

What version are you using?

Please post the contents of the file mentioned above.

2 Mar 2007, 11:00 PM
#7
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

no we are useing the 1.3.7 V just updateing Yesterday

2 Mar 2007, 11:28 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal IPN Name Change in payment methods

Chances are you missed upgrading that particular file and need to re-upload the v1.3.7 edition of the file to your site.

2 Mar 2007, 11:43 PM
#9
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

ok i updated that file again and it didn't seem to matter what line is it on in that file??

2 Mar 2007, 11:56 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal IPN Name Change in payment methods

  1. Please post the contents of the file you have on your server:
    /includes/languages/english/modules/payment/paypal.php

  2. Be sure your FTP program hasn't failed to upload due to a timeout or permissions problem on that file.

5 Mar 2007, 5:17 PM
#11
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

ok i have attached it as a DOC file let me know if that works

<?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 [url]http://www.zen-cart.com/license/2_0.txt[/url] 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';


[I]EDIT: * SNIP*[/I]
5 Mar 2007, 5:18 PM
#12
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

*EDIT: Content removed *

5 Mar 2007, 5:18 PM
#13
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

**EDIT: Content removed **

5 Mar 2007, 5:19 PM
#14
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

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 Mar 2007, 7:57 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

5 Mar 2007, 8:07 PM
#16
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Paypal IPN Name Change in payment methods

i found it thanks it worked