Hello everyone!
We want to accept only verified paypal account holders using PayPal IPN
So I guess our paypal ipn listener should check if account is verified or not, and if it's not, refund the transaction. I have no idea how to do this, so what I came up with is:
Code:
...
$acc_type = $_REQUEST['payer_status'];
if($acc_type=='unverified')
{
// refund this transaction. HOW?
}
else
{
// do the job - account is verified, all correct
}
...
How to refund a transaction? Any other solutions?
Appreciate your help!