cancel
Showing results for 
Search instead for 
Did you mean: 

void PayPal transaction

Hi Team,

 

When we do successful paypal authCaptureTransaction and authCaptureContinueTransaction, we are not able to void same transaction

 

It returns below error response:
"errors": [ { "errorCode": "2", "errorText": "This transaction has been declined." } ], 


Is there any way to void this transaction?

 

Thanks,
Venaktesh D 

venkyd12
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Voiding an auth capture is not supported due to how PayPal processes the transactions on their end. At the point where you submit authCaptureContinue, the transaction is complete. The next step would be to credit instead of void.

 

Here are the transaction states/flow that are allowed:

 

Sequence 1
1 Authorization Only
2 Get Details (recommended for shipping)
3 Authorization Only, Continue
4 Prior Authorization Capture
5 Refund (optional)


Sequence 2
1 Authorization Only
2 Get Details (recommended for shipping)
3 Authorization Only, Continue
4 Void


Sequence 3
1 Authorization and Capture
2 Get Details (recommended for shipping)
3 Authorization and Capture, Continue
4 Refund (optional)

 

View solution in original post

mmcguire
Administrator Administrator
Administrator
3 REPLIES 3

Voiding an auth capture is not supported due to how PayPal processes the transactions on their end. At the point where you submit authCaptureContinue, the transaction is complete. The next step would be to credit instead of void.

 

Here are the transaction states/flow that are allowed:

 

Sequence 1
1 Authorization Only
2 Get Details (recommended for shipping)
3 Authorization Only, Continue
4 Prior Authorization Capture
5 Refund (optional)


Sequence 2
1 Authorization Only
2 Get Details (recommended for shipping)
3 Authorization Only, Continue
4 Void


Sequence 3
1 Authorization and Capture
2 Get Details (recommended for shipping)
3 Authorization and Capture, Continue
4 Refund (optional)

 

mmcguire
Administrator Administrator
Administrator

Thanks @mmcguire for solution.

 

Just need one more clarification:

 

PayPal express checkout:

 

I have followed above sequence2(successfully authorized) and able to see multiple entries on paypal merchant account.

example:

  1. Authorization from testuser (pending)
  2. Order from testuser (pending)

so when i do void for this authorized transaction its only voiding authorization from testuser and order from testuser still shows as pending.

How to void order from testuser entry form same transaction?

 

Thanks,

Venkatesh D

venkyd12
Member

PayPal transactions that have been submitted as multiple partial settlements, however, can also be voided with the status of Settlement Pending. When a transaction is voided, the original authorization should disappear from the customer's statement within 24 to 48 hours. aces etm