Support » Plugin: License Manager for WooCommerce » No key with paypal

  • Resolved madgicsysteme

    (@madgicsysteme)


    Hello, it’s me again.

    I hava a problem. When I buy an article with the bank check method, the key is generated. But with the PayPal Checkout method, the key is not generated and when I push to “send licence key(s) to customer” in the order section, I received a mail with no key.

    http://tof.cx/images/2019/06/10/dc4e7e2f0d4a1e9f10c315f45ff60c12.png

    In the user account :

    http://tof.cx/images/2019/06/10/51912cecd0cc37aa7ce1b99e571dc446.png

    In the order notes or the order, there is this note : “Une erreur est survenue pendant le changement d’état. Created by User ID is invalid” Translation : An error occurred during the change of state. Created by User ID is invalid. Maybe it’s a log or your plugin or not.

    There is nothing in the licence manager administration.

    Maybe it’s a bug but maybe it’s me because it’s the first time I create a wordpress site.

    Thank you for your help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @madgicsysteme,

    is the order status set to “Complete” or “Processing” after the PayPal payment went through?

    Yes, the status is completed.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    Try changing the status from “Complete” to “Processing” and then back to “Complete”. Does this send out the license key?

    Yes, this send out the license key.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    @madgicsysteme,

    the problem seems to be the following:

    The plugin in configured to send out the license keys when the order status changes to “Complete”. However, when using PayPal orders seem to be put on “Complete” right away.

    You can change this via the settings, so that every paid order is set to “Processing” for example, then you would have to manually set the order status to “Complete” and your license keys will be sent out. In the meantime I will add this into my backlog and work on a fix.

    Quick question: Do you use the WooCommerce PayPal Checkout Gateway plugin by WooCommerce?

    Yes, it’s this plugin.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    @madgicsysteme,

    okay then everything is clear.

    I’ll set up a PayPal sandbox environment and try to recreate the problem locally. Once I have it I will start working on a fix. In the meantime, if it’s possible for you, please configure the plugin to set orders to “Processing” and then manually set them to complete.

    Hello Drazen

    I’m having the same problem (and yes, I’m also using Paypal, but it is happening also with my digital downloads – automatically processed/completed), but in my case it does not matters if I change it back to processing and then again to completed. It will resend the email but the license code is still not showing. In addition, the license count is never decreased (used).

    Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @jmastrap,

    thank you for your message and for your interest in my plugin.

    I haven’t had time to check this out yet, I’ve been busy with another project and an extra load of work. This issue will be added to the backlog and addressed in the coming plugin release.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.