Is it possible to make a refund via PayPal PayFlow API on last transaction when I'm using PayFlow recurring payments. Thanks, Maciek
1 Answers
3
votes
Simple answer to this is "yes".
You need to credit as you would a normal transaction. Parameters are:
USER
VENDOR
PARTNER
PWD
TENDER=C // C = credit card, P = PayPal
TRXTYPE=C // S = Sale transaction, A = Authorisation, C = Credit, D = Delayed Capture,
ORIGID=XXXX // ORIGID to the PNREF value returned from the original transaction
Then you may need to cancel the recurring transaction to stop it happening again. Parameters are:
USER
VENDOR
PARTNER
PWD
ACTION=C // C = Cancel
TRXTYPE=R // R = Recurring
ORIGPROFILEID=XXXX // Original Profile ID (of the recurring transaction)