1. Home
  2. Knowledge Base
  3. Integrations (OptimizeMember)
  4. Integrating JVZoo (Advanced) with OptimizeMember

Integrating JVZoo (Advanced) with OptimizeMember

IMPORTANT: To use this integration you must be using OptimizeMember version 1.1.0 or above and OptimizePress version 2.3 or above

Note: This article covers the advanced integration methods for JVZoo – we also have a simple integration tutorial if you have more basic requirements.

JVzoo has a slighlty different integration method because they are always sending their data as
POST values and their names can’t be changed (http://support.jvzoo.com/Knowledgebase/Article/View/17/2/jvzipn).

Step 1: Login to your JVZoo and Find a Product To Edit

To Use this integration first you need to be editing a product. Login to your
JVZoo account and go to Home > Seller Dashboard > Seller Dashboard and click “Edit” on one of your products

Step 2: Inside the Product Information screen, find the “External Program Integration” option:

Step 3: Follow the steps below to build your API Integration URL

a) First your need your site URL – this will form the first part of your integration URL. For our example site this would be:

http://optimizepressplus.com

To find your site
URL, go to Settings > General > WordPress URL inside your WordPress site:

b) The first parameter needs to be ?optimizemember_pro_jvzoo_op_integration=1 (note this differs from the usual API URL of optimizemember_pro_remote_op_integration).

So your initial URL would now be:

http://optimizepressplus.com?optimizemember_pro_jvzoo_op_integration=1

User details shouldn’t be filled and sent as they are added automatically in the
POST – so data[user_login], data[user_email], data[user_pass], data[first_name] and data[last_name] are all included automatically and sent through to OptimizeMember.

c) We now need to create the rest of the API call. First we need to add the API Key and also the create user command:

Add the create user command:

&op=create_user

Add your
API Key (to find your API key go to OptimizeMember > API/Scripting > Pro API For Remote Operations and grab the API Key there):
&api_key=48595adc660934807b831cbbc9afdd485

So your
URL would now look like this:

http://optimizepressplus.com?optimizemember_pro_jvzoo_op_integration=1&op=create_user&api_key=1139819616514616161651

Step 4: Use additional values to setup send user level and other values:

– modify_if_login_exists – 0|1 (if data[user_login] is already present in the system, user update will be made),

– optimizemember_level – level number (if left empty, 0 will be used – free subscriber),

– optimizemember_ccaps – packages (comma separated if more than one),

– opt_in – 0|1 (if is set to 1, attempt to trigger defined auto-responders)

– notification – 0|1 (if is set to 1,
OPM will email new user with username/password)

So for example to add the user to level 1 and add the package/custom capability of “music” we would use the following:

http://optimizepressplus.com?optimizemember_pro_jvzoo_op_integration=1&op=create_user&api_key=1139819616514616161651&optimizemember_level=1&optimizemember_ccaps=music¬ification=1

If you are using this
API call for an Upsell product you should ensure you also use the modify_if_login_exists=1 value

http://optimizepressplus.com?optimizemember_pro_jvzoo_op_integration=1&op=create_user&api_key=1139819616514616161651&optimizemember_level=1&optimizemember_ccaps=music¬ification=1&modify_if_login_exists=1

Common Questions

Will my refunds actioned in JVZoo automatically remove a user inside OptimizeMember?
If you refund a user purchase inside JVZoo Dashboard, the user will be removed from your OptimizeMember site if they were created using this JVZoo Advanced integration

What IPN do I use if I am including this product as an upsell for existing customers?
If your product is an upsell, you should modify the IPN for that product slightly to ensure the user is modified.  Inside the IPN you would look for the op=create_user and modify this to be op=modify_user. Or you may also use modify_if_login_exists=1 if the product will be offered to new customers as well as existing members of your site.

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
Contact Support