nopSolutions / sendinblue-plugin-for-nopcommerce

Plugin for sendinblue.com (mail)
https://www.nopcommerce.com/
GNU General Public License v3.0
2 stars 6 forks source link

Exception thrown with Marketing Automation. #5

Open MattHobson1968 opened 4 years ago

MattHobson1968 commented 4 years ago

It appears that the Send in Blue Marketing Automation throws an exception if a person is browsing your Nopcommerce website and goes to the cart. This is for NopCommerce 4.2 and I am getting hundreds of these issues each day,

It appears that the cartItem.Customer.Email is not set

Short message
SendinBlue Marketing Automation error: email is a required property for Identify and cannot be null. Full message
System.IO.InvalidDataException: email is a required property for Identify and cannot be null at SendinBlueMarketingAutomation.Model.Identify..ctor(String email, Object attributes) at Nop.Plugin.Misc.SendinBlue.Services.SendinBlueMarketingAutomationManager.HandleShoppingCartChangedEvent(ShoppingCartItem cartItem)

Any help on this would be appreciated. Matt

MattHobson1968 commented 4 years ago

Just some additional information for this case, this appears to happen for guest and registered users as in the error log it indicates either a registered users email address or guest.

rafafontana commented 2 years ago

Still happening this issue, any advance on this?

rafafontana commented 1 year ago

Still happening, any advance?

mucahitaydinlik commented 7 months ago

This problem is still continuing, i will uninstall the plugin. Can you solve it?

RomanovM commented 7 months ago

@mucahitaydinlik What version?

mucahitaydinlik commented 7 months ago

4.50.3

6 Ara 2023 Çar, saat 12:08 tarihinde Romanov Maksim < @.***> şunu yazdı:

@mucahitaydinlik https://github.com/mucahitaydinlik What version?

— Reply to this email directly, view it on GitHub https://github.com/nopSolutions/sendinblue-plugin-for-nopcommerce/issues/5#issuecomment-1842473978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3QDXSVCIBRAZWJKDODE4DYIAY2BAVCNFSM4MJYD6P2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUGI2DOMZZG44A . You are receiving this because you were mentioned.Message ID: @.*** .com>

aminaMuraina commented 1 month ago

Hello any update or workaround?