oroinc / magento-orocrm-bridge Goto Github PK
View Code? Open in Web Editor NEWMagento extension, extends SOAP API for OroCRM integration.
Home Page: http://www.magentocommerce.com/magento-connect/orocrm-bridge.html
Magento extension, extends SOAP API for OroCRM integration.
Home Page: http://www.magentocommerce.com/magento-connect/orocrm-bridge.html
In situations where a product is in a cart being synced by Oro which still contains a reference in $product->getCategoryIds()
to a category which has subsequently been deleted, a fatal error is encountered in Oro_Api_Model_Sales_Quote_Api::_getProductAttributes()
(Line: 140).
Related to pull request: #9
Erroring lines
$productCategoryIds = $product->getCategoryIds();
foreach ($productCategoryIds as $categoryId) {
$result['categories'][] = array(
'name' => $this->_categoryCollection->getItemById($categoryId)->getName()
);
}
In Oro_Api_Model_Observer::beforeNewsletterSubscriberSave() (for the newsletter_subscriber_save_before event), why you are updating change_status_at everytime?
Checking dependencies of packages
CONNECT ERROR: Package community/Oro_Api 1.2.5.0: requires PHP version >= 5.2.13 and <= 5.6.0 current is: 5.6.11-1ubuntu3.1
We are integrating with a Magento 1.9 site that for performance reasons has been updated to run on PHP 7.0. The package.xml file specifies PHP 5.6.99 as the max version. We have installed manually, but are having trouble getting OroCRM to recognize the bridge being installed.
On the Magento side, we're getting this error when OroCRM tries to connect:
PHP Fatal error: Procedure 'oroPingRequestParam' not present in /var/www/....../lib/Zend/Soap/Server.php on line 889
Looking at /api/v2_soap/?wsdl=1, we can see oroPingRequestParam listed.
We are using version 1.2.19.0 of Oro_Api and PHP 7.0.28.
Please advise. Thanks!
What is the best way to expose our own Custom Customer fields?
It would really be nice if this package could be installed with composer.
References:
https://github.com/Cotya/magento-composer-installer
https://github.com/Cotya/magento-composer-installer/blob/3.0/doc/MakeAModuleInstallableWithComposer.md
Would you accept a PR for that?
I enabled syn with ORO CRM, but all customer not synced, in every attempt it taking some small amount and pulling to ORO CRM. For example my output of integration sync:
Run sync for "All Websites Integration" integration.
Start processing "website_dictionary" connector
Stats: read [3], processed [3], updated [3], added [0], deleted [0], invalid entities: [0]
Start processing "store_dictionary" connector
Stats: read [12], processed [12], updated [12], added [0], deleted [0], invalid entities: [0]
Start processing "customer_group_dictionary" connector
Stats: read [17], processed [17], updated [17], added [0], deleted [0], invalid entities: [0]
Start processing "region_dictionary" connector
Regions are up to date, last sync date is Thu, 14 Jan 2016 20:46:37 +0000, interval is 1 day
Stats: read [0], processed [0], updated [0], added [0], deleted [0], invalid entities: [0]
Start processing "customer" connector
Looking for batch
found 2 entities
Loading Customer by id: 1
Loading Customer by id: 1027
Stats: read [2], processed [2], updated [1], added [1], deleted [0], invalid entities: [0]
Start processing "cart" connector
Looking for batch
found 2 entities
Loading Cart by id: 710
Loading Cart by id: 716
Stats: read [2], processed [2], updated [1], added [1], deleted [0], invalid entities: [0]
Start processing "order" connector
Looking for batch
found 1 entities
Loading Order by id: 3282
Stats: read [1], processed [1], updated [1], added [0], deleted [0], invalid entities: [0]
Start processing "newsletter_subscriber" connector
Looking for batch
found 12 entities
Loading NewsletterSubscriber by id: 993
Loading NewsletterSubscriber by id: 815
Loading NewsletterSubscriber by id: 811
Loading NewsletterSubscriber by id: 701
Loading NewsletterSubscriber by id: 507
Loading NewsletterSubscriber by id: 408
Loading NewsletterSubscriber by id: 382
Loading NewsletterSubscriber by id: 349
Loading NewsletterSubscriber by id: 320
Loading NewsletterSubscriber by id: 236
Loading NewsletterSubscriber by id: 128
Loading NewsletterSubscriber by id: 34
Stats: read [12], processed [12], updated [12], added [0], deleted [0], invalid entities: [0]
Completed
Why only 12 entities?
After setting up OroCRM Bridge v1.1.4.3 integration with Magento 1.9.2.4 CE and configuring a integration in OroCRM 1.9.6, i see the following error spike up in the error-log:
2016/07/21 23:10:06 [error] 3413#3413: *180955 FastCGI sent in stderr: "PHP message: PHP Fatal error: Procedure 'oroPing' not present in /var/www/magento/lib/Zend/Soap/Server.php on line 889" while reading response header from upstream, client: x.x.x.x, server: hafner-ips.com, request: "POST /index.php/api/v2_soap/index/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "www.myshop.com"
The module provides all the soap methods as expected, snippet from /api/v2_soap/?wsdl=1
<operation name="oroPing"><documentation>Get basic presence info</documentation><input message="typens:oroPingRequest"/><output message="typens:oroPingResponse"/></operation>
I've already checked the SOAP API user credentials, role and permissions and recreated them but without success. Within OroCRM inside the integration configuration it says "Native Magento API is used; only customers and orders will be synced" - i dunno why.
Any hints?
Thanks
Since one of the last updates of Magento every admin controller needs an _isAllowed method to check the ACL. Neither these methods nor an ACL definition is contained in the module. So no user without full admin privileges is able to create an order from OroCRM.
For gateway controller
protected function _isAllowed()
{
return Mage::getSingleton('admin/session')->isAllowed('oro/gateway');
}
And sales controller
protected function _isAllowed()
{
return Mage::getSingleton('admin/session')->isAllowed('oro/sales');
}
And the corresponding entries in the adminhtml.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<oro translate="title" module="oro_api">
<title>Oro Section</title>
<sort_order>50</sort_order>
</oro>
</children>
</config>
</children>
</system>
<oro translate="title" module="oro_api">
<title>Oro Bridge</title>
<children>
<gateway translate="title" module="oro_api">
<title>Gateway</title>
<sort_order>10</sort_order>
</gateway>
<sales translate="title" module="oro_api">
<title>Sales</title>
<sort_order>20</sort_order>
</sales>
</children>
</oro>
</children>
</admin>
</resources>
</acl>
</config>
I hope the fix will be implemented soon.
Best,
Sebastian
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.