Okay, here's what's happening. I have a php script that will send money using mass payment/api and it works great when I run it manually - it subtracts the money from my account and deposits it into the receiver's account instantly.
However, I need to call it from my IPN script when I receive subscription payments. Whenever I call the sendmoney script from the IPN (or from any other test script) it subtracts the money from my account, but never adds it to the receiver's account. I've tried calling it using both:
header("Location:
http://www.domain.com/se...name%40domain.com");
and
include('http://...(same as above)...');
But neither work. And the variable seem to pass through fine. So, I don't know what the problem is. Even when I retrive the address from a database within the script, it doesn't work. I've also tried inserting the entire sendMoney script into my IPN where I need it, but that doesn't work either.
Any help would be greatly appriciated. Thanks.