Direct bank transfer
Author | Posts |
---|---|
January 17, 2015 at 3:18 pm 34350 | |
Sekander Badsha | I have a question about direct bank transfer in the multi-seller platform Dokan. Buyers pay me (the site) when they buy a product. When using a method different then direct bank transfer, the payment is immediate and the following doesn't matter. But when a buyer wants to pay using direct bank transfer, how does this work in combination with sellers. I tested it last night and noticed that when a order is made by a customer, the order is set to 'payment pending', like it should, but then it is immediately set to 'on hold'. It looks like this means that a customer has payed because that's when the amount is added in the reports. A seller sees a order has come in and can immediately act to prepare and set it, but he doesn't know for sure in this case if the customer has payed yet. Am I seeing this correctly, how can have more control over this situation? Because in my opinion you want to notify a seller of a order only after a buyer has payed for the order. Could you please clarify this for me. Thanks in advance. Best regards, Peter Thielen |
January 18, 2015 at 12:21 pm 34413 | |
Sekander Badsha | Thank you Peter, For informing the situation in detail. I am forwarding this to the developer team. Hope we can come up with a suitable solution for you. 🙂 |
January 18, 2015 at 2:48 pm 34431 | |
Sekander Badsha | I had a discussion with the dev team. The payment and the payment status is controlled by WooCommerce. So we can not do anything with it. If you want to change anything, you have to overwrite WooCommerce files, which is not recommended. |
January 18, 2015 at 4:32 pm 34444 | |
Peter Thielen | Oke thanks, I will contact them to further locate the problem. Best regards, Peter |
January 18, 2015 at 4:45 pm 34446 | |
Peter Thielen | The fact that the amount is added and that the seller can edit the order is controlled by Dokan. The problem is not that the status is changed but the way Dokan deals with it. Woocommerce sets orders on-hold because payment processing is outside the bounds of the website and is a manual process. So the current way Dokan deals with this order status is wrong. Best regards, Peter |
January 18, 2015 at 6:42 pm 34456 | |
Sekander Badsha | Please read my previous reply. The system is controlled by WooCommerce. Dokan is just taking the inputs from frontend. |
January 18, 2015 at 8:45 pm 34458 | |
Peter Thielen | Please read my previous reply. I am talking about the way Dokan handles the on hold status. I am talking about the way the commission is handled. I am talking about the orders that are visible to sellers. |
January 21, 2015 at 2:27 am 34659 | |
Peter Thielen | This is a pretty big problem within the Dokan plugin, please help me solve this. Or tell me when a fix will be implemented. Thanks in advance. |
January 21, 2015 at 12:29 pm 34701 | |
Sekander Badsha | WooCommerce does not work like the way you are asking. We have kept everything they way they are in the default WooCommerce system. However, as you are insisting for code, here it is. Open “wp-content/plugins/dokan-plugin/dokan.php” and go to line number 516. You will see the function for sending emails You have to add the following lines on 523 number line
So the whole function will look like this $seller_id = dokan_get_seller_id_by_order( $order->id ); if ( $seller_id ) { if ( $order->status == ‘on-hold’ ) { if ( $admin_email != $seller_email ) { return $emails; |
January 22, 2015 at 1:19 am 34778 | |
Peter Thielen | I don’t think you understand what I mean. Sellers sell products through my website. Because WooCommerce handles payment, I know when a customer payed with direct bank transfer, my sellers do not. So I need a way to control this. This is necessary to make the Dokan multi-vendor concept work. Otherwise Sellers can send there product before the customer has even payed. It is pretty essential for a good working multi-vendor environment. A possible solution is to add order-status Payed. When a order has come in, a e-mail is sent to the seller and the order becomes visible in the seller dashboard. In this way there is more control on payments. What if a customer hasn’t payed yet and the seller has send his product? Although the above proposed solution makes sure no e-mail is sent when the order status is on-hold, it also means that no e-mail is sent at all. And the order is still visible for the seller, even though the seller didn’t get an e-mail, the seller can still act on the order. Should I maybe use a different payment gateway then standard WooCommerce Direct Bank Transfer? Thanks in advance. Best regards, Peter |
January 22, 2015 at 6:13 am 34783 | |
Mahi | Sorry to interrupt Peter. From my view best solution is – alert your seller at first point. When a Seller going to register on your website make sure that seller knows correctly what is the scenario regarding BANK TRANSFER PROCESS. – When Customer submit an order and choose payment method “BANK TRANSFER”, Seller also get notification email and can see what is the Payment Method is: BANK TRANSFER . – Now, Seller can see the ORDER Status ON HOLD from Dashboard. – Then, as Admin you have to play a role here. Best way is When a customer make the payment to your bank account and confirmed with you, as admin you can change that order status to PROCESSING from admin area > WooCommerce> Order image: – Now once you marked that order as processing – your seller can see that as well from their dashboard. – Now, seller can prepare the product – ship and mark as completed and everything goes smoothly. Please NOTE:: Any time admin(you) or seller can change the order status. If you (admin) or seller change order status failed/refund/cancelled then all information (data) reversed. So, all commission reversed automatically. So, this is the only scenario i can see which will work. If you have any other idea feel free to share with us. We really don’t want to interrupt with WooCommerce default system because then it will be very hard to maintain. We spoke with Woo Team regarding multi-vendor future with WooCommerce and seems like they are also considering to make WooCommerce more multi-vendor friendly. Thank you. |
January 22, 2015 at 10:42 pm 34851 | |
Peter Thielen | Hello Mahi, Of course you recommend this approach, this is the only possible way at the moment. There are 2 problems I have with it: Of course I can write a procedure, but that doesn’t mean people will act on it. I understand that Dokan builds on WooCommerce, but all I am talking about is Dokan functionality: Dokan dashboard, seller dashboard and seller roles are added by Dokan. This is Dokan functionality. I understand that the way direct bank transfer is implemented is WC functionality, but the fact that commission is taken of earnings; earnings are shown in dokan dashboard; orders are shown in seller dashboard; mails are sent to sellers: you are in control of that. I recommend the following for direct bank transfer: Best regards, Peter |
January 30, 2015 at 2:05 pm 35360 | |
Peter Thielen | Nothing? |
January 31, 2015 at 6:30 pm 35423 | |
Sekander Badsha | Hello Peter, Thank you for your ideas. I have forwarded them to the Design and Development team. They will definitely consider if we can add them 🙂 If you need to modify the features right now, you may hire a developer. |