Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Under review by Community Managers

Under review

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

Linked Refund

Posted on by Microsoft Employee
Background/Context:
 We're implementing PaymentConnector for Microsoft Dynamics-365/AX-7. The implementation is based on PaymentSDK. We've successfully    implemented & tested refund with card-present flow. However We're more interested in linked refund.
 
Microsoft documentation states that the Refund method is used to refund a payment transaction and return funds to the customer’s bank account. This method has the same request as the Authorization method. The only difference is that sometime a linked refund is required when the Capture response is also part of the request message.
 
Following is the signature of refund method:
Task<PaymentInfo> RefundPaymentAsync(decimal amount, string currency, bool isManualEntry, ExtensionTransaction extensionTransactionProperties);
 
Q: What is the mechanism/API to persist Capture response so that It'll become available when RefundPaymentAsync() get invoked? This is required to execute linked refund.
 
Your support is much appreciated.
 

Thanks,

Faiz

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans