I am trying to create a cryptocurrency multi-vendor store based on WooCommerce.
I have plugins from https://www.dashed-slug.net that allow to deposit, withdraw, move coins within accounts and etc. & I also have "YITH WOOCOMMERCE MULTI VENDOR Premium" plugin (it also has a free version) - https://wordpress.org/plugins/yith-woocommerce-product-vendors/.
Everything would seem to be working (sellers get their cryptocurrency addresses, can move funds within other wallets & etc). However, the problem appears when let's say a seller posts an item for sale. Buyer comes and pays with the cryptocurrency. Thing is that cryptocurrency somwhy goes to the Administrator account, not the Vendor (Seller) account and stays there. Or for example if I try to buy "Seller's" item with the Administrator account - it tells "You cannot send funds to yourself".
Dashed-slug creator told me that there should be some way to do it and referred me to https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html#method_api_move_action
However, my WordPress / PHP / WooCommerce knowledge is too weak.
Can anyone help me with this?
Related
FYI - The below mentioned process works perfectly fine on localhost (local env) but not on our server.
I'm developing a feature called "Home Try On" where we are allowing the customers to buy two pairs of shoes at the same time at the cost of one, but if customer fails to return the product then we would be deducting the cost of the other product using Recurring Payment Method. So, to ease out the process we purchased "WooCommerce Subscriptions" but it's not allowing the customers to add multiple products.
Here is an example scenario of actual work flow - We have kept all the Home Try On products as Variable Subscription products
Customer visits the website
Customer goes to Home Try On Section if he/she is unsure of their shoe size
Customer selects on Product let's say it as X Product and selects one pair (Size 6) and adds to cart, now we want the customer to add another pair of X Product (Size 7) but the problem is it's now allowing to add multiple variable subscription products and throws an error "A subscription has been removed from your cart. Due to payment gateway restrictions, different subscription products can not be purchased at the same time."
Can someone help me out on this? We purchased the WooCommerce Subscription plugin because it mentioned multiple subscriptions are accepted. It stated:
Your customers can also purchase different subscription products in
the same transaction and Subscriptions will group the products to
reduce the payment gateway fees and logistical overhead for their
future renewals.
Can anyone please point me in the right direction please?
Regards,
Piyush
For anyone that finds this question:
You haven't activated stripe yet. As the subscriptions plugin needs stripe woocommerce needs to have stripe activated!
it is free. just go to stripe and create an account. there you get two keys that you can use on your side.
hope this helps someone
I have got a problem between my Woocommerce shop and the Moowoodle for WooCommerce plugin that acts as a bridge between WordPress/Woocommerce and Moodle. It fetches all the courses from your Moodle instance and makes them available for sale, which may be bought by users through WooCommerce.
The integration and everything works fine but the issue is following:
When somebody is buying the course the user is automatically added to the moodle userlist and can enroll to the course.(this feature works great)
Obviously when a customer is buying another product (not an online course ex. a book or sth) he get also linked to the Moodle userlist with a username + password for the Moodle via email.
I would like that only the people who buy the actual course will get the email with the access to the moodle.
What I am trying to do is something like:
If user buys course_with_moodle_ID
then send email_with_login_info
You can find the source code here in Git.
Maybe someone could help me with a little fix because obviously the support to this plugin is very very slow and limited.
Thanks
There is another plugin that let you configure which product will generate a Moodle enrolment.
Disclaimer: I just wrote that plugin.
You can find it here: https://wordpress.org/plugins/woo-to-moodle/
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 am building a simple ecommerce site for a friend who sells gift certificates online. I have decided to use WooCommerce as its free and is more than capable of what is required. As all his products are digital, I have already checked and found that Woocommerce supports digital products.
However I was unable to find if there was any option that allowed you to buy the certificate and enter a friends email so that they received the product as a gift via download link in email. Is there anyway to build this functionality into woocommrece? Is it possible to make it so that if a person checks the box to send it as a gift to a friend, they can write a custom message in the email that will be sent?
I understand this may be hard to do but if someone can provide me with a rough roadmap of how this would be done, it would be really good.
Thanks
Unfortunately, WooCommerce is quite a bit lazy and you'll need to buy a plugin to do it. Smart Coupons and Gift Certificates Pro are plugins that let you do that. If your very smart in PHP + MySql, you might somehow be able to put it in.
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,