Posts

Showing posts with the label hook-woocommerce

Indian rupee Not showing in Invoice PDF WooCommerce site

Image
Indian rupee Not showing in Invoice PDF WooCommerce site Indian rupee Not showing in Invoice PDF WooCommerce site.Right to change fonts deja vu and other things but it didn't work. In Firefox symbols are not even showing on Chrome a square box is appearing next to the amount price I help would be appreciated,code treid action( 'wp_enqueue_scripts', 'add_google_fonts' ); function add_google_fonts() { wp_enqueue_style( 'google_web_fonts', get_stylesheet_directory_uri() . '/dejavu/ttf/DejaVuSans.ttf' ); } Extended currency symbol support Enable this if your currency symbol is not displaying properly Enable font subsetting and Legacy mode has started showing currency symbol.....Resolved but only for chrome.problem remains on IE and firefox 1 Answer 1 As best I've been able to tell there the rupee symbol isn't a part of the DejaVu font. In this situatio...

woocommerce Dragonpay payment gateway

woocommerce Dragonpay payment gateway how and where dragonpay access to my site/plugin so that dragonpay can update of order status in woocommerce?this is the callback method in my plugin class payment_gateway extends WC_Payment_Gateway { function callback(){ global $woocommerce; $order_id = $_GET['txnid']; $status = $_GET['status']; $order = new WC_Order( $order_id ); if ($status == 'S') { $order->add_order_note('Dragonpay Payment Status: SUCCESSFUL'); $order->payment_complete(); wp_redirect($order->get_checkout_order_received_url()); exit; } } } Through it's own extended method payment_complete() normally… You should see in it the update_status() WC_Order method. – LoicTheAztec Jun 29 at 9:13 ...

Wordpress woocommrce pay here button to add invoice

Wordpress woocommrce pay here button to add invoice I'm a beginner for the WordPress.I used WooCommerce plugin.I want to know how to how to do like this part. website where user can add products in cart and submit order without paying (Order Quote) and receives thank you page. After receiving order, admin will review quote order and make changes in product price or add other charges and send proposal back to customer. Now Customer who has submitted order will review Order in My Orders screen and accept Website Admin proposal, which will then show use "Pay Now" button and customer will be again redirected to payment page for payment. anyone know how to do that correctly ? thanks You mean you want user to pay and user shouldn't get payment invoice ? – Sudharshan Nair 2 days ago ...