mage2pro / moip Goto Github PK
View Code? Open in Web Editor NEWMoip integration with Magento 2
Home Page: https://upwork.com/fl/mage2pro
Moip integration with Magento 2
Home Page: https://upwork.com/fl/mage2pro
The API endpoint is decribed here: https://dev.moip.com.br/v2.0/reference#listar-todas-preferencias-de-notificacao
It had been worked for last months, but today the Moip API server responds:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/v2/preferences/notifications">GET /v2/preferences/notifications</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
</body></html>
For now, it leads to the following exception in my extension:
#0 \vendor\mage2pro\core\API\Client.php(227): df_error_create('The \xC2\xABpreferenc...')
#1 \vendor\mage2pro\core\API\Client.php(87): Df\API\Client->_p()
#2 \vendor\mage2pro\core\Core\lib\cache.php(103): Df\API\Client->Df\API\{closure}()
#3 \vendor\mage2pro\core\Core\lib\cache.php(296): {closure}('94bfacacce31314...')
#4 \vendor\mage2pro\core\Core\lib\cache.php(107): dfcf(Object(Closure), Array, Array)
#5 \vendor\mage2pro\core\API\Client.php(87): df_cache_get_simple('0=>https://sand...', Object(Closure), Array)
#6 \vendor\mage2pro\core\API\Facade.php(124): Df\API\Client->p()
#7 \vendor\mage2pro\core\API\Facade.php(26): Df\API\Facade->p()
#8 \vendor\mage2pro\moip\API\Facade\Notification.php(40): Df\API\Facade->all()
#9 \vendor\mage2pro\moip\FE\Webhooks.php(65): Dfe\Moip\API\Facade\Notification->targets()
#10 \vendor\mage2pro\core\Framework\Plugin\Data\Form\Element\AbstractElement.php(96): Dfe\Moip\FE\Webhooks->onFormInitialized()
#11 \generated\code\Df\Framework\Plugin\Data\Form\Element\AbstractElement\Interceptor.php(63): Df\Framework\Plugin\Data\Form\Element\AbstractElement->afterSetForm(Object(Dfe\Moip\FE\Webhooks\Interceptor), Object(Dfe\Moip\FE\Webhooks\Interceptor))
[Moip] The available payment options
Boleto Bancário is the preferred Brazilian payment method that acts as a 'pro-forma invoice'.
Brazilian consumers can complete their online purchases by paying cash at physical stores or use internet banking.
It is similar to mage2pro/stripe#58
I am getting this validation error, can not make any payment so far. Here is the error console on my browser. Any Idea how this could be handed ?
Similar to: #3
An example of such link: https://checkout-sandbox.moip.com.br/boleto/PAY-JMNX9Y5UQ6EA/print.
It will show a page like this:
https://dev.moip.com.br/v2.0/reference#criar-pagamento
The same feature in my Stripe extension for Magento 2: https://stripe.mage2.pro/settings#option.dynamic-statement-descripor
Nobody of my clients has reported it, but I noticed a similar issue here: Inchoo/magento2-Inchoo_Stripe#15 (comment)
It is related to:
It would be similar to:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.