Jump to content

ReverseEMF

REGISTERED
  • Content Count

    10
  • Joined

  • Last visited

Posts posted by ReverseEMF

  1. With the help of the excellent JROX support team I was able to resolve this issue. This was happening because, in the JAM integration code [which I completely forgot about], I was sending the total amount [purchase total + tax + shipping], rather than just the purchase total [or subtotal].


    This is the proper way to do it:

                $amount          = $keyarray['payment_gross'];
                $tax             = $keyarray['tax'];
                $shipping        = $keyarray['mc_shipping'] + $keyarray['mc_handling'];
                $subtotal        = $amount - $tax - $shipping;
    
                // ============================================================================
                // ====================    Affiliate Notification     =========================
                // ================   JROX.com JAM Affiliate Software   =======================
                // ============================================================================
        
                $curl = curl_init();
    
                curl_setopt_array($curl, array(      
                     CURLOPT_RETURNTRANSFER => 1,      
                     CURLOPT_URL => 'http://www.domain.com/affiliates/sale/amount/' . 
                         $subtotal . '/trans_id/' .   // This is where I made my mistake!  Previously I placed $amount here.
                         $tx_token . '/tracking_code/' .
                          $_COOKIE['jamcom'],
                     CURLOPT_USERAGENT => 'Affiliate Software Tracking Request'  ,
                )); 
    
                $resp = curl_exec($curl);  
                curl_close($curl);
    

     

    I was sending the 'payment_gross'!

  2. I noticed that under System Settings the Debug Mode was set to Development. Changing it to Production made the errors go away and now I get the happy "database backed up successfully" message.


    But, new problem: when I FTP into the Directory set in the Directory Path For Backups field, I find no file! This is true on both sites.


    And, isn't "777" a rather un-secure permissions setting? I mean, that basically allows the "public" to go in there and muck about, right? In fact, on the Host I'm using, I get Internal Server errors if the directorys are set to anything but 755.

  3. Is there a way to exclude the shipping [and sales tax] amounts from the Commission calculation when using the PayPal shopping cart? On our site we are using the Add To Cart PayPal button. Clicking this button takes one to the PayPal shopping cart, where a Checkout With PayPal button is offered. Clicking this button leads to a sale and to a commission calculation. But, the final total amount is used in the calculation, rather than the subtotal, before shipping and tax. Is there a way to fix this?

  4. On a fairly new install [couple of months ago] I tried initating a Database Backup by pressing the "Back Up" now button and the following errors were displayed:

     

    	
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: rsort() expects parameter 1 to be array, boolean given
    
    Filename: models/backup_model.php
    
    Line Number: 0
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: exec() has been disabled for security reasons
    
    Filename: models/backup_model.php
    
    Line Number: 0
    
    

     

    Then below that:

    db_ricedkpp_affil_1460032750-Apr-07-2016_12:39:10.sql database backed up successfully


    Yet when I take a peek [using Filezilla] in the directory I set up for Database backups, nothing is there!


    The database, set up a couple of months ago, seems to be correctly configured, because other things work [e.g. commission set up, affiliates successfully added, sales recorded and commissions calculated].


    I, today, installed JROX Affiliate Manager software on a different website, and I was able to make this work, there [no errors reported and the backup file exists where expected {according to Filezila}]. As far as I can tell, everything is set up the same -- file permissions the same, directory name/location the same, same web host, same kind of server/hosting package.


    Any thoughts?

  5. In the Affiliate Manager, on the Data Export page, I clicked the Start Export button and then loaded the file into a spreadsheet program [OpenOffice Calc]. It listed 2 Affiliate Members, yet when I view the Members/Manage Members page, 3 Affiliates are listed [all Active]. Thus, one member is missing from the Export. Don't know if this is related, but the two members that are included in the Export, are the same members that populate the first row on the Manage Members page.


    Any ideas anybody?

  6. I entered the license code [DASHBOARD/LICENSE/VIEW/License Key] and then hit the Save Changes button and no fanfare or wagging finger or anything to indicate success or failure! How can I verify that the License Key was accepted or rejected [i.e. that JAM is actually unlocked]?


    I suggest you add validation to the License Key entry widget -- maybe an Apply button with accept or reject feedback [perhaps AJAX communication with server side validation].

×
×
  • Create New...