Thread: Payment Module

Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Feb 2009
    Location
    Bangalore India
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Module

    Can you advice me how to go about, following mail received from our webhosting company

    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.

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

    Default Re: Payment Module

    Do exactly what they said.
    In your main Zen Cart folder, where the main index.php file is (you'll see the ipn_main_handler.php file and the includes folder there, and many others) add a new text file, named php.ini and put the setting they suggested in it (skip the part in brackets).
    .

    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.

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

    Default Re: Payment Module

    I have uploaded php.ini in the folder that you have advised as follows and tried different settings of 12M, 16M, 24M but the error persists.

    PHP.INI file as follows:
    [PHP]

    memory_limit = 24M

    Pls advice if I am doing ok

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

    Default Re: Payment Module

    That is probably fine.

    However, since your hosting company "knows" how they configured your server to work, it would be best to consult with them specifically on the topic.
    .

    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.

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

    Default Re: Payment Module

    Our hosting company tried various ways to include a php.ini file with different values and tried at different folder, the ERROR still continues.

    They have now sent me following email which I need your help in replying to them.

    QUOTE:
    Please note that the PHP Memory Limit set on the Linux Virtual Hosting Servers is 40 MB. This limit cannot be raised as you are currently in a Virtual Hosting Environment and any change in the settings on the Server will affect all packages hosted on it.

    Therefore I would request you to please check the Memory that this Application requires
    UNQUOTE

    Thanks in advance,
    Tom.

  6. #26
    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.

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

    Default Re: Payment Module

    You're saying this is happening only when displaying your payment modules in the admin.
    Since the admin isn't doing anything intensely complicated with actually processing any transactions when showing that list, I suppose one way to get around your server's memory problem could be to deactivate other payment modules which you're not using, thus leaving some memory available for other modules which you *are* using.
    So, based on the list you gave near the beginning of this discussion, I'd suggest you go into the settings (click "edit") for the "Credit Card - Offline Processing" module, and click the "Remove" button. Same with the Check/MoneyOrder module.
    That might give you a tad more room until your hosting company can make its custom memory configuration actually work for you.
    .

    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.

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

    Default Re: Payment Module

    From the beginning, have installed and using only 2 payment modules - paypal and check/money order.

    Have forwarded your reply to our webhosting and awaiting their response.

    Thanks
    Tom

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

    Default Re: Payment Module

    Quote Originally Posted by support2 View Post
    From the beginning, have installed and using only 2 payment modules - paypal and check/money order.
    From one of your earlier posts, you said the following, which shows the "Credit Card - Offline Processing" module enabled, in addition to some others. I've highlighted the ones which show as enabled:
    Quote Originally Posted by support2 View Post
    -------------------------
    Payment Modules

    Modules
    Authorize.net (SIM) authorizenet
    Authorize.net (AIM) authorizenet_aim
    Authorize.net - eCheck authorizenet_echeck
    Credit Card - Offline Processing cc 0 default
    Cash on Delivery cod
    The Zen Cart FREE CHARGE CARD freecharger 0 default
    Linkpoint/YourPay API linkpoint_api
    Check/Money Order (not configured - needs pay-to) moneyorder 0 default
    Nochex APC nochex_apc
    PayPal IPN - Website Payments Standard PayPal
    PayPal Website Payments Pro
    .

    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.

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

    Default Re: Payment Module

    Dear Dr. Byte,

    I have removed all unused modules, only the paypal and check is operational.

    My hosting co is still trying to fix the problem.

    As the problem is only at admin, can we put the site on to process orders.

    Best Regards,
    Tom.

 

 
Page 3 of 3 FirstFirst 123

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