689 posts
  • Affiliate Level 3
  • Author Level 6
  • Beta Tester
  • Collector Level 4
+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
  • Affiliate Level 2
  • Author Level 4
  • Beta Tester
  • Collector Level 4
+6 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.

789 posts Magento Elite & Gravity Maker
  • Elite Author
  • Author Level 8
  • United States
  • 5 Years of Membership
+4 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
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says

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

366 posts
  • Industrious API Inventor
  • Top Monthly Author
  • Weekly Top Seller
  • Envato Team
+11 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/
689 posts
  • Affiliate Level 3
  • Author Level 6
  • Beta Tester
  • Collector Level 4
+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.

1237 posts
  • Winner
  • Most Wanted Winner
  • Envato Pack
  • Beta Tester
+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.

366 posts
  • Industrious API Inventor
  • Top Monthly Author
  • Weekly Top Seller
  • Envato Team
+11 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"}}
689 posts
  • Affiliate Level 3
  • Author Level 6
  • Beta Tester
  • Collector Level 4
+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

by
by
by
by
by
by