Forum Replies Created
-
AuthorPosts
-
amin007Participant
Hmmm… what version of the plugin are you using?
amin007ParticipantLooks like you have modified the plugin and there are some mistakes in your code. I have no way of supporting a plugin when customers modify the code because I don’t know what has been changed. Just by looking at the URL (when I click the checkout button) I can see the following:
I noticed “WP_PLUGIN_URL” in the URL which is completely wrong! Please take a look at your code and try to find out what modifications went wrong.
amin007ParticipantI will get back to you after I take a look at the code
December 19, 2009 at 11:44 pm in reply to: Integration with the Your members membership plugin #16869amin007ParticipantHi Frank, looks like they have WordPress hooks available so an integration should be possible through the hooks. Can you please find out the documentation for the available hooks so I can take a look at it?
PS. it’s easier to integrate with another wordpress plugin when hooks are available.
amin007ParticipantThe following bit of code that you are putting is on the “Thank You” page:
$JAMIntegrate = file_get_contents(“http://www.prontopage.net/affiliates/sale.php?amount=”.$mc_gross.”&trans_id=”.$txn_id.”&custom_mid=”.$_COOKIE.””);
which means you don’t need to transfer the cookie variable to paypal as it can be directly accessed by the following PHP command:
$_COOKIE
so if I understand correctly you just have to specify the total amount and the transaction ID. The cookie part is fine as it is.
I am pretty sure the cookie is set when someone visits your site following an affiliate link. Did you simulate that part to make sure the cookie is set so you can test the commission awarding part?
amin007ParticipantNow that you are changing how the data is parsed you will have to rewrite the javascript logic a little bit. This is not just a matter of removing a character from some code. with that said, I think the following code should do it:
function CheckTok (object1)
{
var j,tok,ary=new Array ();
ary = val.split (” “);
val_1st_half = ary[0];
val = ary[1]; // get data
amt = amt + val*1.0;
}
Please note that I haven’t tested this so there is no guarantee that this will work. It’s impossible for me to provide custom solutions to all of my customers. Also, don’t forget to take out the “+” character from the PHP file so it doesn’t add it there.
amin007ParticipantHi Manny, All of my premium plugins have a documentation site where instructions for how to do things with the plugin is documented. The documentation site URL for the membership plugin is:
I don’t use a PDF document because I actively develop these plugins so the instructions go out of date as soon as I release an updated version of the plugin. Having it online makes me update the documentation easily and it forces everyone to look at the latest documentation rather than the old one that you have lying on your computer.
Remember, I give the updated version of the plugins to the existing customers for free so it is important that everyone is following the latest documentation.
I do agree that not having a video tutorial kind of sucks for some users but I really didn’t get time to create the video tutorials (sorry for this). I have this on my to do list and will put some video tutorials out in a few weeks.
With that said, let me see what’s holding you up and address them so you can get going.
You pretty much just have to go to the settings menu and go through each option and do what it tells you to in the help text.
Please post it here when you can’t figure something out.
amin007ParticipantLOL… you guys are funny
I am very busy with my next little project at the moment…. I will look into it after I am done with that.
amin007Participantokay lots of information for me (given I am not very familiar with the JROX Jam affiliate program I will try to answer as best as I can.
1) You can use the “custom” variable of PayPal to pass the cookie variable. custom variable is a pass thru variable.
2) Yes you can have more than one script using the IPN but not at the same time. What is means is that PayPal won’t send the IPN to two scripts after the payment for a particular payment. You can specify the IPN URL in your profile but as soon as you use the “notify_url” variable specifying the IPN URL for a button it will get overriden (eStore does this).
3) The simple shopping cart doesn’t use the IPN feature as it doesn’t do any post payment processing work. You can turn of the IPN in eStore so it acts like the simple shopping cart but you won’t get all the features of eStore (eg. automatic delivery of digital products via email).
I think one of these two methods might be a feasible integration option:
a) System Integration using a PHP script.
b) Forward the IPN received by eStore to the JROX system. (http://jam.jrox.com/docs/index.php?article=114)
step (a) sounds easier. Here are the name of the variables that you will need.
total amount = mc_gross
transaction ID = txn_id
The “mc_gross” field will have the total amount and the “txn_id” field will have the transaction id.
Is there example code available for this integration option from the JROX Jam affiliate program?
amin007ParticipantI really have no idea how to do two languages on one WordPress installation. Sorry.
amin007ParticipantI am guessing you want to use that with the WP eStore plugin? If yes then note that the WP eStore plugin already uses the IPN (instant payment notification) feature of PayPal to do the post payment processing stuff (eg. deliver the digital products). PayPal only sends IPN to one script so if you add that bit of code it will send the IPN to the JROX Jam affiliate software instead of the eStore plugin and the WP eStore won’t be able to do any post payment processing work.
If they have an integration option like the iDev Affiliate software whereby you can call a PHP function for the commission award then I can accommodate that.
amin007ParticipantI completely understand… you will need to modify the javascript file called “eStore_read_form.js” which is located in the “lib” directory of the this plugin.
Find the following function the file:
function CheckTok (object1)
you will need to change the logic here to take out the addition if there is a “+” token. I have it like that so later I can introduce the “-” token that allows you to subtract values for a selected variation.
Once done you will need to minify this JavaScript file and give it the following name:
eStore_read_form.min.1.js
The plugin uses the minified version of the JavaScript files for performance reasons.
after the JavaScript file is updated you can take out the “+” from the PHP file.
just a warning though… when I release a new version and give you the update you will have to apply these changes manually on your installation again.
amin007ParticipantYeah, I can give you an additional script that will work with eStore to provide some extra security. What this script does is that when someone clicks on the encrypted link that they receive after making a purchase, it takes them to this special script (eg. http://www.you-domain-name.com/protected.php). This script shows the actual content page which has the streaming videos embedded on it. This script only shows the content if the customer follows the encrypted link. If a visitor goes directly to this URL it will redirect them to a different URL (eg. an access denied type page). This way the users can’t view the videos after the encrypted links expire and they also never know the actual URL of the page that has the videos embedded on it.
The other option is to use the WordPress Membership Plugin where you can embed your videos on the posts or pages then protect it so only the members can view it. You can see an example on the WP eMember demo site. Use the following login information:
Username: free123
Password: testpass
amin007ParticipantNope… but this sounds like a good idea though. I have plans to add a few “Upselling type features” into the WP eStore so would be good if you can explain and put this on the WP eStore Wishlist page (http://www.tipsandtricks-hq.com/ecommerce/?p=148)
amin007ParticipantHi Bryan, this is a NextGen gallery thing and I am not really sure what function call is equivalent to the “[nggallery id=1 template=…]” shortcode.
In the NextGen gallery documentation search for the function references for their shortcode… kind of like what I have here for the WP eStore:
On that page I have the shortcodes that you can use from a post or page followed by the equivalent PHP function calls that you can use from the template files of your themes.
-
AuthorPosts