Skip to main content
Dynamics 365 Community / Forums / Commerce forum / Write to channel table...
Commerce forum

Write to channel table from payment connector

editSubscribe (0) ShareShare
Posted on by 3
I have a payment connector for a 3rd party integration to a payment provider for external giftcards using a WSDL service. I used a class that extends from IPaymentProcessor. In that connector class I want to write logging data to a custom table in the channel database. Every call from and to the 3rd part needs to be logged including the response codes from the 3rd party.
I can find examples of how to write to a channel table, but it all uses /Request.Requestcontext/ and in the payment connector class my /Request/ object doesn't have a /RequestContext/.

- Is there another way of writing data to a table then using a /RequestContext/ or is this the only way? 

- Or can I somehow make sure that the RequestContext variable is passed along to the payment connector?

- Or can I make sure that the logging data I want to write is passed from the payment connector class to another place where I do have access to a RequestContext?
Hope someone has some creative ideas about this.
Thx in advance.
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Write to channel table from payment connector
    Please hold on to wait others on the forum to suggest on this.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,130 Super User

Martin Dráb Profile Picture

Martin Dráb 222,689 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans