I have a credit system set up on my website where user A can buy a document from user B, for example, suppose, for 1 credit and user account, B-accounts are credited, say, for 1 dollar. User B can "withdraw money" and receive the money that they earned on my PayPal account (on the site) in their PayPal account (suppose their email address is valid at the moment). When user A buys a loan, they are sent to PayPal, where they can log in and complete the purchase, for this I have an IPN listener configured on my site that stores credit information in my site database. However, I cannot find a mechanism for sending information about the "withdrawal of money" (that is, the user's email and the amount payable) to PayPal. To clarify: I understand that PayPal sends IPN when someone buys from me, but how can I send a message from my site to PayPal when the user clicks the cash out button? I saw the mention of Mass Pay, but can't seem to find any code samples. Am I missing something, or is there perhaps another (and better) way to do this? Thanks!
source share