Conversation
supportHello, Is it possible to setup minimum order amount for btc payments? Most of my items cost 15$ and most of exchanges has minimum withdraw of 0.001 which is more than 15. Want to set up btc payments only available if order for example is 30$. Thanks!
Hi, I hope you’re doing well. Thanks for showing your interest in Plugin. You want to disable entire plugin when user want transection less thn $30, or just want to prevent transection from BTC? Thanks
Want to prevent bitcoin payments for transactions less than $30. So if customer chooses coinbase (bitcoin) payment method he/she gets error message that minimum order amount for bitcoin is $30
Hi, That’s not possible, but we can control anything happening before redirecting to transection page. Thanks
I want this to be possible at checkout page. I found few plugins can do that, like Booster, but its only available on payed version. I found you can do this trough functions.php for normal payments. See here: ** * Set a minimum order amount for checkout */ add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' ); add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' ); function wc_minimum_order_amount() { // Set this variable to specify a minimum order value $minimum = 50; if ( WC()->cart->total < $minimum ) { if( is_cart() ) { wc_print_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order ' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } else { wc_add_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } } } Maybe coinbase payments has simmilar function? 🙂
Since this is user specific requirement, that we can not add into it, but I would like to suggest you to go through this ticket: https://wordpress.org/support/topic/before-posting-customer-and-pro-user/
Hi, I hope you’re doing well. Thanks for showing your interest in Plugin. You want to disable entire plugin when user want transection less thn $30, or just want to prevent transection from BTC? Thanks
Want to prevent bitcoin payments for transactions less than $30. So if customer chooses coinbase (bitcoin) payment method he/she gets error message that minimum order amount for bitcoin is $30
Hi, That’s not possible, but we can control anything happening before redirecting to transection page. Thanks
I want this to be possible at checkout page. I found few plugins can do that, like Booster, but its only available on payed version. I found you can do this trough functions.php for normal payments. See here: ** * Set a minimum order amount for checkout */ add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' ); add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' ); function wc_minimum_order_amount() { // Set this variable to specify a minimum order value $minimum = 50; if ( WC()->cart->total < $minimum ) { if( is_cart() ) { wc_print_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order ' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } else { wc_add_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } } } Maybe coinbase payments has simmilar function? 🙂
Since this is user specific requirement, that we can not add into it, but I would like to suggest you to go through this ticket: https://wordpress.org/support/topic/before-posting-customer-and-pro-user/