subscribepro / subscribepro-magento2-ext

Subscribe Pro Magento 2 Integration Extension
MIT License
24 stars 22 forks source link

Handle M2 customer deleted, SP customer not deleted, new M2 customer created #202

Open chrismshea opened 10 months ago

chrismshea commented 10 months ago

PRs: #246

Steps to reproduce:

Expected:

Algorithm

garthbrantley commented 9 months ago

@chrismshea Please document steps to reproduce

chrismshea commented 9 months ago
  1. On Magento 2 Frontend add a subscription item to your cart and checkout creating a new customer.
  2. Note the customer created in Subscribe Pro and in Magento 2 Admin

Image

Image

  1. In Magento 2 Admin edit then delete the customer
  2. Repeat Step 1 creating a new customer using the same email address as the first time
  3. Note the customer id in Magento 2 admin will have incremented 1 past the original
  4. Note the customer record in SP still has the original id.

Image

eugene-shab commented 9 months ago

@garthbrantley Added fix for updating platform_specific_customer_id in SP on customer save event

garthbrantley commented 9 months ago

Issue was discussed by @chrismshea @eugene-shab and @garthbrantley - Decided not to implement this at this time.