Posts by contempoinc

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Honestly who cares if new or old authors open up rant threads, you don’t have to read them. Dunno how you find the time to write novel length threads like this lol

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Best of luck on your future endeavors Dan, its been great having you as the elite manager!

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Congrats, I’m right behind ya!

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Sublime Text, Github, WAMP, Filezilla, Illustrator, Photoshop just for logos & images I design directly in the browser. Oh…and my brain and hands.

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Did a quick lil’guy

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says
1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Thanks for the code, actually figured it out but yours is correct as well.

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Thanks for the code, actually figured it out but yours is correct as well.

1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Ah, thanks for the link sir! So I need to add a user agent this is the current code I’m using what exactly do I need to modify? Any help is appreciated!

// Validate item purchase code
        $result = array();

        if( !empty($posted['purchasecode']) && !empty($posted['username']) ) {
            [name and ID removed]
            $purchase_code = urlencode($posted['purchasecode']);
            $result_from_json = file_get_contents('http://marketplace.envato.com/api/edge/'.$username.'/'.$api_key.'/verify-purchase:'.$purchase_code.'.json');
            $result = json_decode($result_from_json, true);
        }

        if( $result['verify-purchase']['item_name'] && !empty($posted['username']) ) {

            if( strcmp( $result['verify-purchase']['buyer'] , $posted['username'] ) !== 0 )
                $errors->add('required-purchasecode', __('That username is not valid for this item purchase code. Please make sure you entered the correct username.', 'woothemes') );

        } elseif ( !empty($posted['purchasecode']) ) {

            if ( !empty($posted['username']) ) $errors->add('required-purchasecode', __('That is not a valid item purchase code.', 'woothemes') );

        }
1615 posts Chris Robinson
  • Located in United States
  • Has sold $500,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
contempoinc says

Anyone else having buyers report having issues with their purchase codes not being validated through the Envato API just recently? I’ve had several buyers over the past few days report this, has something changed?

by
by
by
by
by
by