Package: niteoweb.jvzoo
A Plone add-on that integratesJVZoodigital
products retailer system withPloneto enable paid
memberships on your site.Source code @ GitHubReleases @ PyPIDocumentation @ ReadTheDocsContinuous Integration @ Travis-CIHow it worksVisitor comes toyoursite.com/order(or similar) and clicksOrderlink.Visitor is sent to JVZoo’s order form (onhttp://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 yourSecret Keyand creates a new member.The following information is stored in member data for later use:product_idJVZoo’sProduct IDof the purchased item.product_nameJVZoo’sProduct Nameof the purchased item.affiliateAffiliate who referred the buyer.last_purchase_idJVZoo’sReceipt IDof the last purchase. This field gets updated
on every recurring payment.last_purchase_timestampExact 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.AnIMemberCreateEventis emitted upon creating a new member.The new member can now login and use the site.It is possible to create aproduct_idtogroup_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.NoteIf a member already exists in Plone, then the@@jvzooview simply
updateslast_purchase_idandlast_purchase_timestampmember fields.
The member will also be added to the new product group, but also kept in
the old.DemoYou can see this product in action atBigContentSearch.InstallationTo installniteoweb.jvzooyou simply addniteoweb.jvzooto the list of eggs in your buildout, run
buildout and restart Plone. Then, installniteoweb.jvzoousing the
Add-ons control panel.ConfigurationJVZooGo toJVZoo.comand useSellers->Add a Productto add a newProduct.Then check the optionExternal Program Integration. ForURLsethttp://yoursite.com/@@jvzoo. Under theMy Accountpage
set theJVZIPN Secret Key.PloneGo toSite Setup->jvzoocontrol panel form and configure
theSecret Keyfield by pasting in theSecret Keyyou defined above.You can also configure theproduct_idtogroup_namemapping. 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:1|basic-members
2|premium-membersMembers purchasing the product with id1will be added to thebasic-membersgroup, whose purchasing2will be added to thepremium-membersgroup. 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.Test itYou are now ready to do a test buy! Go back toSellersand clickTest Purchases. Select a product, clickCreate Test Purchase Codeand
finish by clicking the link inBuy / Linkcolumn in the table below. In
order for the purchase link to work, the product needs to be activated inSellers Dashboard(select a product and checkAllow Sales).Before you finish the transaction, you of course need to set up your Plone
site to receive JVZoo server notifications.Confirm by logging-in tohttp://jvzoo.comand checking to see if there were any
purchases (onSellerstab). Also check if your received an email with
username and password for accessing your site and try to login with them.Known issuesIf 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.Changelog0.3 (2012-12-03)When a member is cancelled, send notification email to site administrator.
[matejc]If “ctranstime” is empty, set current time.
[matejc]Support for handling ‘RFND’ requests from JVZoo.
[matejc]0.2 (2012-11-06)Add functionality for auto cancelation and tests.
[matejc]0.1 (2012-10-16)Initial release.
[matejc, zupo]License (3-clause BSD)Copyright (c) 2012, NiteoWeb Ltd.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of NiteoWeb Ltd. nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL NITEOWEB LTD. BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.