cielo-woocommerce icon indicating copy to clipboard operation
cielo-woocommerce copied to clipboard

Implements API 3.0

Open sandermendes opened this issue 8 years ago • 7 comments

Like i commented in a topic in another post https://wordpress.org/support/topic/novo-e-commerce-api-3-0-2/#post-8873798.

Changes to API 3.0 and function to able to capture the sale in Admin Order Page.

I a developer from desktop and i'm learning programming for web.

Sorry for some error of standards of programming, comments are welcome.

Best regards.

sandermendes avatar Mar 15 '17 17:03 sandermendes

Thanks for the Pull Request, but as I said before, we can't use Cielo's SDK and Namespaces, since we should support users from using PHP 5.2 and 5.3.

claudiosanches avatar Mar 15 '17 18:03 claudiosanches

I'll make some changes and create a file like class-wc-cielo-json.php in /includes.

sandermendes avatar Mar 15 '17 21:03 sandermendes

@sandermendes let me check it first, because maybe if the amount of changes required, maybe it's more easy start a new plugin for it, since it's confuse enough for the users today.

claudiosanches avatar Mar 15 '17 21:03 claudiosanches

I try to let more compatible has possible, but some changes i couldn't do it because my experience using the framework is very low, but some changes i wanted to hide when user select determined API in General Settings of Plugin, what i "try to" implement in this work.

sandermendes avatar Mar 16 '17 00:03 sandermendes

@sandermendes is you fork working in a production environment?

fabriciovieira avatar Aug 03 '17 14:08 fabriciovieira

yes, i have made another changes after the last pull, with some fixes and improvements.

sandermendes avatar Aug 03 '17 15:08 sandermendes

I tested on this implementation today and returned those errors https://gist.github.com/rafaelbantu/b901d6ff685bf4caa371b749d50d8c44 (in php 5.6 and 7.0)

rafaelbantu avatar Dec 02 '17 02:12 rafaelbantu