JVZoo.com integration for Plone
How it works
Visitor comes to
yoursite.com/order(or similar) and clicks Order link.
Visitor is sent to JVZoo's order form (on
http://jvzoo.com), where he enters his personal information and performs payment.
JVZoo calls-back a special view on your plone site (
/@@jvzoo), which reads POST data from JVZoo, verifies it against your
Secret Keyand creates a new member.
The following information is stored in member data for later use:
JVZoo's Product ID of the purchased item.
JVZoo's Product Name of the purchased item.
Affiliate who referred the buyer.
JVZoo's Receipt ID of the last purchase. This field gets updated on every recurring payment.
Exact timestamp of the last purchase. This field gets updated on every recurring payment.
Upon creating a new member, Plone sends an email with login password.
IMemberCreateEventis emitted upon creating a new member.
The new member can now login and use the site.
It is possible to create a
group_namemapping in Plone Control Panel. This means that if a member purchased a product which is listed in this mapping, the member will also be added to a group mapped to this product.
If a member already exists in Plone, then the
@@jvzoo view simply
last_purchase_timestamp member fields.
The member will also be added to the new product group, but also kept in
You can see this product in action at BigContentSearch.
niteoweb.jvzoo you simply add
niteoweb.jvzoo to the list of eggs in your buildout, run
buildout and restart Plone. Then, install niteoweb.jvzoo using the
Add-ons control panel.
Go to JVZoo.com and use
Add a Product to add a new Product.
Then check the option
External Program Integration. For URL
http://yoursite.com/@@jvzoo. Under the
My Account page
JVZIPN Secret Key.
Site Setup ->
jvzoo control panel form and configure
Secret Key field by pasting in the Secret Key you defined above.
You can also configure the
group_name mapping. This comes
in effect when member purchases a product which is listed in this mapping, the
member will also be added to a group mapped to this product.
For example, imagine you have the following in your mapping:
Members purchasing the product with id
1 will be added to the
basic-members group, whose purchasing
2 will be added to the
premium-members group. For others, nothing will be done.
When switching products, an updated member will be added to new product group, but also kept in the old group. No information is removed/deleted.
You are now ready to do a test buy! Go back to
Sellers and click
Test Purchases. Select a product, click
Create Test Purchase Code and
finish by clicking the link in
Buy / Link column in the table below. In
order for the purchase link to work, the product needs to be activated in
Sellers Dashboard (select a product and check
Before you finish the transaction, you of course need to set up your Plone site to receive JVZoo server notifications.
Confirm by logging-in to http://jvzoo.com and checking to see if there were any
Sellers tab). Also check if your received an email with
username and password for accessing your site and try to login with them.
- If members stop paying for monthly or yearly subscriptions, you have to manually delete them from your Plone site.
- The same as above goes for any chargebacks or refunds. You have to manage them manually.