<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Implement Auth Reversal in salesforce in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/93666#M3610</link>
    <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20278"&gt;@cybersource&lt;/a&gt;&amp;nbsp;- can you please arrange someone?&lt;/P&gt;&lt;P&gt;ConnectApi.AuthorizationReversalRequest authorizationReversalRequest = new ConnectApi.AuthorizationReversalRequest();&lt;BR /&gt;authorizationReversalRequest.amount = amount;&lt;BR /&gt;authorizationReversalRequest.comments = 'Captured from custom action';&lt;BR /&gt;&lt;BR /&gt;ConnectApi.AuthorizationReversalResponse authorizationReversalResponse = ConnectApi.Payments.reverseAuthorization(authorizationReversalRequest, authorizationId);&lt;BR /&gt;String authReversalId = authorizationReversalResponse.paymentAuthAdjustment.id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also when i run the code for auth reversal it throws below error:&lt;/P&gt;&lt;P&gt;ConnectApiException:[errorCode=ALREADY_IN_PROCESS]: {"enhancedErrorType":null,"message":"The gateway adapter returned a failure status, Please check the response for more details","output":{"error":{"errorCode":"501","message":"Unsupported Operation"},"paymentGatewayLogs":[{"createdDate":"2025-08-19T16:08:13.000Z","id":"0XtAu0000019DDZKA2","interactionStatus":"NoOp"}]}}&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 16:13:10 GMT</pubDate>
    <dc:creator>desperateuser</dc:creator>
    <dc:date>2025-08-19T16:13:10Z</dc:date>
    <item>
      <title>Implement Auth Reversal in salesforce</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/93585#M3549</link>
      <description>&lt;P&gt;We have CyberSource for Lightning Order Management installed in salesforce org. The capture payment is working as expected however we need to implement the auth reversal for the authorized payments.&lt;/P&gt;&lt;P&gt;Currently the standard adapter PTS_PaymentAdapter dont have any implementation for the same. Any help on how to implement the auth reversal would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 22:14:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/93585#M3549</guid>
      <dc:creator>desperateuser</dc:creator>
      <dc:date>2025-08-18T22:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Implement Auth Reversal in salesforce</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/93666#M3610</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20278"&gt;@cybersource&lt;/a&gt;&amp;nbsp;- can you please arrange someone?&lt;/P&gt;&lt;P&gt;ConnectApi.AuthorizationReversalRequest authorizationReversalRequest = new ConnectApi.AuthorizationReversalRequest();&lt;BR /&gt;authorizationReversalRequest.amount = amount;&lt;BR /&gt;authorizationReversalRequest.comments = 'Captured from custom action';&lt;BR /&gt;&lt;BR /&gt;ConnectApi.AuthorizationReversalResponse authorizationReversalResponse = ConnectApi.Payments.reverseAuthorization(authorizationReversalRequest, authorizationId);&lt;BR /&gt;String authReversalId = authorizationReversalResponse.paymentAuthAdjustment.id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also when i run the code for auth reversal it throws below error:&lt;/P&gt;&lt;P&gt;ConnectApiException:[errorCode=ALREADY_IN_PROCESS]: {"enhancedErrorType":null,"message":"The gateway adapter returned a failure status, Please check the response for more details","output":{"error":{"errorCode":"501","message":"Unsupported Operation"},"paymentGatewayLogs":[{"createdDate":"2025-08-19T16:08:13.000Z","id":"0XtAu0000019DDZKA2","interactionStatus":"NoOp"}]}}&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 16:13:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/93666#M3610</guid>
      <dc:creator>desperateuser</dc:creator>
      <dc:date>2025-08-19T16:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Implement Auth Reversal in salesforce</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/94616#M3998</link>
      <description>&lt;P&gt;To implement Auth Reversal (Authorization Reversal) with CyberSource in Salesforce Lightning Order Management (LOM), you'll need to extend the standard Payment Adapter.&lt;/P&gt;&lt;P&gt;Implementation Steps&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a Custom Adapter: Create a new Apex class, for example, CustomCyberSourcePaymentAdapter, that extends PTS_PaymentAdapter or the specific CyberSource adapter class it delegates to.&lt;/LI&gt;&lt;LI&gt;Override reverseAuth: Implement the reverseAuth method in your custom adapter. This method receives the payment and amount details for the reversal.&lt;/LI&gt;&lt;LI&gt;CyberSource API Call: Within reverseAuth, &lt;A href="https://bazoocam.onl/" target="_self"&gt;Bazoocam&lt;/A&gt; writes the logic to call the CyberSource REST or SOAP API endpoint for Authorization Reversal or Void. You'll need the original Authorization ID.&lt;/LI&gt;&lt;LI&gt;Update Payment Gateway Logs: Ensure you log the reversal status and response from CyberSource in the appropriate Salesforce objects (e.g., Payment Gateway Log).&lt;/LI&gt;&lt;LI&gt;Configure LOM: Update your Payment Gateway Provider settings in LOM to use your new CustomCyberSourcePaymentAdapter class.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 26 Nov 2025 08:15:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Implement-Auth-Reversal-in-salesforce/m-p/94616#M3998</guid>
      <dc:creator>Chad7787</dc:creator>
      <dc:date>2025-11-26T08:15:25Z</dc:date>
    </item>
  </channel>
</rss>

