Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancelled or pending orders added to revenue in mailchimp #274

Closed
mathijsm opened this issue Apr 10, 2018 · 4 comments · Fixed by #275
Closed

Cancelled or pending orders added to revenue in mailchimp #274

mathijsm opened this issue Apr 10, 2018 · 4 comments · Fixed by #275
Assignees
Milestone

Comments

@mathijsm
Copy link

Description

When customer does not pay his order and the order is cancelled or stays in pending. the order is send to Mailchimp and added to the revenue as sold. We do a campaign on first placed order. these orders that are still pending or canceled are seen as completed order and campaign is the send.

Preconditions

Magento2 v. 2.2.3
mc-magento2 v. 1.0.28

Steps to reproduce

Place order and cancel when on payment provider page or abandon payment provider page.

Actual and Expected result

Goto Mailchimp lookup customer

Expected result:

Order should NOT be added to revenu.

Actual result:

Order IS added to revenu.

@gonzaloebiz
Copy link
Collaborator

Hi @mathijsm

what is the status of the order in magento? and in mailchimp?

Best

@mathijsm
Copy link
Author

mathijsm commented Apr 11, 2018

Hello @gonzaloebiz

Here you can see the magento backend of the order # 000000349
as you can see the order is canceld and not paid.

schermafbeelding 2018-04-11 om 08 27 50

In Mailchimp you can see that the order # 000000349 is registered as purchased.

schermafbeelding 2018-04-11 om 08 29 41

@gonzaloebiz gonzaloebiz self-assigned this Apr 11, 2018
@gonzaloebiz gonzaloebiz added this to the 1.0.29 milestone Apr 11, 2018
gonzaloebiz added a commit that referenced this issue Apr 11, 2018
@gonzaloebiz
Copy link
Collaborator

Hi @mathijsm

we found an issue with this and fix it with the associated PR.
Thanks for your contribution

@shreddieb
Copy link

Hi @gonzaloebiz,
I'm having a similar issue where canceled magento orders are showing up as revenue/purchased items on customer profile pages in mailchimp. And not sure if it's related, but my total store revenue shown on the mailchimp dashboard is not including all of the revenue amounts and days.

preconditions:
Magento 2.2.4
mc-magento2 v. 1.0.32
mailchimp-lib v. 3.0.29
php v. 7.0.32

I "was" seeing an ebizmarts_ecommerce cron_schedule table error "Unable to unserialize value." But then I applied your fix from commit 645a10d and that fixed the cron error. Unfortunately though the revenue shown in mailchimp didn't update. Two way sync is enabled in Magento 2 mailchimp configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants