Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2015
    Posts
    36
    Plugin Contributions
    0

    Default 2 part ? concerning Square

    First Question:

    Is Square WebPay the only plugin allowing Onsite payments?????

    Currently using PayPal Pro for online payments in 1.5.6c and 1.5.5f.

    Need to make a change based on carts being out of date and the PayPal Pro deprecated emails they are sending me.

    I'm trying to upgrade my carts to v1.5.7d using PHP 8.0.

    Second Question:

    I'm using the Tax Cloud plugin. I don't have other mods that would impact the native checkout process.

    Tax Cloud modifications are required in the includes/modules/payment folder (paypalwwp.php,authorize_aim.php, etc) to include the Tax Cloud Sales Tax Amount and to add that sales tax amount to the Total Sales Amount before being sent to process.

    I'm going to need to modify a similar file in Square if that's what I go with.

    Should I be looking to do this in the money.php or order.php file in the includes/classes/vendors/square/connect/lib/Model/ directory?????

    I think I've narrowed it down to those 2. Apologies. I'm not fluent in PHP.


    If I'm not explaining this well, here is an example of the code that is in the authorize_aim.php file

    //TaxCloud hack for Authorize plugin
    $taxCloudTax = $_SESSION['taxcloudTaxTotal'];
    if ( isset($taxCloudTax)) {
    $old_tax = $submit_data['x_tax'];
    $submit_data['x_tax'] = round($taxCloudTax,2);
    //Update total
    $submit_data['x_amount'] = $submit_data['x_amount'] - $old_tax + $submit_data['x_tax'];
    }
    //End TaxCloud fix

    I need to do something similar within whatever payment module I select, leaning towards Square WebPay at the moment.
    Last edited by fravac; 12 Nov 2022 at 09:56 PM.

 

 

Similar Threads

  1. v156 Square Payments and strange request from Square
    By ianhg in forum General Questions
    Replies: 4
    Last Post: 14 Nov 2020, 11:14 AM
  2. Replies: 5
    Last Post: 4 Sep 2019, 05:10 PM
  3. Replies: 1
    Last Post: 2 Mar 2019, 07:12 PM
  4. Cross Referencing part number or multiple part numbers
    By seanscully in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 25 Jun 2007, 06:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR