NOT WORKING = Automatically creates new user accounts on the purchase of one or more membership products

Permalink Browser Info Environment
Snipcart Memberships Subscription

NOT WORKING = *** Any Suggestions…??? ***
• NOT WORKING = Automatically creates new user accounts on the purchase of one or more membership products

From <https://www.concrete5.org/marketplace/addons/ecommerce-with-snipcart-memberships>

I have the Snipcart… Setup and Working

Upon Purchase - The Purchaser Receives
Emailed - Purchase Receipt
Emailed - You can now access = URL
- **No Logging** - SetUp or Info

vvvvvvvvvvvvv I have Set Up vvvvvvvvvvvvvvvv

Snipcart
I have put the… URL in the Snipcart webhook

Site
Advanced permissions are turned on

I am using… Snipcart Cart Version 2.0 in Testing

I have setup the… Member Group
= MemberGroupName

I have setup the… Membership Products
SKU / Product ID = MskuProductName
SKU / Product ID = AskuProductName
Add to User Group = MemberGroupName

I have setup 2 Products on the… Home Page
Annual Memberships Subscription = Paid Monthly
SKU / Product ID = MskuProductName

Annual Memberships Subscription = Paid Annually
SKU / Product ID = AskuProductName

I have NOT setup the Membership Product… Permissions
For the 2 Products on created on the… Home Page

Type: Pre-Sale
Status: Resolved
nightlog
View Replies:
mesuva replied on at Permalink Reply
mesuva
Hi there,

I just tried placing a test order athttp://2edo.com, and after it completed I received an email with a new username and login. Using those to login to the site works, so a user account must have been created.

So that is behaving as I would expect - I may have misunderstood your question.

Feel free to email me at ryan@mesuva.com.au with more details.

-Ryan
nightlog replied on at Permalink Reply
nightlog
I do see that You, Your Member Account and Group... Has been setup...!!!

So... I Purchased - TWO NEW times using a...
1x My Computer Browser
1x My Phone
They have NOT been setup as a... New Member Account

Here is the access email I received... With NO Login info

Thank you for your order at 2edo.com
You can now accesshttps://2edo.com/index.php/login...

Any Ideas...???

Is there any Documentation on setting up...???
1.) Subscriptions
2.) Recurring Billing
3.) Editing the... access email
4.) authorize.net Gateway Configuration

Thanks in Advance for - Your Help..!!!
mesuva replied on at Permalink Reply
mesuva
When you did your tests, did you use the same email address you are using for your concrete5 login?

The add-on won't create a new user account if that email has already been used for one.
But it will add user groups to the user account that matches the email account though, updating the permissions.

With your questions:

1 & 2 - Subscriptions and recurring billing isn't something that was originally in Snipcart, and it isn't something I've added to the Snipcart add-on so far. It's also much more complicated than supporting just normal transactions, it's unfortunately not a trivial activity to support, it would probably double the size and complexity of the add-on.

Whilst I made sure that both the Snipcart add-ons in the marketplace don't include suggestions that recurring payments are supported, I haven't put they _aren't_ supported - so if I believe these add-ons won't work for what you are wanting to do I am happy to process a refund.

3 - the email template can be overridden in the same way as other emails in concrete5, you copy the email from the /mail folder in the add-on, up to /application/mail, and you edit it there

4 - anything to do with configuring payment gateways is going to be on the Snipcart side of things. If the documentation at Snipcart doesn't assist you with the setup, I'd suggest you email their support - it tends to be very good.

-Ryan
nightlog replied on at Permalink Reply
nightlog
All is... Good +++

Since we started talking
I just thought I would ask - To save time

Finally...
Is there any Documentation on...
Setting up a Members ability to access files
To expire on a selected date...???

Again... Thanks in advance for all your help
I know it's... Above and Beyond...!!!
mesuva replied on at Permalink Reply
mesuva
Everything to do with controlling access is going to be through concrete5's permissions system.

What I would do is create a page on your site to redirect customers to after purchase, and set the permissions on that page to _not_ have Guest access, but instead only be accessible by user within certain user groups.

And you would set those user groups to be the ones that get added to users when they buy the products.

You can do this with 'simple' permissions', but if you want to set permissions on individual blocks you can do, after you turn on 'Advanced Permissions'. In that way, you could do something like have the one page for members to download thing, but control who can see what using permissions on the individual blocks with the file links.

User groups themselves can have expiries on them, see the Group Expiration Options of the doco here:https://documentation.concrete5.org/user-guide/editors-reference/das...

You can set someone to be removed from a group after a particular length of time, effectively expiring their membership.

As the way you can set this up is very flexible, there's not much more I can suggest at this point, but I'm quite happy to help with the specifics of what you are doing.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.5RC1
Version Installed - 8.5.5RC1
Database Version - 20201116182100

# Database Information
Version: 5.6.41-84.1
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Accordion Content (1.2.4), Afixia: Login Redirect (0.9.4), Block Designer (3.3.0), Block Designer Pro (3.0.1), eCommerce with Snipcart (2.0.3), eCommerce with Snipcart: Memberships (1.0.7), Formify (3.2.3), Login Page Background (0.9.1), Magic Tabs (7.2.8)

# concrete5 Overrides
blocks/user_document_library/view.php, blocks/user_document_library/edit.php, blocks/user_document_library/view.css, blocks/user_document_library/view.js, blocks/user_document_library/db.xml, blocks/user_document_library/add.php, blocks/user_document_library/controller.php, blocks/user_document_library/icon.png, blocks/user_document_library, blocks/group_document_library/view.php, blocks/group_document_library/edit.php, blocks/group_document_library/view.css, blocks/group_document_library/view.js, blocks/group_document_library/db.xml, blocks/group_document_library/add.php, blocks/group_document_library/controller.php, blocks/group_document_library/icon.png, blocks/group_document_library

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.3.26

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, SimpleXML, soap, sockets, SourceGuardian, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 36000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 260M
upload_max_filesize - 999M
ic24.api.max_timeout - 7
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.