I am using Woocommerce Subscription plugin.
I have two types of plans right now.
1. Is paid
2. Free
When user registers on my site, I want every user to show default free membership subscribed to that account in beginning until it upgrades manually later.
Is there any Hook which I can use?
I have tried checking in Plugin settings but I didn't find anywhere if I can set a subscription plan 'as default'.
The solution is to create an order, then create a subscription, link the order to the subscription using WooCommerce classes. Below is the link where I found my answer:
wordpress.stackexchange.com/questions/202873/
The response given by Jeremy Warne worked for my website's logical flow.
Related
I am new in drupal and i have no idea about Subscription Management
of users.
Our client want a functionality like.
1) Subscription form for the Non-subscribe USER
Non-subscribe :-
Access Site, Don't have access to open link which is shared by
subscribe user
Subscribe User:-
Take subscription,Mention reson to unscribe subscription plan,
Informed via SMS/Mail once the content is close to the end of its
access time.
(2) Subscription Management
Manage Subscription Request through Form:
Possibility to choose monthly payment or one-time payment for one year with a discount of 10%
Creation of an internal file with Credit Cards EOV (End Of Validity) and CB for reminders
add extra fields.
possibility to pay via Paypal or similar. Alert sent directly to the subscriber a month before on his e-mail address
i tried two module newsletter and second is subscriptions
Links of module
newsletter module
subscriptions Module
but that can not provided functionality that i mentioned above, So anyone know about it how Manage Subscription Request through Form or Subscription form for the Non-subscribe USER.
Does anyone know about manage subscription request is done?
I'm not aware of an out-of-the box solution/module to do what you're asking, but it should be relitivaly straight froward with a combination of modules.
You can control access using core roles. Define the roles and access you want them to have.
You could assign and remove roles using the Rules module.
Adding custom fields to nodes is straight forward and can be achived in the UI by going to Structure > Content Types > {Your content type} > manage fields.
As for ecom, and a turnkey solution, you could look at Commerce License, or Commerce subscription products
Salutations!
I want to crate a payment system on Woocommerce. That accept code payment(like how you recharge your phone), My website will only have items with one price so it will be easy.
So the problem is that I want my plugin/system to generate by its on codes(like 100 unique codes)...in which the person can buy items with the codes, not a discount like coupons.
I do not know hoe to start, Thank you.
I understand you wish to provide a payment method that requires the buyer to provide some random card number which your plugin must generate and store in a table.
Since you don't wish to use a voucher for this purpose I suggest you develop a payment extension to handle the process, however ensure you do series of tests before you go live.
Here is a tutorial that will get you started on woo commerce payment extension plugin. You can also see woo commerce documentation
http://www.sitepoint.com/ http://www.sitepoint.com/building-a-woocommerce-payment-extension/
I'm creating a really small website where I'll sell some products.
I need this website to show the available products, the users can add to the cart, and pay at the end, then I'll send the product for them by my self. It's a really small business.
I was taking a look at the paypal options and I didn't understand very well how it works.
For what I understand, with a free account I can only use their buttons, but I can't have a dynamic solution where I can manage my products on my website (look's like I need to add the products information like name and price on their website ).
What I wanted to do was just use my own website to handle this very simple store/products, and at the end, the user click on a CheckOut button, and Then I redirect the user to a paypal page where they can pay for the total value and then paypal redirect them back to me ( as a free account or at least with the 5$ account ).
Is that possible?
By the way I'm using CakePHP to build that, and I already have the website built with this framework, and to build what I need it's more than enough, I don't really need any solution like magento or others eCommerce platform.
Thank you.
If you use Paypal's free account then your visitor will leave your website, go to Paypal's website to make the payment, and then return to your website. Paypals paid version allows you to keep your visitor on your page, but you have to program you site to work with their API. Plus the cost can add up. Paypal also has other service other than just buttons. For instance they have a shopping cart too, but here again your vistor will leave your website to go to Paypals site to add the items to the shopping cart.
Another company that you might want to look at is https://stripe.com/ here you keep the vistor on your site as well as only paying per transaction rather than a monthly fee like at Paypal.
If you want to manage your items and inventory from your website and not enter everything into buttons at PayPal.com, I would suggest that you use Express Checkout. Express Checkout is also a free service and allows you to send all of the payments details to PayPal via API and PayPal will authenticate and allow your buyers to select shipping details. The user can then be redirected back to your website to complete their order.
You can find additional information here: https://www.x.com/developers/paypal/documentation-tools/express-checkout/gs_expresscheckout
Thanks,
I'm working on a project that ties into an API and uses virtuemart. Basically a user can buy time for a phone card. the few things I need help with are:
A) can/how can I create a custom php function once the user signs up. For instance, the user adds Items to the cart and proceeds to checkout. once the user clicks checkout they need to create an account, after they create an account is there an area in this process that allows for a custom function so that I can tie the creation of the account to an API?
B) same as above but after checkout. After the checkout goes through, how can I make it so the new values are sent to the API? Is there an area in the files that allow for custom functions here.
C) Lastly is it possible to add more options the the virtuemart customer account maintnance screen. I want an option that will tie into the API and show them exactly how much time the have left for their phone card. This information will be provided by the api.
All of these things can be achieved with a System Plugin. You would simply look for the right url, get any information from the result screen with regex, call your API and insert any changes back into the screen.
I'm not specifically aware of any VM functions for this, but as VM is in flux with Version 2 getting closer, it may not be a good time for any such investment in any case.
So I've implemented PayPal fully into my system. The system works on user 'packages', all at set prices. Each user has a subscr_id (set by PayPal) assigned to them, along with details of the package they've bought.
I need to be able to modify the subscription so the user can select a different package. Essentially I just need to be able to change the amount and the 'custom' field (this contains package details, coupons used, etc).
I would have thought, and hoped, that it would be as simple as showing the user another form with hidden fields for 'modify', 'subscr_id', 'custom' (new value) and 'amount' (new value). Unfortunately I can't find this anywhere online, and PayPal's documentation is so monolithic that I find myself going round in circles for hours at a time.
My IPN is all set up and working fine, I literally just need to build a form that allows me to set the 'amount' and 'custom' variables to something new... the bit I thought would be easy! Any help is greatly appreciated. Thanks in advance.
I've been looking into this recently. You can create a "Modify Subscription" button to change subscription details such as amount and period. When the user clicks this button, they login and see the old subscription details and the new subscription details, and must approve/save it for it to take effect. One major issue though is you can only increase the subscription amount by 20% within a 10-day period.
To create the modify subscription button just use the regular subscription HTML button with the new parameters you want, and add an extra parameter "modify=2" (2=modify only, 1=modify or sign up).
Also I think that the custom variable field does not change even if you modify the subscription, but I am not 100% sure on that.
After a wee bit of searching, hopefully this will help:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_subscribe_buttons#id09A7G0502UI
If you became a PayPal Merchant after October 15, 2009, you can edit a buyer’s subscription profile.
As a subscription service provider, you can edit a buyer’s subscription profile in the Edit Profile page. Use this page to update buyer information, adjust the cost or cycles of the subscription, and specify how to handle missing or failed payments.