• Resolved amillsmcewan

    (@amillsmcewan)


    Hello Experts! Please can anyone tell me if they have encountered similar problems when trying to process membership upgrades?
    I added a “subscription upgrade” button to allow a logged in level 0 (free) user to upgrade to level 1 (paid). I am testing using a $0.01 annual subscription amount in a live PayPal account, not the sandbox. The PayPal transaction resulted in a screen saying “wait for an email before proceeding”, which I did.

    Testing showed that the member subscription level was still 0 and had not been updated to 1. The member was a free (0) member with no trial subscription period. The log showed:

    LOG ENTRY: Mon Nov 17th, 2014 @ precisely 1:45 pm UTC
    PHP v5.3.13 :: WordPress v4.0 :: s2Member v141007
    Memory 20.42 MB :: Real Memory 20.50 MB :: Peak Memory 20.50 MB :: Real Peak Memory 20.50 MB
    amillsmcewan.dot5hosting.com/findawillonline_new/?s2member_paypal_return=1&s2member_paypal_return_tra=***************************************************************************************** removed for privacy reasons****************************************
    User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
    array (
    ‘subscr_gateway’ => ‘paypal’,
    ‘s2member_log’ =>
    array (
    0 => ‘No Return-Data. Customer MUST wait for Email Confirmation.’,
    1 => ‘Note. This can sometimes happen when/if you are offering an Initial/Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only (i.e. behind-the-scene), and the Customer must wait for Email Confirmation in these cases.’,
    2 => ‘array (
    \’s2member_paypal_return\’ => \’1\’,
    \’s2member_paypal_return_tra\’ => \’***************************************************************************************** removed for privacy reasons****************************************\’,
    )’,
    3 => ‘Redirecting Customer to the Home Page (after asking Customer to check their email).’,
    ),
    ‘s2member_paypal_return_tra’ => ‘***************************************************************************************** removed for privacy reasons****************************************’,
    )

    Naturally I am cocerned that people will pay for upgrades and I will then be bombarded with emails requiring manual interventions. This seems to be a fairly fundamental issue and so I feel sure it must be something that I have done wrong myself!

    https://www.ads-software.com/plugins/s2member/

Viewing 7 replies - 1 through 7 (of 7 total)
  • That amount of memory seems awfully low. You should check with your host how much memory you have allocated to your installation. You need at least twice what this is reporting; ideally, more like three times or more.

    Thread Starter amillsmcewan

    (@amillsmcewan)

    Thank you for your comment. Interesting. A “phpinfo” command shows “memory_limit 124M 124M” so I need to figure out why only 20Mb is being reported.

    Notwithstanding this, I don’t quite follow why this would affect paypal integration.

    I don’t know whether it affects it or not, though I do know that, in general, a lack of memory can often cause processes to time out before completion.

    Thread Starter amillsmcewan

    (@amillsmcewan)

    Hi

    My hosting company confirms that the memory allocated to PHP was 124MB (now amended to 128MB) so I’m not sure why the s2Member plugin was reporting 20MB. I’m hoping an s2Member specialist can figure out what’s going wrong. Paying to upgrade from a free membership to a paid one seems like the sort of thing that loads of people must have implemented with no problems.

    Allocated to PHP perhaps, but what is allocated to WordPress? That’s not the same thing at all.

    Thread Starter amillsmcewan

    (@amillsmcewan)

    Thank you very much for the clarification! I just added a line to my wp-config file to make the memory allocated to WordPress 64MB and repeated my testing. The upgrade transactions went through fine!

    Thank you very much indeed for your prompt and helpful responses.

    Great! Thanks for reporting back!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘s2Member Subscription Modification Not Processed’ is closed to new replies.