0

Is it possible to reject / auto refund after receiving IPN message with COMPLETED status but the txn_id is duplicated or the price value is incorrect?

Or manual investigation need to be done to refund

Machavity
  • 30,841
  • 27
  • 92
  • 100
desmondlee
  • 1,643
  • 4
  • 21
  • 33

2 Answers2

0

If you are verifying your IPN calls with PayPal, this should (in theory) be impossible. PayPal never duplicates transaction IDs.

Community
  • 1
  • 1
Machavity
  • 30,841
  • 27
  • 92
  • 100
0

Is it possible to reject / auto refund after receiving IPN message with COMPLETED status but the txn_id is duplicated or the price value is incorrect?

You can't reject the transaction with IPN. You aren't in a transaction. You're getting notification that a transaction has already occurred.

You may be able to use another API to reverse the transaction, as suggested by @geewhiz.

user207421
  • 305,947
  • 44
  • 307
  • 483