Jump to content
Latest News: (loading..)

shichemt

Members
  • Content count

    6
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. shichemt

    Square Payments Plugin for osCommerce

    nonce should be set through Square JS. Make sure that you've added the <script> tag in template_bottom.php and you're placing the order through HTTPS.
  2. shichemt

    Square Payments Plugin for osCommerce

    Unfortunately PHP 5.2 and below are not supported as namespaces are being used in this plug-in and those versions do not support that. Please try upgrading to PHP 5.3 or later, and let us know if the issue was resolved.
  3. shichemt

    Square Payments Plugin for osCommerce

    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", "youremail@yourdomain.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)); 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.
  4. shichemt

    Square Payments Plugin for osCommerce

    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.
  5. shichemt

    Square Payments Plugin for osCommerce

    Let me know what you've done so far, and/or DM me a screenshot of the issue that you're encountering.
  6. This add-on will allow to accept Visa, MasterCard, American Express, Discover, JCB, or UnionPay credit cards via Square Payment Gateway on your osCommerce website. Link to the contribution Please post any bugs, problems and suggestions about Square Payments Plugin for osCommerce in this topic. I will do my best to provide support.
×