• Resolved Anonymous User 5862444

    (@anonymized-5862444)


    HI,

    I can read on the features that
    Feature: Compatibility filter for WooCommerce Subscriptions (prevents duplicate invoice numbers)
    Does it means that the plugin is fully compatible with woocommerce subscriptions: for each term of a recurring paiement, the plugin will send an invoice with an unique number to the customer?

    let’s say i have a monthly reccuring paiement. The plugin will send to me an unique invoice (with an unique number) along with the woocommerce subscription mail message that is probable sent?

    regards,

    Thomas

    https://www.ads-software.com/plugins/woocommerce-pdf-invoices-packing-slips/

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Yes, the plugin will automatically detect the Subscription emails and list them in the General settings, allowing you to attach the invoice to them. That compatibility filter makes sure that it won’t duplicate invoice numbers and indeed make unique invoices for subscription renewals.

    Ewout

    Thread Starter Anonymous User 5862444

    (@anonymized-5862444)

    Hi,

    thanks for replying!

    Checking the pdf generated for a subscription i see this on the pdf in total amount:

    7,00€up front then
    3,00€/ day for 2
    days

    Shouldn’t the first invoice have a total amount of : 7€ + 1 day of subscription at 3 € = 10 €
    instead it displays the text above that is not an amount

    Did i missed something?

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Tomcaz,
    These amounts come straight from Subscriptions like that (you will find that it is displayed exactly the same in the regular WooCommerce emails. This plugin doesn’t make any new calculations or changes to the way the costs are displayed.

    Please contact WooThemes if you have any questions about how to change this, as it is something not directly related to the PDF invoice plugin.

    Ewout

    Thread Starter Anonymous User 5862444

    (@anonymized-5862444)

    Hi,

    Thanks for replying,

    Indeed, it works like that. For thoose like me that don’t like this way of displaying amount, we can change it by changing the translation (removing the “up front then
    3,00€/ day for 2
    days”)

    Concerning the plugin, i noticed that the pdf invoice wasn’t automatically generated for renewal order (not the first order but its renewal). If i ask to create invoice after order is complete, it works . But i asked to send again the completed order, and no pdf was included while one was just created for that complete order (after sending of the first compete order though).

    Do we have to generate manually the invoice for subscription renewal or i missed something?

    Thomas

    Plugin Contributor Ewout

    (@pomegranate)

    You will have to check the box in front of the “Completed Renewal Order” email.
    https://i.imgur.com/n8TjIfk.png (or course, your preference may be different from this screenshot)

    Thread Starter Anonymous User 5862444

    (@anonymized-5862444)

    Thanks for replying so fast!

    I don’t have the suscriptions checkboxes in my options. I only have the checkboxes for regular order (the fourth ones in your picture)

    I tried re install the plugin since i installed it after woocommerce and before woocommerce subscription but it didn’t change anything

    Why i don’t have the checkboxes? ANy idea?

    I have the same problem. I can′t see this checkboxes ??

    Plugin Contributor Ewout

    (@pomegranate)

    I am sorry, I didn’t realize this is a feature of the professional extension and not the free version. For the free version, you will have to use a filter in your theme’s functions.php:

    add_filter( 'wpo_wcpdf_email_allowed_statuses', 'wpo_wcpdf_subscription_renewal_invoice', 10, 1 );
    function wpo_wcpdf_subscription_renewal_invoice ( $allowed_statuses ) {
    	$subscription_statuses = array( 'customer_completed_renewal_order', 'customer_renewal_invoice' );
    	return array_merge($allowed_statuses, $subscription_statuses);
    }

    (you can add ‘customer_processing_renewal_order’ to the array list if you need that too)

    Kind regards,
    Ewout Fernhout

    Thread Starter Anonymous User 5862444

    (@anonymized-5862444)

    Hi,

    Thanks for answering so fast. We solve it within the day!

    I am going to give you a great review!

    Thomas

    Plugin Contributor Ewout

    (@pomegranate)

    Good to hear that resolved it. Thank you very much for the review!

    Hello

    I have a problem with this filter. when renew order is created. an email is sended to the customer, but the PDF atached is corrupted.( The pdf file open but its empty)

    Also i am printing the invoice number in the email template and it appear in 00000000000.

    I don′t known if tomcaz have the some problem.

    Regards

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Luis,
    I’m sorry about that. Do you have a staging site? If so, please send the details to [email protected] so I can check it out. I have several customers that use Subscriptions and have no problems with the PDF attachment.

    Note that if you want to print the invoice number in the email template, you need to create it first, because WooCommerce first creates the email and then the invoice is created. So the invoice number is not available yet at that time. See this thread:
    https://www.ads-software.com/support/topic/request-do-invoice-number-generation-work-before-invoice-email-generation?replies=3
    (after this code, you can echo $invoice_number)

    To keep the forum clean, I suggest that you use that thread for questions about printing the invoice number in the email and this thread about subscriptions – it will help other users find the information they need!

    Ewout

    Another thing, if i resend the email later, manually editing the order: “completed renewal order” pdf and email are ok.

    Hello Ewout for quick reply.

    OK, i add the code in my template mencioned in

    https://www.ads-software.com/support/topic/feature-compatibility-filter-for-woocommerce-subscriptions-prevents-duplicate?replies=14#post-6589658

    I think that the PDF attached is broken for the same question that is not generated yet.

    Sorry for reopen the thread. I am goiing to try with this and if is not solve the my problem a going to send an email.

    best regards!

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Luis,
    Try without the invoice number in the email first. I can’t tell from here what customizations you have made, and it might be that one filter in interfering with another. From the number of threads you have opened, it seems like you have a lot of customizations ??

    I’m pretty sure that the PDF attached is not broken because it is not generated yet – it is never generated before the email is sent! (well unless you manually create it first)
    It may also be a memory issue.

    Ewout

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Feature: Compatibility filter for WooCommerce Subscriptions (prevents duplicate’ is closed to new replies.