973 posts
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
aaranmcguire says

hey,

Its known that verifying purchases inside a script can be annoying, the user needs to find the item download a text file find the key, enter it in and finally done.. now to people reading this, it might be easy, but for clients it can be difficult.

I have made this script (watch video first) that takes the licence download link and puts it in to the info you need.

Video: http://www.screenr.com/oUes

Demo: http://hm.vc/alternative_verifier.php

Code: http://cl.ly/DM97

I could add styling to it but i want it to be simple to find out whats needed and whats not. It only took a few minutes to make after i found the username and the purchase code in the url but let me know what you think about it, good? bad?

Thanks for taking your time to read. hope you like it! :)

3723 posts Community Moderator
  • Has referred more than 5000 members
  • Has sold $40,000+ on Envato Market
  • Had an item featured in an Envato Bundle
  • Has collected 100+ items on Envato Market
+8 more
quickandeasy says

Nice work, although I think you should style it up ;)

973 posts
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
aaranmcguire says

Nice work, although I think you should style it up ;)

Thanks, i will look in to doing one soon.

240 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
phpdude says

I like the idea of making it less work for the client, but….. I think perhaps it can be taken a further step to make it super easy:

Make a bookmarklet, scan the page for license URLs , create an array of license URLs, then parse these over to your own PHP script, check each license via the API to see if it’s your product and then you have a list of items that person has purchased from you, which have been confirmed as purchased.

Then you can store in a database etc etc etc.

240 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
phpdude says

Also, this does exactly the same job, just fewer lines and IMO easier to read:

if(isset($_POST['url'])) {
    list(,,$username,,$purchase) = explode('/',parse_url($_POST['url'],PHP_URL_PATH));
    echo 'Username: ' . $username . '<br />Purchase Code: ' . $purchase;
}

:)

973 posts
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
aaranmcguire says
||+519187|phpdude said-|| Also, this does exactly the same job, just fewer lines and IMO easier to read:
if(isset($_POST['url'])) {
    list(,,$username,,$purchase) = explode('/',parse_url($_POST['url'],PHP_URL_PATH));
    echo 'Username: ' . $username . '<br />Purchase Code: ' . $purchase;
}
:)

yh, thats also good, never really used list but that works…

the bookmarklet idea is to much of a fuss, a extension might be good if you could hover over the licence url and it displays ‘copy licence code’

1 post
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
covinnus says

Hi,

I bought the Flatco theme and when I typed the purchase code I was told “Sorry, this key is already in the database. If you think this is a mistake, please contact us to resolve the issue.” Despite this I still don’t have access to the forum. Please help me. Thank you.

1501 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+9 more
ImanGM says

Hi, I bought the Flatco theme and when I typed the purchase code I was told “Sorry, this key is already in the database. If you think this is a mistake, please contact us to resolve the issue.” Despite this I still don’t have access to the forum. Please help me. Thank you.

Hi,

This is a public forum and of course this thread is so old and is not related to your issue. You can get better help by contacting your item author here:

http://themeforest.net/item/flatco-responsive-multipurpose-one-page-theme/5222241/support

I hope this will help you.

Cheers,
Iman

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by