Jump to content

j0ec00l2k

Members
  • Content count

    7
  • Joined

  • Last visited

Profile Information

  • Real Name
    joe laska

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. j0ec00l2k

    Square Payments Plugin for osCommerce

    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)); Well from what I make of it the 2 variables that its looking for Store_Owner and Store_owner_Email_Address are not defined in the general.php file So I tried this.. tep_mail(STORE_OWNER, 'My Name', STORE_OWNER_EMAIL_ADDRESS, 'myemailaddress@gmail.com', "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)); I did not get the email but it did not cause any php errors and it returned the customer to the payment page with the CC error. Anyone?
  2. j0ec00l2k

    Square Payments Plugin for osCommerce

    I temporarily commented out the tep_mail so it just displays the CC error message to the customer and does not email it. If anyone can help me get the email function working that would be great. Thanks, Joe
  3. j0ec00l2k

    Square Payments Plugin for osCommerce

    I spoke too soon. Ok, Everything works but I thought I would try a card that was valid but would get declined as its a out of money prepaid card. To see what the error message would be for a declined card. And I got a php error of: Warning: Missing argument 5 for tep_mail(), called in /home/connecto/public_html/catalog/includes/modules/payment/square.php on line 370 and defined in /home/connecto/public_html/catalog/includes/functions/general.php on line 3115Warning: Missing argument 6 for tep_mail(), called in /home/connecto/public_html/catalog/includes/modules/payment/square.php on line 370 and defined in /home/connecto/public_html/catalog/includes/functions/general.php on line 3115Warning: Cannot modify header information - headers already sent by (output started at /home/connecto/public_html/catalog/includes/functions/general.php:3115) in /home/connecto/public_html/catalog/includes/functions/general.php on line 148 Any clues what I should do??? I am no programmer but can follow PHP somewhat since I have setup my Oscommerce store 15yrs ago and have added modules that come with instructions. Thank you for your help. Joe
  4. j0ec00l2k

    Square Payments Plugin for osCommerce

    Thank you much, My install worked perfect but had 2 confirm order buttons one would post the sale through Square and the other would give php errors. I made your modifications and now have one perfectly functioning confirm order button. Thanks, Joe
×