101 comments found.
Hi, i’m back again, We’re trying to get the deposit to be less than 1 swiss franc, 0.5 for example, but it seems to only allow full decimals, is there a way to change this in the plugin code?
Hello,
I have just released update to allow deposit value to be less than 1, please update plugin to v1.2.1 to resolve the issue.
Thank you.
Perfect! thanks!
this is exactly what I need, however, i need confirmation. We sell a product that is taxed, however, the security deposit is non-taxable. Is this possible?
Hello,
Yes, security deposits are added as wooocommerce standard fees. It is possible to choose whether these fees are taxable or not from our plugin settings.
Thank you.
Thanks, purchasing!
Hi, Nice looking plugin, I’m wondering whether its possible to not refund directly to the payment gateway but instead to a site wallet like :woowallet
This means the deposit is refunded as store credit
Thanks for your reply, Lewys
Hello,
We have not made any compatibility tests with plugins like woowallet therefore we are unable to give feedback about it.
The refunds are created via the woocommerce standard function wc_create_refund, so I guess the result will depend on how the wallet plugin handles refunds in this case.
please note that 3rd party compatibility is not guaranteed and is not included with item support.
Please let me know if you have any questions. Thank you.
No problem, I guess we can do it manually by not refunding the deposit and jsut adding money to their woowallet.
I had another question, how can i change the text that is written in the checkout that says security deposit XXXXXX
My site is in german and Id like it to say something custom, is there a snippet I can change/add
Thanks
Lewys
add_action('init','wcsdp_custom_remove_hooks');
function wcsdp_custom_remove_hooks(){
global $wc_security_deposits;
if($wc_security_deposits){
remove_action( 'woocommerce_cart_calculate_fees' , array( $wc_security_deposits->cart , 'calculate_fees' ) , 100 );
}
}
add_action( 'woocommerce_cart_calculate_fees' , 'wcsdp_custom_calculate_fees' , 100 , 1 );
function wcsdp_custom_calculate_fees( $cart ){
foreach( $cart->cart_contents as $cart_item_key => &$cart_item ){
if( isset( $cart_item[ 'security_deposit_enabled' ] ) && $cart_item[ 'security_deposit_enabled' ] === 'yes' ){
$product_id = $cart_item[ 'product_id' ];
$product = wc_get_product( $product_id );
$deposit_amount = $product->get_meta( '_wc_security_deposits_deposit_amount' , true );
$deposit_amount_type = $product->get_meta( '_wc_security_deposits_amount_type' , true );
$multiply_by_quantity = $product->get_meta( '_wc_security_deposits_multiply_by_quantity' , true );
$product_price = $cart_item['line_subtotal'] / $cart_item['quantity'];
if( $product->get_type() === 'variable' ){
$variation_product = wc_get_product( $cart_item[ 'variation_id' ] );
$override = $variation_product->get_meta( '_wc_security_deposits_override_product_settings' , true ) === 'yes';
if( $override ){
$deposit_amount_type = $variation_product->get_meta( '_wc_security_deposits_amount_type' , true );
$deposit_amount = $variation_product->get_meta( '_wc_security_deposits_deposit_amount' , true );
$multiply_by_quantity = $variation_product->get_meta( '_wc_security_deposits_multiply_by_quantity' , true );
}
} else if( $product->get_type() === 'booking' ){
$product_price = $cart_item[ 'booking' ][ '_cost' ];
}
$amount = floatval( $deposit_amount );
if( $deposit_amount_type === 'percent' ){
$amount = floatval( $product_price ) * ( $amount / 100 );
}
if( $multiply_by_quantity === 'yes' ){
$amount *= $cart_item[ 'quantity' ];
}
if( $product->get_type() === 'booking' ){
if( $product->has_persons() && $product->get_meta( '_wc_security_deposits_multiply_per_persons' , true ) === 'yes' ){
$persons = array_sum( $cart_item[ 'booking' ][ '_persons' ] );
$amount *= $persons;
}
}
$amount = apply_filters( 'wc_security_deposits_product_security_deposit_amount' , $amount , $product );
$reference_code = $cart_item[ 'security_deposit_ref' ];
WC()->cart->cart_contents[ $cart_item_key ][ 'data' ]->security_deposit_enabled = 'yes';
WC()->cart->cart_contents[ $cart_item_key ][ 'data' ]->security_deposit_reference_number = $reference_code;
WC()->cart->cart_contents[ $cart_item_key ][ 'data' ]->security_deposit_amount = floatval( $amount );
$fee_taxable = get_option( 'wc_security_deposits_apply_tax_on_fee' ) === 'yes';
//add the fee
$custom_message = 'Custom Message';
WC()->cart->add_fee( $custom_message . ' - #' . $reference_code , floatval( $amount ) , $fee_taxable );
}
}
}
Please let me know if you have any questions. Thank you.
Hey, thanks for the snippet, It seems to have worked partially, but only for some of the terms and not the others. Is is possible to just search for the terms in the plugin code and change them?
Hello,
Yes it would be possible to replace the message from plugin code directly, in file wp-content/plugins/woocommerce-security-deposits/includes/class-wc-security-deposits-cart.php line 165 is the function WC()>cart>add_fee() , you can replace the part ”$fee_prefix . $product_name .” with your custom message.
Please let me know if you have any questions. Thank you
Hi there, pre-purchase question…
We have a photography studio https://mullensstreetstudio.com.au/ and we’re using the Woocommerce Bookings plugin to manage the studio session bookings. As it is one single space, so we can only use the one woo product.
Recently we have had new customers hiring the studio who are leaving it in a mess. I am now exploring the possibility of implementing of a cleaning deposit at the time of booking. Hence why I am looking at your plugin.
Everything looks good however, what I don’t want to do is force the cleaning deposit on our trusted customers who have booked over 40 times. Therefore I would like to some how: Only apply the cleaning deposit to new customers.
Could done by providing regular trusted customers a discount code, where the discount only works against the deposit.
Or, no deposit for customers who have booked +xx times?
Our, by creating and using user groups, no deposit required if the user is in the Trusted User group?
Thanks,
Steve
Hello,
I would recommend the approach of user role, which can be achieved by adding a small snippet to functions.php file of active theme so that when current user has a specific role ( “trusted” for example ) , no deposit will be collected during checkout.
If you decide to proceed with this solution, please send me a message via support tab for the snippet after purchasing and activating plugin.
Please let me know if you have any questions.
Thank you.
Hi, your plugin looks very nice. Is it compatible with RedQ RnB? https://redq.io/rnb
Thanks in advance!
Hello,
I am very sorry I missed your initial comment, I guess did not get notification email for it back at the time.
Unfortunately , customers reported back compatibility issues because RedQ plugin ignores all woocommerce fees in their custom calculation.
Thank you.
presale – is it supporting WP multisite network?
Hello,
Yes. It will work on multisite.
Thank you.
does the license you offer has lifetime validity? in how many sites can we use this plugin?
is your plugin compatible with paypal. Does your plugin have paypal button for refunds? Can you explain or share doc file link for refund API for payment gateways?
Plugin is compatible with paypal , it does not add any new buttons for specific gateways but a general button that uses woocommerce refund API ( through the standard woocommerce function wc_create_refund) so the API for refunds will depend on the gateway used.
Please let me know if you have any questions.
Thank you.
Does this plugin actually make a charge to the card, or is it a ‘hold’ so to speak? We take a percentage booking using WooCommerce already, but need the functionality to be able to charge a card if breakages are made after a visitor leaves our properties, for example.
Hello,
Plugin adds the security deposit dynamically as a woocommerce fee through cart & checkout , the rules of used gateway will apply to both fee & rest of order.
many websites using this plugin choose to operate in authorize mode to and capture payments on order completion to avoid being charged for refunds, I would suggest that approach if the gateway your site is using charge for refunds.
Please let me know if you have any questions.
Thank you.
Hi, do this plugin support dokan or wc vendor plugin?
Hello,
Plugin does not contain any specific code for either plugin but it should work fine with any woocommerce product.
Thank you.
At the checkout can the security deposit be calculated on the order total?
Bump?
Can the security deposit be greater than the total?
Hello,
I am very sorry I missed your initial comment, I guess did not get notification email for it back at the time.
The security deposit can be calculated based on cart total or on product-based level and can be greater value than price total.
Thank you.
Hello,
I intend to create a booking rooms renting platform (using woocommerce for payments).
Does your deposit plugin work on such a platform, to allow users to pay partially a deposit to admin and then the remaining via direct payment to room’s owners?
Thank you.
Hello,
This plugins charges security deposit on top of product cost but it is all charged in one time as it is not partial payments plugin, I believe the plugin you are looking for is https://codecanyon.net/item/woocommerce-deposits-partial-payments-plugin/9249233
Thank you.
Thank you.
Hello, is paypal an option for this plugin?
I am very interested in this product and am also curious what payment methods it uses if not paypal. Also if there are any fees involved?
Hello,
Plugin uses woocommerce methods to add fees so any gateway that is following woocommerce standards should be ok with it, It was tested with paypal gateway bundled with woocommerce and works fine.
Some gateways have fees on refund so please refer to your used gateways for any refund fees.
Thank you.
Hi. Is there a way to test this plugin? My website is www.babycres.com
Hello
Unfortunately there is no free trial program available.
Thank you.
Hi
This plugin looks like exactly what we need however do you know if it is compatible with the following plugin:
WooCommerce Bookings And Appointments https://www.pluginhive.com/product/woocommerce-booking-and-appointments/I know you cant guarantee that it will work with a 3rd party plugin but perhaps you have had clients in the past that you know have used these plugins in conjunction with each other.
Thanks Lee
Hello,
Unfortunately there is no information regarding compatibility with mentioned plugin but plugin uses the basic functions of woocommerce core so there should be no issues with majority of plugins out there.
Thank you.
Is it possible to refund part of a deposit and not all of it?
Hello,
Yes it possible but you will need to disable automatic refund for order in this case.
Thank you.
I have already disabled automatic refunds but when I click refund it refunds the whole amount and does not let me enter the amount
Hello,
Apologies for the delayed reply , refund button is meant to be a quick refund for entire amount , for partial refund you can use the woocommerce ” refund” button and insert refund amount next to associated fee.
Thank you.
Hi Good day
Is there a way for me to test this plugin before I buy it.
I have had so many issues with other plugin, but this might seem like the best one so far.
Hello,
I was in the process of setting a testing site but realized you already purchased the plugin. Hope everything is ok so far 
Thank you.
Hi there! Pre-sale question.
I have a client that is a Limo Rental company. I’m using WooCommerce to handle online bookings of various limos and packages.
Lately, they have had an issue with some of their “party limos” with people puking (throwing up), which of course cost them extra to clean.
So what they’d like to do is have a sort of deposit, like a “puke deposit” haha
The initial idea was to have a certain amount set “on hold” kind of like what a hotel does. Then they would only charge it if needed.
Then I came across your plugin witch seems to charge the deposit upfront, then refund if it’s not needed. So this is a sort of reverse approach.
My question is… is it possible to have this plugin behave more like the initial idea we had… where it does more of a pre-authorization hold, but doesn’t actually charge it?
Thanks!
Just making sure you’ve seen this question? Thanks!
Hello, Apologies for the delayed reply, authorize / capture is a feature usually implemented by gateways , if gateway support authorize method (such as stripe for example ) you will be able of achieving that scenario , if there is security deposit then upon placing order the entire amount will be authorized , you can after that adjust whether or not do refund deposit before changing order status to completed ( which is when the charge happens )
Thank you.
Hi there, how can we implement it on https://artdesign.dk/ and https://nyheterafton.se/ ? And do we have to have 3 licenses?
Hello,
Please refer to documentation on how to install and use plugin : https://woocommerce-security-deposits.codecraze.io/documentation/
I think a different license is needed for each different end product ( website in this case) , for more information about licesne please check codecanyon license page : https://codecanyon.net/licenses/standardThank you.
Hello, Is it possible to charge the security deposit on a per order instead of per product?
Hello,
Apologies for the delayed reply, Yes this can be done in latest version (1.1.0)
Thank you.
I have the latest version, could you please let me know how I can do this as I can’t see any option?
Thanks
You can find the settings section for Cart Deposit Settings in Woocommerce settings >> Security Deposits tab
Thank you.
Thank you very much I found it, realised I wasn’t on the latest version as you updated very recently 
May I make a feature request for a future update please?
It would be fantastic if the “Cart Deposit” could be excluded from specified products if they are the only product in the cart.
My client has a scenario where majority of the products will require a fixed (one-time) deposit so the cart deposit works great for this, however there are a couple of products which do not require the deposit but because “Cart Deposit” is across the whole site it is still charged.
I guess an option on the “Edit Product” page would be good, simply to “Disable Cart Deposit”.
Thank you again for your support.
Thank you for your feedback, It will definitely be considered for future versions 
Hello, I wish to use a tour booking plugin and charge for advance tours and rentals reservations. I want to also charge a security deposit on the customers order however with the booking function someone may book days, weeks or months in advance. I want to only charge order amounts at time of booking and after customer payment is approved, later on the date of the scheduled rental charge the security deposit. Can I add your plugin to enable security deposits that are added to a Woocommerce order in Processing Order status?
Does Plug-in support the latest Woocommerce and Wordpress? I am currently using WP 5.0.3
Hello,
This plugins charges security deposit on top of product cost but it is all charged in one time as it is not partial payments plugin, I believe the plugin you are looking for is https://codecanyon.net/item/woocommerce-deposits-partial-payments-plugin/9249233
Thank you.