Commit Graph
9 Commits
Author SHA1 Message Date
jorgeeurekalabs 45b6367ee9 Synchronize customer data updates. (#50)
* Synchronize customer data updates. Unnecessary folders were deleted.

* Added "order_url" to abandoned carts
2023-01-23 16:44:03 -06:00
jorgeeurekalabsandJor Ven fbbe121329 support connections from different Magento instances (#47)
* fixed Allowed memory size issue and compatibility with php 7.4

* DEFECT-12960

* support connections from different magento instances

Co-authored-by: Jor Ven <jorven@MacBook-Pro-de-Jor-2.local>
2022-11-30 11:43:15 -06:00
jorgeeurekalabsandJor Ven be1246664a fixed Allowed memory size issue and compatibility with php 7.4 (#43)
Co-authored-by: Jor Ven <jorven@MacBook-Pro-de-Jor-2.local>
2022-10-18 16:23:01 -05:00
wagatorandJordan e1952158fe AC-139 #comment return type of getCustomer() method is changed in Order/Model/OrderData/OrderDataSend.php and changes in Order/Observer/OrderSync.php (#36)
[AC-139] Resolved the compatibility issues with magento v. 2.4.5
AC-142 AC-139 #comment update "Abandoned Cart SendData.php" for compatibility with magento 2.3

Co-authored-by: Jordan <jprice@activecampaign.com>
2022-09-15 19:21:44 -05:00
Shaughn 453d2d595a Performance fixes (#35)
* Fix performance issues in system config when viewing total counts for the abandoned cart syncs (for large datasets) - use collection->getSize() instead of loading the whole collection and performing a count.

* Change admin config sorting so that the extension shows near the bottom of the system config tabs and is not the default viewing config.

* Fix performance issues in system config when viewing total counts for the customer and order syncs (for large datasets) - use search and filter builder instead of loading the whole collection and performing a count.

* Update JSON serializer in curl helper. Move optional parameter  to bottom of constructor args (Fixes potential issues when creating a customer via API or GraphQL). Check if response is of type array in getMessage since the response is of mixed type. Cleanup: remove unnecessary double quotes, update doc blocks, fix PHPCS and PHPMD issues. Added Todo's.
2022-09-15 16:01:42 -05:00
321329611b Bug fixes and improvements (#33)
* Abandoned carts fixed not updating in AC when cart is edited

* Cron with delete capability 7 days previous entries

* add logger in catch

update event in events.xml checkout_onepage_controller_success_action for checkout_submit_all_after

update Data.php type

update OrderSync.php add doc and types

update doc AbandonedCartSync.php

update AbandonedCartSendData.php

update AbandonedCartSendData.php add create customer in AC

update PaymentInformationManagementPlugin.php delete black line

update OrderSyncCron.php, update filter and add Logger in Exception

rollback name events.xml

update Curl.php add types

delete logger debug in the code

* DS Store removed

Co-authored-by: YAIR GARCIA <yagator@MacBook-Air-de-YAIR.local>
Co-authored-by: Yair García Torres <yagator@gmail.com>
2022-07-14 11:17:05 -05:00
Mychal Calderon b89130e751 default body to empty string if no data passed when creating connections (#24)
* default body to empty string if no data passed

a GET request body with the empty array causes an error, so an empty string should be used

* update other functions with same issue

make sure that the body is an empty string instead of trying to encode an empty array
2022-06-17 12:05:13 -05:00
wagator 4414d58466 Update Data.php
fix incorrect rounded prices
2021-10-12 13:49:58 -05:00
Jordan Price 189e2a67c5 Init Extension
Initialize the ActiveCampaign for Magento Extension
2021-08-11 11:17:41 -05:00