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

Notifications

Announcements

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)
  • Suggested answer
    Diana Roy Profile Picture
    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

  • 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?

  • 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.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 94

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 69 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans