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
  • 29,816
  • 26
  • 86
  • 96
desmondlee
  • 1,473
  • 4
  • 19
  • 31

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
  • 29,816
  • 26
  • 86
  • 96
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
  • 298,294
  • 41
  • 291
  • 462