Patrik

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 391 total)
  • Author
    Posts
  • in reply to: What is the use of item meta on cart_details? #4087

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can manually add item description in the item from admin side and add the item in the invoice and then check on the view invoice page which will show the item description below item name. I am not sure what you are doing with the run time but we don’t provide support for the customization here.

    Regards,
    Patrik

    in reply to: What is the use of item meta on cart_details? #4085

    Patrik
    Moderator
    Post count: 1971

    Hi,

    The description is an excerpt ‘post_excerpt’ from the item post.

    You can style the invoice as per your requirements by overriding the templates in your theme.

    Regards,
    Patrik

    in reply to: What is the use of item meta on cart_details? #4083

    Patrik
    Moderator
    Post count: 1971

    Hi,

    This array contains all items and invoice details in the cart. You can add a description to the item but it will be saved in the item and so when you will add the same item to another invoice you have to modify the description at the time of adding an item into invoice otherwise it will take the previous description.

    Regards,
    Patrik

    in reply to: Using a merge tag with Ninja Forms integration #3998

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Yes, You can’t use the field variable in it as it will not have a value at the time of form displayed but it will add value to that field while processing the form. So in our add on we will not get the dynamic value while processing the form data. It should have fix value while displaying the form. You might take help of Javascript to add value to the hidden field on the radio button change event.

    Regards,
    Patrik

    in reply to: Using a merge tag with Ninja Forms integration #3983

    Patrik
    Moderator
    Post count: 1971

    Hi,

    There should be item ID in the hidden field and not the shortcode or any text. If there are multiple items then the IDs can be separated by pipe sign “|”. Example: 100|101

    Regards,
    Patrik

    in reply to: BLANK CUSTOMER INVOICE #3913

    Patrik
    Moderator
    Post count: 1971

    Hi,

    There are so many JS errors on your site on the frontend which need to be resolved as it can be the reason for conflicts with our invoicing plugin. The error is because you have not entered card details in the form and due to the JS errors, the stripe credit card details form is not displaying. I would suggest use fewer plugins or take help from the developer.

    Regards,
    Patrik

    in reply to: Master Card Hosted Checkout Integration #3912

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Yes, it’s possible to integrate the payment gateway with hosted pages for invoicing.

    Regards,
    Patrik

    in reply to: A few questions. #3895

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can put the following code in functions.php file of currently active theme or in Code Snippet plugin to make the state field blank or set it to something else:

    add_filter('wpinv_checkout_billing_details', 'wpinv_checkout_billing_details_cb', 10, 1);
    function wpinv_checkout_billing_details_cb($user_info){
    	$user_info['state'] = ''; // set blank or assign some other value
        return $user_info;
    }

    Regards,
    Patrik


    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have fixed the issue from the code and it will be available in the next update release as well. Also, I have tried to activate the add on and it’s activated without error. So you can do the next things as you want. Let me know if you face any other issues.

    Regards,
    Patrik


    Patrik
    Moderator
    Post count: 1971

    Hi,

    Can you please mention the version of Gravity form, Invoicing and Gravity form add on? If possible provide admin and FTP details in private reply to troubleshoot the issue on your site as it might be related to your site only.

    Regards,
    Patrik

    in reply to: Make user_note Appear on Invoice Memo Line? #3859

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can try the following code by putting in functions.php file of currently active theme or using Code Snippets plugin on backend:

    
    
    add_action('wpinv_invoice_print_after_line_items', 'wpinv_invoice_print_after_line_items_cb', 10, 1);
    function wpinv_invoice_print_after_line_items_cb($invoice){
        if(!$invoice){
            return;
        }
    
    	$notes = wpinv_get_invoice_notes( $invoice->ID );
    
    	echo '<ul class="invoice_notes">';
    
    	if ( $notes ) {
    		foreach( $notes as $note ) {
    			$is_customer_note = get_comment_meta( $note->comment_ID, '_wpi_customer_note', true );
    			if($is_customer_note) {
    				?>
                    <li rel="<?php echo absint( $note->comment_ID ); ?>" class="">
                        <div class="note_content">
    						<?php echo wpautop( wptexturize( wp_kses_post( $note->comment_content ) ) ); ?>
                        </div>
                    </li>
    				<?php
    			}
    		}
    
    	}
    
    	echo '</ul>';
    }

    Let me know if it helps or not.

    Regards,
    Patrik

    in reply to: Stripe error when payment #3858

    Patrik
    Moderator
    Post count: 1971

    Hi,

    We have many people using this and there were no such issues but as per your video, I found that the issue is due to the live credit card used for with test mode active and if you deactivate the test mode and use the live card it should work. I would suggest providing a similar video with test mode disable and we can look into the error displayed while checkout.

    Regards,
    Patrik

    in reply to: Multiple Customer Emails. #3855

    Patrik
    Moderator
    Post count: 1971

    Hi,

    This is not easily possible currently without customization. You can try following code snippet by putting into the active theme’s functions.php file or creating a snippet using Code Snippets plugin from the backend:

    
    add_action('wpinv_post_send_invoice_notification', 'send_user_invoice_mail_cc', 10, 2);
    function send_user_invoice_mail_cc($invoice, $email_type){
    	if(isset($email_type) && 'user_invoice' != $email_type){
    		return false;
    	}
    
    	if ( empty( $invoice ) ) {
    		return false;
    	}
    
    	$invoice_id = $invoice->ID;
    
    	$recipient  = 'abc@mycompany.com, xyz@mycompany.com'; //change to your CC email addresses
    	$subject        = wpinv_email_get_subject( $email_type, $invoice_id, $invoice );
    	$email_heading  = wpinv_email_get_heading( $email_type, $invoice_id, $invoice );
    	$headers        = wpinv_email_get_headers( $email_type, $invoice_id, $invoice );
    	$message_body   = wpinv_email_get_content( $email_type, $invoice_id, $invoice );
    	$attachments    = wpinv_email_get_attachments( $email_type, $invoice_id, $invoice );
    
    	$content        = wpinv_get_template_html( 'emails/wpinv-email-' . $email_type . '.php', array(
    		'invoice'       => $invoice,
    		'email_type'    => $email_type,
    		'email_heading' => $email_heading,
    		'sent_to_admin' => false,
    		'plain_text'    => false,
    		'message_body'  => $message_body,
    	) );
    
    	return wpinv_mail_send( $recipient, $subject, $content, $headers, $attachments );
    }
    

    This will send another email with the same content to given recipient addresses. Don’t forget to change the email address from ‘abc@mycompany.com, xyz@mycompany.com‘ to your email addresses. You can add a comma-separated list of email addresses. Let me know if it helps or not.

    Regards,
    Patrik

    in reply to: Invalid Email Address #3850

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have made the changes to fix this issue on your site. Can you please check and let me know if it fixes the issue or not?

    Regards,
    Patrik

    in reply to: Stripe error when payment #3846

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 391 total)