Caleb Burks

Results 93 comments of Caleb Burks
trafficstars

Seems to work w/ SSL as is. But there are some enhancements that could be added, namely the new authentication endpoint: https://woocommerce.wordpress.com/2015/08/07/api-settings-and-the-api-authentication-endpoint-in-2-4/ This only works with ssl though, so I'm...

Thanks for the feedback. Looks like I do need to do some more testing for SSL. Will likely just check for the presence of SSL, and then add that portion...

Uh, you've just posted your full consumer_key and consumer_secret, something people could use to access data on your real site and manipulate the database. Please delete that API key immediantly.

Not really sure what's going wrong for you. I recommend trying step 4 specifically: https://github.com/WPprodigy/woocommerce-external-product-embed#common-problems

If you've downloaded directly from the GH master branch, then you'll need to run composer: https://github.com/WPprodigy/woocommerce-external-product-embed#development Otherwise, you can download an already-built copy from the releases tab: https://github.com/WPprodigy/woocommerce-external-product-embed#installation

Hmm, so here I request the permalink from the API: https://github.com/WPprodigy/woocommerce-external-product-embed/blob/master/classes/class-wcepe-api-client.php#L79-L102 You can see the property here: http://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-products So I'm thinking it's coming from the API already "corrupted". Unless it's...

Okay, so here: https://github.com/WPprodigy/woocommerce-external-product-embed/blob/c4dad8180923bdfc541e776da76b26c88b0e4578/classes/class-wcepe-data-store.php#L103 Temporarily remove the `sanitize_text_field()`. Then clear transients. See if the permalinks come through then. Could also try making a request to the WC site directly with...

That line should become: ``` $product_data[ sanitize_key( $key ) ] = $value; ``` This won't be the correct long-term solution, but just want to see if that solves the problem....

If you don't mind testing, could you replace that whole function with this: https://gist.github.com/WPprodigy/5f0a7238d074c4f0d00fffa33767d832 and see if it still works (clear transients before testing) Would be helpful towards getting a...