PayPal and now manual payments not working

Discussion in 'Troubleshooting' started by iandavidson2, Mar 24, 2013.

  1. iandavidson2

    iandavidson2 New Member

    Joined:
    Jan 5, 2013
    Messages:
    5
    I happened to come across the fact that someone had paid for some bits and pieces but that the invoice piece was missing (Looks like an invalid IPN post - no Invoice# passed) and so the transaction isn't registering.
    The manual workaround for this was to add the payment/invoice manually BUT that isn't working now either!!! Eeek!

    The error in the logs is

    DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead

    If I go into the users details and attempt to manually set an invoice or payment I get the error:


    An Error has occured
    An internal error happened in the script, please contact webmaster for details

    I'm not confident that payments are going through.

    Please help!

    Ian
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Add this to the top of /amember/application/configs/config.php :
    <?php date_default_timezone_set('UTC');?>

Share This Page