Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shichemt

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Posts posted by shichemt

  1. On 2/17/2019 at 6:21 AM, j0ec00l2k said:

     

    ....

    tep_mail function only has 4 arguments (unless it is modified), and the line of code below is only for debug if there's any issues with a transaction.

    STORE_OWNER/STORE_OWNER_EMAIL_ADDRESS are not defined in your system.

    Therefore, change  :

    tep_mail(STORE_OWNER,  STORE_OWNER_EMAIL_ADDRESS, "Square Debug Error", "Square has encountered some errors:\n\n".var_export($e, true)."n\n\n". "Customer ID: ".$customer_id . "r\n\r\n\r\n".var_export($order, true));

    to

    tep_mail("STORE_OWNER", "[email protected]", "Square Debug Error", "Square has encountered some errors:\n\n".var_export($e, true)."n\n\n". "Customer ID: ".$customer_id . "r\n\r\n\r\n".var_export($order, true));

    and let us know if the issue was resolved.

     

     

    ** EDIT: if the issue is not resolved, can you pastebin your tep_mail function? Thank you.

  2. On 2/4/2019 at 12:44 PM, Cory_C said:

    We use Sucuri for malware prevention on our website.  I have been back in forth with them and our site host as this is most likely because of the Sucuri firewall protection where the requests I receive at the hosting server is from firewall range of IP's (USER -->>> FIREWALL -->>> SERVER).

    Sucuri support is asking me:   "Have you checked with the module developer yet to see if they are familiar with working with reverse proxy systems in regards to seeing the correct user IP address?"

    That's a really good question you can ask to Square because I only brought their payment gateway to osCommerce. AFAIK, the IP address that submits the order is what it gets submitted to the order page in the admin side, but I am not sure how Square handles that from their side.

×
×
  • Create New...