flowdee / edd-software-license-manager

Seamless integration between the WordPress plugins Easy Digital Downloads and Software License Manager.
GNU General Public License v3.0
11 stars 7 forks source link

License Key Not Present In Receipt Or On The Check Out Display #5

Closed btwatts closed 8 years ago

btwatts commented 8 years ago

The code is successfully creating a license key, but I don't see it in either the HTML or plain text receipts sent to the user. Also, the key is not displayed to the user....

Unless the user can successfully retrieve the key (and much prefer automated), buying a licensed product doesn't work so much.

I haven't dug into the problem yet (because I need to get some sleep) and wondered if you are seeing the problem also.

flowdee commented 8 years ago

Hey @btwatts, thanks for reporting. You're running the lastest version of EDD & WP?

btwatts commented 8 years ago

Yes. Everything is current. I still haven't gotten to debugging.... ...but I was thinking.

The price was set to zero for testing.

I'm sure the license key was created.

I wonder if 'free' is causing the problem.

Byron On Jan 19, 2016 9:41 AM, "flowdee" notifications@github.com wrote:

Hey @btwatts https://github.com/btwatts, thanks for reporting. You're running the lastest version of EDD & WP?

— Reply to this email directly or view it on GitHub https://github.com/flowdee/edd-software-license-manager/issues/5#issuecomment-172891888 .

flowdee commented 8 years ago

Can you check it with an other price than free?

btwatts commented 8 years ago

I did a test with Stripe in test mode and I do not see a license number either.

The license was created as noted in the image.

I did an additional test with no template (text only) that is attached.

secondlicense

Gmail - New download purchase - Order #447.pdf

Gmail - Purchase Receipt.pdf licenseok

btwatts commented 8 years ago

I turned on debug (your extension checkbox) with another test of a free product. This is what it says:

byronco@byron.com [~/www/wp-content/plugins/edd-software-license-manager/log]# cat edd_slm_debug.log Log Date: Wed, 20 Jan 2016 20:15:07 +0000 --- License Key Creation - START --- Item: Evergreen Webinar Sales System

An additional question:

How painful would it be to enable more parameters (like, how long is a license valid) to your extension? I can look into it further if it would help.

flowdee commented 8 years ago

Thanks for your detailed reply! Can you give me a screenshot of the purchase email template out of the EDD settings page?

About the expiration date: I can think about, would be interesting as a new feature.

btwatts commented 8 years ago

I think this is what you're asking for: edd_payment

flowdee commented 8 years ago

Yeah thanks.

In general you have to place the {slm_license_keys} placeholder into this template. Otherwise the license keys won't be shown within the receipt.

Right now displaying the keys on the checkout page is not yet implemented.

btwatts commented 8 years ago

I don't think I saw any documentation saying there are setup requirements.

Updating the template now.

Thanks!

On Thu, Jan 21, 2016 at 3:27 AM, flowdee notifications@github.com wrote:

Yeah thanks.

In general you have to place the {slm_license_keys} placeholder into this template. Otherwise the license keys won't be shown within the receipt.

Right now displaying the keys on the checkout page is not yet implemented.

— Reply to this email directly or view it on GitHub https://github.com/flowdee/edd-software-license-manager/issues/5#issuecomment-173513140 .

btwatts commented 8 years ago

Yes that solves my problem.

Sorry for the confusion.

Thank you for your help!

On Thu, Jan 21, 2016 at 3:45 AM, Byron Watts btwatts@gmail.com wrote:

I don't think I saw any documentation saying there are setup requirements.

Updating the template now.

Thanks!

On Thu, Jan 21, 2016 at 3:27 AM, flowdee notifications@github.com wrote:

Yeah thanks.

In general you have to place the {slm_license_keys} placeholder into this template. Otherwise the license keys won't be shown within the receipt.

Right now displaying the keys on the checkout page is not yet implemented.

— Reply to this email directly or view it on GitHub https://github.com/flowdee/edd-software-license-manager/issues/5#issuecomment-173513140 .

flowdee commented 8 years ago

No problem :smile:

Usually the placeholder stands below the receipt textarea field. I'll check it with the latest version, it might disappeared due to the latest EDD updates. Anyway I'm going to extend the documentation on wp.org.

As I wrote I'm going to show the license keys on the purchase detail page sooner or later. Just have to find some time to implement this. :+1:

btwatts commented 8 years ago

It's there properly. I never thought to look there. On Jan 21, 2016 4:03 AM, "flowdee" notifications@github.com wrote:

No problem [image: :smile:]

Usually the placeholder stands below the receipt textarea field. I'll check it with the latest version, it might disappeared due to the latest EDD updates. Anyway I'm going to extend the documentation on wp.org.

As I wrote I'm going to show the license keys on the purchase detail page sooner or later. Just have to find some time to implement this. [image: :+1:]

— Reply to this email directly or view it on GitHub https://github.com/flowdee/edd-software-license-manager/issues/5#issuecomment-173522911 .

btwatts commented 8 years ago

...funny. I just had this same problem on my test site and forgot to update my receipt ... again.