972 posts
  • United Kingdom
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
  • Exclusive Author
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! :)

3699 posts Community Moderator
  • Author had a File in an Envato Bundle
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Referred more than 2000 users
  • Has been a member for 4-5 years
  • United Kingdom
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
+4 more
quickandeasy Volunteer moderator says

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

972 posts
  • United Kingdom
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
  • Exclusive Author
aaranmcguire says

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

Thanks, i will look in to doing one soon.

230 posts
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • United Kingdom
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.

230 posts
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • United Kingdom
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;
}

:)

972 posts
  • United Kingdom
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
  • Exclusive Author
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
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
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.

845 posts
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Sold between 50 000 and 100 000 dollars
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

by
by
by
by
by
by