web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Relationship between PurchaseId and CorrelationId?

(1) ShareShare
ReportReport
Posted on by 10

Is there a relationship between PurchaseId and CorrelationId?  ie.  How do you identify the registrations paid by a payment?

Use Case: Create an Event Registration and Integrate the payment with the University payment gateway

  1. We can create Event Registrations
  2. We can pay for the registration

 Problem:

  1. We are unable to match the payment with the registration

 

Information:

Image 1: “Eric Test Event”  event registration page

 Image-1-_2D00_-DynamicsMarketingEventRegistration.png

Image 2: Registration for 3 individuals who were paid. *** Note that the Correlation ID is the same because the registrations were done with one payment.

Image-2-_2D00_-DynamicsMarketingEventRegistrationTableDetailB.png

   

  1. We have setup an Angular project via Visual Studio Code and are using the api to create the registration. – THIS GENERATES the “PurchaseId”
  2. We are sending the “PurchaseId” to the payment gateway. The payment gateway returns the “PurchaseId” when the payment successfully completes.
  3. Using the “PurchaseId” on successful payments we call the “/api/data/v9.0/msevtmgt_FinalizeExternalRegistrationRequest” found in the reference below
    1. https://docs.microsoft.com/en-us/dynamics365/marketing/developer/finalizing-registrations-for-paid-events
  4. The registration(s) appear following this call referenced in step 3.
  5. We are unable to relate the “PurchaseId” to the correlating events. My understanding from Microsoft is that the PurchaseId is temporary.
I have the same question (0)
  • Preston Cuer Profile Picture
    5 on at

    I am having the same challenge. It doesn't even show what each attendee purchased for passes- it just has the transaction total and a list of attendees. It would be best if the response from the finalization of the registration (msevtmgt_FinalizeExternalRegistrationRequest) returned a list of the registration id's that were created, instead of only containing the word "success".

    The best workarounds I can come up with are all bad:

    1. Don't reconcile payments to registrations.

    2. Manual Reconciliation- pass in the attendee info to the payment gateway (we're using PayPal) so that someone can reconcile attendees to payments manually.

    3. Email Reconciliation- require emails to be unique, either on the front end or when pulling the Purchase information. Then after registration is complete, pull the registrations by email and match them to the purchase (because of the lack of pass information this would have to be at a summary level based on Correlation ID)

    4. Time based reconciliation- pull the most recent registration that matches based on email address and connect them. Hope that two people don't register with the same email at exactly the same time.

    Hopefully we can get a real answer.

  • Bryan Kraus Profile Picture
    10 on at

    If all registrations were "finalized" prior to sending the registrant to the payment gateway, would it be possible to get a relatable piece of information (correlation id) from the registration and then send them to the payment gateway to include the correlation id?  If the registration remains unpaid for X timeframe then cancel the registration?

  • Suggested answer
    Diana Roy Profile Picture
    Microsoft Employee on at

    Hi, this is at the moment not possible in Dynamics Marketing, but i will track these feedbacks for improvements for the future, Diana

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 166 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#2
NeerajPawar Profile Picture

NeerajPawar 51

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans