Subscription based access in Wordpress using woocommerce - wordpress

I have a Wordpress site that besides some other pages, it has 10 pages which I want them to be with limited access. Basically, I want a page to be visible to a person only after he paid a subscription. Subscriptions can be for 1, 3 or 6 months. A person can buy subscriptions for one or more pages(with different periods of time). Each subscription should expire at the required time.
I am planning to sell those subscription using Woocommerce. So far I have tried to use Private Content but I can't get a link between WooCommerce and Private Content. Also, the only payment gateway that I managed to set up so far is PayPal, but I want to use Skrill, Neteller and Credit Cards as well.
How can I set up those subscriptions in order to permit access to those private pages?
How can I set up the payment options in order to use Skrill, Neteller and CC for the subscriptions?
I need to know who subscribed to what page (basically knowing his email that he used to register on the website) so I can send different emails depending on page the person subscribed?

hi better to use a subscription plugin like
-- wordpress s2membership
-- wishlist membership
These plugins provide the whole functionality you are asking for .
1 you can set membership levels
2 restrict the page content to only paid subscribers
3 and choose the payment gateways also

Related

Migrating customer stripe payment data from Squarespace to Woocommerce

I am migrating a website that offers subscription services from Square Space to Woo Commerce. Both platforms were configured using our Stripe account.
I am trying to figure out if we can migrate our existing customers into the new Woo Commerce app, so that it will use the same payment information that is already stored in Stripe. Basically we do not want existing customers to have to re-enter their payment information as we know we will lose some customers during this process.
On the Square Space side of things: whenever a new customer is created they create a customer in Stripe, then make a request to the Payment Intent API, associate the intent token to the customer, and then use this to charge the customer every time a payment is due.
On the Woo Commerce side of things: we are using the official Woo Commerce membership and subscription plugins. Whenever a new customer is created, a customer is created in Stripe, a payment method is attached to that user, and then that payment is used to charge the customer.
So my question for anyone who has a deep understanding of WooCommerce, is there a way to update how Woocommerce is integrating with Stripe to try and use the payment intent API tokens that we already have for these existing customers?
As long as these Customers were created under your account, you should be able to leverage them.
As a small correction, you would not be referring to existing Payment Intents, but rather existing Payment Methods attached to the Customer. You could, for example, retrieve these for any customer from the API and then use one of them to create a new Payment Intent.
Whether WooCommerce needs to do anything to be aware of these existing Customers or Payment Methods I can't say, but you should contact them for support about that.

Add user on UrBackup server after order on Woocommerce site

I have wordpress site with woocommerce shop and I’m selling among others UrBackup client accounts on my server.
Do you have any idea how to automatically add UrBackup user after order in woocommerce?
Or maybe easier will be create shop based on different engine?
Any advice, tips? :)
After poking around a bit, it looks like UrBackup has an API you can use, that most likely has a 'create account' endpoint. I didn't see it immediately in their not-so-great documentation, but you'd think it'd HAVE to be there somewhere! There's also a PHP API kit you could integrate into your WordPress site here:
https://bitbucket.org/opensaucesystemsdevelopment/urbackup-api.git
So, you could load in this class, and after a WooCommerce order is placed, call the API endpoint to create a user. To do this with WooCommerce, you'd need to create a function on the "woocommerce_order_status_completed" hook.
http://hookr.io/actions/woocommerce_order_status_completed/
This would let you run any custom code you'd like after an order's payment has completed. Thus, you could check an order for if it contains the UrBackup product, and if so call the UrBackup API to create an account based on the current user's data.
Should work!

How can I have subscription to download limited products in limited time in woocommerce?

I want to sell downloadable products with Woocommerce. Now I want to create some subscription package. so my customers can buy products or buy subscription and download for example 10 products in 1 month.
Is there any plugin to have this in Woocommerce or any other plugin like Woocommerce or any other cms like Joomla or any other Ecommerce software like Prestashop?
Pay attention please my first option is Woocommerce.
As per our analysis for your requirements there is currently no plugin which is provides this kind of functionality up til now. You can very well use a custom code to create this kind of functionality on your site for WooCommerce.
Approach here would be as follows:
Restrict all WooCommerce products and WooCommerce Subscription products from buying for all users. Restrict all the users on bases of whether the user has a Subscription package active or not.
Create your subscription Package product which we will be available for all users to buy. Set the attributes of the products like the Purchase limit.
Once a subscription package is purchased by a user set a meta field for that user with the limits specified in Subscription Package Attributes.
If a subscription package is active for a user check for whether the user has exhausted the purchase limit. if not then show the add to cart button if the customer has exhausted the purchase limit restrict the user from buying.
This way you can restrict the Customer to limit there purchase (custom field) for limit time (using WooCommerce Subscription daily/weekly/monthly/yearly) with custom coding in a custom plugin.

Pass wordpress form data to checkout Page of shopify?

I create shopify shop and integrate it in wordpress website.And now I want to pass the custom form(created in wordpress) data to shopify checkout page.Data such as email,telephone,name etc.IS it possible or not?
Shopify API doesn't allow to create orders from outside services. You indeed can create carts with products / variants in cart (outside Shopify) and force the user to finish the buying process at PCI compliant Shopify checkout, which has 2 steps: (considering s/he is not authed)
A.- Buyer enters billing / shipping info as well as email address.
B.- Buyer enters discount coupon/s, chooses shipping method, enters payment info (credit card, paypal, wire, cod...)
Checkout url will look like: checkout.shopify.com/carts/your_store_id/cart_id

Wordpress Multisite w/Paid Subscription Options

I have configured my Wordpress site as a multisite using subfolders and I'm considering how to configure it as a monthly subscription site using Paypal where users will be able to sell their own products.
I have 2 ways (so far) of thinking on the subscription model.
1) Users are not able to create a site without being paid first. They can register as Subscribers to the main site. Maybe they can post comments and/or reply to others' comments. If I go this route I'm going to need a way of allowing the registered user to purchase a monthly subscription. At that time I will have to provision their site.
2) Users can create a site without paying, but will not be able to sell their items using their site.
Regardless of which way I go on these 2 options, I want to offer different subscription rates - 1 month, 3 month, 6 month and 1 year - each with a price break. On top of the subscription time period, I am considering that there might be other terms. Like they can subscribe to a basic plan where I will get a percentage of their sales (3%-5% maybe), and a more costly plan where there is no percentage to me.
I'm hoping for a subscription plugin that will be smart enough to expire accounts and will be able to send correspondence to the user. Such as a notice of a pending auto-renewal, or that the subscription has actually expired, their credit card could not be charged, a receipt that it was charged, etc.
Is anyone aware of a Wordpress plugin that will do some/most/all of these things? Or does anyone have an idea of how to go about this with multiple plugins?
I'm just researching options right now, so I am all ears to ideas and suggestions!
after a brief research on wordpress.org forums, I think that you should take a look at http://wordpress.org/extend/plugins/s2member/

Resources