Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 653795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:25:20+00:00 2026-05-13T22:25:20+00:00

I have a credit system set up on my site where user A can

  • 0

I have a credit system set up on my site where user A can purchase a document from user B, let’s say for 1 credit and user B’s account gets credited, let’s say for $1. User B can then “cash out” and recieve the money they earned from my (the site’s) PayPal account into their PayPal account (let’s assume that their email address is valid for now). When user A purchases a credit, they are taken to PayPal where they can login and complete the purchase, for this purpose I have an IPN listener set up on my site that stores credit information to my site’s database. However, I can’t find a mechanism to send the “cash out” information (i.e. user’s email and amount to be paid) to PayPal. To elaborate: I understand that PayPal sends the IPN when someone purchases from me, but how do I post from my site to PayPal when the user clicks the “cash out” button? I have seen mention of Mass Pay, but can’t seem to locate any code samples to go from. Am I missing something, or is there perhaps a different (and better) way to do this? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:25:21+00:00Added an answer on May 13, 2026 at 10:25 pm

    You are correct that you have to use mass pay, and there is documentation for NVP and SOAP. Paypal’s code sample page also has PHP NVP and SOAP examples.

    As to a better way? I don’t think there is with PayPal. You’ll be paying another 2% fee per payment (limited to a maximum of $1) on top of whatever you paid to accept the funds.

    From the NVP sample code, a rough idea of a simple URL encoded post:

    foreach($receiversArray as $i => $receiverData) {
      $receiverEmail = urlencode($receiverData['receiverEmail']);
      $amount = urlencode($receiverData['amount']);
      $uniqueID = urlencode($receiverData['uniqueID']);
      $note = urlencode($receiverData['note']);
      $nvpStr .= "&L_EMAIL$i=$receiverEmail&L_Amt$i=$amount&L_UNIQUEID$i=$uniqueID&L_NOTE$i=$note";
    }
    

    Since you’re using IPN already, from the MassPay API Doc:

    If you have Instant Payment Notification (IPN) enabled for your account, PayPal will send two IPNs for each payment made during Mass Payment transaction processing. The IPNs are posted to the Notify URL specified in your account profile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My site is going to have a credit system that basically works a lot
I want to make a credit system . If have user credits warning: you
I have a web site that work with external Credit Card Processing (cybersource) when
I would like to know how can we validate the Credit Card. We have
I have a simple power system as users can borrow to each other: mysql_query(INSERT
Essentially I have two different flat files Credit & Account with different record structures.
I would like to have a system where my users can invite their friends.
I'm currently optimizing my web site. I'm using a simple credit system that gives
All, I have a 'credit module' (similar to credit system in games), which when
Where I work we have an ecommerce system on an intranet set up to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.