653 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
UBLThemes says

Hi Guys,

I am looking into the envato api system and there is something puzzling me.

How can i test the purchase verification?

As the author does not get the buyers verification number and the payment verification api section requires The authors username and the purchase verification.

So is there no way of testing this?

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

I believe you can test with something you have downloaded (thats made by another author) because you use the purchasers API code can purchase code.

716 posts Magento Elite & Gravity Maker
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+3 more
GravityDept says

If Envato is listening, purchase verification is a PITA because of the privacy policy.

This should be a real thing:
  1. If author is logged in
  2. View any user profile
  3. See if, which, when, and how many items of mine they have purchased

The API should return the same info just as easily. It’s incomprehensible that authors have no right to know who their customers are, but Envato does.

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says

Don’t know of any other way than buying one of your files from a separate account.

365 posts
  • Member of the Envato Team
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
Philo01 Envato team says

Don’t know of any other way than buying one of your files from a separate account.
This is the way how I test it. Don’t think there is any other way ;) Check this article for more information on how to use the API : http://net.tutsplus.com/tutorials/how-to-use-the-latest-updates-to-the-marketplace-api/
653 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
UBLThemes says


Don’t know of any other way than buying one of your files from a separate account.
This is the way how I test it. Don’t think there is any other way ;)

This surely isn’t right? surely Envato should be able to offer an api that works without having to corrupt it by fake purchasing.

1221 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+7 more
chiccosinalo says

i am sure that is possible you just need a further research, because when any buyer of a file comments to that file thy are tagged as buyer. so if you get to know how this is done you are set.

365 posts
  • Member of the Envato Team
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
Philo01 Envato team says

Another option is to use test data. This is how the API response looks like (after json_decode):

stdClass Object
(
    [verify-purchase] => stdClass Object
        (
            [buyer] => john
            [created_at] => Wed Jan 01 01:00:00 +1100 2012
            [licence] => Regular Licence
            [item_name] => Item Name
            [item_id] => 123456
        )

)

The API response format is JSON , this is how a verified purchase will look like:

{"verify-purchase":{"buyer":"john","created_at":"Wed Jan 01 01:00:00 +1100 2012","licence":"Regular Licence","item_name":"Item Name","item_id":"123456"}}
653 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
UBLThemes says

Is there a purchase code for testing purposes? It seems silly that I’ll have to buy something just to test their API .

Not for what I can see

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