Refund Method
Request refunding for a payment.
Object Oriented Interface
public function doRefund($transactionid);
Procedural Interface
inpaypal_refundtransaction_do_refund($res, $transactionid);
Remarks
This method is used to refund a customer either the full amount, or part of the full amount which was previously paid to the merchant (you). The TransactionId parameter indicates the transaction to be refunded. If RefundType is set to rtPartial, you must also set the Amount of the refund.
After calling this method, the Ack property will indicate success or failure.