Entries Tagged '3rd Party Integration' ↓

Google Checkout Integration with DAP

1) Update DAP Setup > Config -> Secret Authorization Key to be…

YourGCmerchant_id|YourGCmerchant_key

2) Point the Google Checkout IPN handler to

http://yoursite.com/dap/dap-gc-responsehandler.php

(replace yoursite.com with the name of your site).

3) Create a DAP product and make sure the item name that your GC Item Name exactly matches the DAP Product Name.

That’s it!

NOTE

You will find a file by name dap-gc-responsehandler.php in your dap folder.

Use this file as is, with no changes, during testing. Nothing to change.

But once you’re ready to go live, open the file, and find the line below:
$server_type = “‘sandbox”;

And change it to:
$server_type = “‘production”;

 

DigiResults.com Integration With DAP

1) Go to DigiResults.com “Manage” products tab at https://www.digiresults.com/manage/products

2) Click on the Product Name

3) Click on Product Details tab

4) Click on Advanced Settings and set the Direct Receipt URL to point to the dap script on your site…

http://YOURSITE.com/dap/dap-digiresults.php

5) Create a product in DAP and make sure the dap Product Name exactly matches the digiresults Product Name.

That’s it!

Now run a test purchase via digiresults and see if the account gets created in dap automatically.

JV Zoo Integration with DAP

DAP now supports integration with JV Zoo. You must be on DAP v4.1 or above for this to work.

How to set it up

If you are on DAP 4.1 or later, you will find a script called dap-wsopro.php in the dap folder.

NOTE: It’s the exact same file that’s also used for WSO Pro integration. So it’s not a typo.

(Click image below to see enlarged version)

 

1. Delivery Method: Select “Thank You Page” as shown in the image above.

2. Download Page: Create a thank-you page in your WordPress site, and put the URL to that page here. On this page, you would say something to the effect of…

“Thank you for your purchase. Please check your email used during purchase, and within a few minutes, you will receive the login information to our member’s area where you can access the product you just purchased.”

3) External Program Integration: Check the check box next to this field.

4) In that same section, set the #2) IPN Forwarding URL field to the following URL:

http://yoursite.com/dap/dap-wsopro.php

(NOTE: replace yoursite.com with the actual domain name of your site).

NOTE 1: Make sure your JVZoo Product Name exactly matches your DAP Product Name

NOTE 2: Also make sure you have the “Welcome Email” Subject & Body configured in the DAP Product page with the right merge tags to send out user login/password.

How it works

When a user completes purchase of the product, JVZoo will send payment notification to DAP to the IPN URL specified above.

DAP will then automatically create the membership account, allow user access to the product and send out the thank-you email configured under the DAP product with the login details.

Customizing vBulletin Login For Single-Signon

Here’s what you need to do to disable the standard vB login form at the top-right corner of your forum pages, and customize it so that you force your members to log in via the DAP login form, so that they’re logged in to your membership site as well as DAP.

  1. Log in to VB Admin control panel at http://yoursite.com/forums/admincp/
  2. Go to Styles & Templates > Style Manager > Default (or whatever style you’re currently using)
  3. From the big list on the left, select the “header” template. Then on the right, under the “Controls” section, click on Edit
  4. On the resulting page, copy the full code from this text file and paste into the main “Template” body, and click on “Save”
  5. Next, download the file forums/register.php from your server, to your desktop and save the original copy somewhere safe.
  6. Replace the contents of that file with the contents of this text file.

That’s it!

Premium Web Cart Integration

Starting v4.2.1, DAP now integrates with Premium Web Cart (PWC)

PWC=>DAP integration is very simple to set up.

NOTE:

  • If your DAP version is 4.2 or earlier, you must upgrade to DAP v4.2.1 & LiveLinks v1.7.
  • If you are already using DAP v4.2.1, then download the very latest dap_v4.2.1 zip from the member’s area, unzip the contents to your desktop, and upload just the dap-pwc.php (within the main dap folder on your desktop) to the dap folder on your site.

Integration Steps

  • Login to your PWC account.
  • Go to Cart Settings > Advance Integration.
  • Select PWC IPN tab.
  • Set the PWC IPN URL to http://yoursite.com/dap/dap-pwc.php  (Note: replace yoursite.com with the name of your site)

User Flow

  • Buyer clicks on the buy button (button created within your PWC account and published on your sales page).
  • Buyer completes the payment successfully and is transferred to the thankyou page.
  • PWC notifies DAP via IPN about the purchase.
  • DAP automatically creates the member account, and sends thank-you email (configured in your dap products page) with login info to the buyer.   NOTE: Make sure to setup the thankyou email in the DAP products page for all the products you sell via DAP.
  • When the user logs in to their membership area, they will be redirected to either product-level logged-in URL or global logged-in url based on whether they have access to just 1 product or multiple products. The product level logged-in url is used if the user has access to just 1 product. The global logged-in url (under dap setup -> config -> advanced -> url to which user is redirected upon login) is used when user has access to multiple products.


Note
: You can create a member’s area and redirect users to that page upon purchase.

Upgrading or Downgrading of Subscriptions

There are two main items that need to be addressed when it comes to a member wanting to Upgrade or Downgrade their Subscription from one membership “level” (a.k.a “Product” in DAP) to another.

1) Modifying the actual recurring payments to reflect the new amount

2) Giving them appropriate access as per the upgrade (or downgrade)

So let’s see how both of these are accomplished.

1) Modifying Recurring Payments

You do need to take some manual action for this. The way to do it is….

  • Ask your members to sign up for the new product/level/subscription separately, like it were a new sign up
  • Cancel their old subscription manually. When using Paypal standard, this can be done by both you (as the admin) and the member themselves. But with all of the other payment solutions, you (the admin) will have to log in to the payment gateway (Authorize.net or Paypal Website Payments Pro) and manually delete the member’s old subscription). DAP will not automatically remove user’s old subscription profile in your payment gateway.

