Thread: Payment Module

Results 1 to 10 of 30

Hybrid View

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

    Default Re: Payment Module

    So, now that you deleted the 2 paypalwpp.php files, I suggest that you re-upload them again, making sure to put the language file in the language folder, and the module file in the module folder.
    .

    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.

  2. #2
    Join Date
    Feb 2009
    Location
    Bangalore India
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Module

    With the 2 files deleted, I was able to edit and insert paypal details and completed setup.

    On uploading the 2 files in the relevant directories - I do not get the remove, edit buttons - PayPal IPN - Website Payments Standard (debug mode active) shows processing with green indicator.

    The rest of the site is up - www.itsybitsy.in/itsyshop

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

    Default Re: Payment Module

    If your admin sideboxes stop displaying, it's usually a result of a PHP error in one of the depencies loading before the sidebox is generated. In the case of payment/shipping modules, that's usually a result of misplaced files or unmatched/extra files in the related folders. To track down PHP errors occurring on your site, install the debug logging tool mentioned in this FAQ, but put it in the admin side, as explained in the documentation: https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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.

  4. #4
    Join Date
    Feb 2009
    Location
    Bangalore India
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Module

    Following is the fatal error in the log

    [07-Apr-2009 07:05:43] PHP Fatal error: Out of memory (allocated 9699328) (tried to allocate 491520 bytes) in /domains/48494/web/itsyshop/includes/modules/payment/paypalwpp.php on line 2861

    Pls advice

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

    Default Re: Payment Module

    Quote Originally Posted by support2 View Post
    Following is the fatal error in the log

    [07-Apr-2009 07:05:43] PHP Fatal error: Out of memory (allocated 9699328) (tried to allocate 491520 bytes) in /domains/48494/web/itsyshop/includes/modules/payment/paypalwpp.php on line 2861
    Looks like your webserver has only a very small amount of memory available to PHP. The default setting when installing PHP for the first time is 8MB ... but server administrators who know how to configure and tune PHP will quickly upgrade that to 32MB or even 64MB by adjusting the setting in their master php.ini file. Contact your hosting company and tell them the error, and have them update their PHP config
    .

    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. #6
    Join Date
    Feb 2009
    Location
    Bangalore India
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Module

    Following message received from the webhosting, do not know how to go about it:
    This issue is related to memory allocation for PHP file execution. You can increase the memory limit using the php.ini file. Place this php.ini file in the directory which contains the php file for which you are encountering this error.

    You can add the following line in the php.ini file
    memory_limit = 12M (12M is just an example)

    You will need to experiment with the value that is right for you depending on which modules you are using.

    Our server has a maximum limit of 40M and hence you can increase the value within this limit. Kindly consult your web developer to integrate this file and the settings on the itsybitsy.in package.

  7. #7
    Join Date
    Feb 2009
    Location
    Bangalore India
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Module

    I have run phpinfo script on our website

    RESULTS

    Configuration
    PHP Core

    memory_limit 40M 40M

    Please advice

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

    Default Re: Payment Module

    Quote Originally Posted by support2 View Post
    Following is the fatal error in the log

    [07-Apr-2009 07:05:43] PHP Fatal error: Out of memory (allocated 9699328) (tried to allocate 491520 bytes) in /domains/48494/web/itsyshop/includes/modules/payment/paypalwpp.php on line 2861

    Pls advice
    That error message says that it's used approx 8-9 MB, and tried to get access to another 1/2 MB, but wasn't able to get it.

    That suggests that the server is really only giving your store access to 8MB, and not the 40 MB you've been talking about.

    So, unless the error message has changed to say that it's using and/or trying to allocate over 40 MB total, then it would seem that the problem is not with the Zen Cart script files, but rather is something amuck with your server's PHP config where whatever settings your host is giving you aren't actually taking effect.

    Any other time I've seen an "Out of memory" message such as yours, in relation to Zen Cart, it was always fixed by increasing from the default 8 MB to something higher, whether 16, 32, 64, etc.
    .

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 12 Dec 2014, 05:37 AM
  2. Replies: 47
    Last Post: 7 Jul 2013, 10:36 PM
  3. Payment does not process using PayJunction Payment module
    By David Canham in forum Addon Payment Modules
    Replies: 3
    Last Post: 20 Feb 2010, 06:20 PM
  4. Setcom Payment module not showing up on the Payment page
    By SoftDux in forum Addon Payment Modules
    Replies: 7
    Last Post: 15 Jul 2009, 01:08 PM
  5. Testing credit card payment and paypal payment module
    By pingudebian in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 20 Mar 2007, 11:18 PM

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