2) Giving your member access to new level

Set up automation rules using DAP’s Product Chaining feature, so that if they sign up for one Product (or “level”), they’re automatically removed from another Product (or level).

So if they are currently signed up to your “Gold Membership”, then when they sign up afresh for the “Platinum Membership”, then set up a Product Chaining rule that says, “If member signs up for Platinum Membership, then remove them from Gold Membership”. This is just to make sure that they don’t have access to two products (or “levels”) at the same time.

Optimizing Your WordPress Blog For Speed

Using a “cache” plugin for speeding up your site is like putting band-aid on a gaping wound. It’s only a temporary fix, and not a real long-term solution.

Plus a cache plugin has its place, but it’s certainly not for a membership site, where DAP will need to make calls to the database to figure out who’s viewing the content, are they a member, what products have they purchased, what content do they have access to, etc.

If you want to speed up your web site, you must address the core issue, which is — your web site is getting more traffic than your web server (web hosting account) can handle.

So here are a couple of ways in which you can speed up your web site:

  • The easiest thing you can do is to revisit all of your plugins that you have enabled. Remember that every single plugin adds some overhead to (read “slows down”) your web site or blog. So use only as few plugins as you absolutely must. With so many cool plugins available freely for WordPress, it is very easy to get carried away, and install tens of plugins, most of them adding very little value, but sometimes causing the most overhead in terms of server resources. So keep only a bare minimum of other plugins (some social plugins are a real pain – making calls to third-party web sites to get their information from).
  • If you are hosting on a shared (a.k.a “cheap”) web host paying just a few dollars a month for hosting, then your web site is basically competing for server resources (like memory and bandwidth and database access) with possibly tens (or even hundreds) of other web sites on that same server (many may not belong to you, but to others with whom you are sharing the server – and hence the name “shared hosting”).Search for the keywords “digg effect” or “slashdot effect” on Google, and you’ll see how many WordPress sites crash when a link to the site appears among the top results in popular social sites like Digg.com, Reddit.com or Slashdot.com.

    If your traffic levels have outgrown your server, then the best thing you can do is to upgrade to a bigger server, or get a Virtual Private Server, or even get a dedicated host, depending on your budget. See our recommended web hosts list.

DAP Shopping Cart Plugin

This plugin replaces ALL files from both the “Paypal Payments Pro” Upsell-Tree plugin as well as the “Authorize.net” Upsell-Tree Plugin

Starting DAP v4.2, we have consolidated both the Authorize.net & Paypal Payments Pro Upsell-Tree Plugins into one simple set of files, and it has been named the DAP Shopping Cart, which will allow you to both accept one time and recurring payments, as well as do 1-Click Upsells.

This consolidated set of files is named DAPShoppingCart.zip , and is available for download from the members’ area at http://DigitalAccessPass.com/dap/ .

Upgrading from DAP v4.2

If you are upgrading to DAP v4.2 from a previous DAP version, and you’ve been using Authorize.net or Paypal Payments Pro to accept payments, then you must also upgrade to the new DAP Shopping Cart.

So all you need to is…

1) Download the DAPShoppingCart.zip file from the members area

2) Unzip it to your desktop

3) Upload all files inside directly to your main “dap” folder on your site. (do not upload the folder named DAPShoppingCart – upload only the files inside this folder)

Setting up Paypal IPN

1. Enabling Instant Payment Notification (IPN) within your Paypal account.

a) Log in to your Paypal account and click on the “Profile” link.
b) Go to Instant Payment Notification


c) If IPN is already enabled, and you already have a URL in that field, then skip ahead to Step 2.
Else, if IPN is not already enabled, then click on “Choose IPN Settings”

d) On the next screen, in the Notification URL field, enter…
http://YourSite.com/dap/dap-paypal.php

Don’t forget to replace “YourSite.com” with your actual web site’s domain name.
e) Make sure “Receive IPN Messages” is selected.

f) Click on “Save”.

Conflict With “Cache” Related Plugins

DAP currently does not work with any “Cache” related plugins, and the reason is quite simple, actually.

Cache plugins are built on the premise that they will “cache” (save and store the contents of) WordPress pages and posts – which usually don’t change for “non-membership” type regular blogs – in a easy to retrieve, static file, so that WordPress doesn’t have to go to the database to load the contents of the page or post each and every time, which will improve the performance and loading time of your WordPress blog in general.

But the fact that such plugins are actually designed to “skip” interactions with the database as much as possible, and will make a “static copy” of your page or post and serve the same static copy to all visitors regardless of who they are, completely goes against the concept of a membership site.

The idea behind using a membership plugin like DAP, it to make sure that different visitors see different content: For ex.,

1) Casual visitors (Non-Members) who have NOT yet signed up for your products, should see content differently than …

2) Members who may have purchased one of your products, but not the product that gives them access to a specific page or post, who should see content differently than…

3) Members who actually have purchased the right product and DO have access to the content, who should see content differently than…

4) Ex-Members who signed up for your subscription-based content in the past, but have since canceled or allowed their access to expire

So, DAP tries to figure out who the visitor is first, and then packages the very same content differently to each category of visitors.

And installing a “cache” plugin kind of makes the whole point of a membership plugin meaningless. Both plugins basically contradict each other in what they’re trying to do.

One (your cache plugin) is trying to speed things up by not going to the database every time, while the other wants to make sure all of the right settings are loaded from the database to make sure your content stays secure from un-authorized access.

So, while cache plugins may work for the average, non-membership, static blog where a single post or page is not really meant to be shown differently to different people, it’s not a good idea to use it on a membership-site.