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 7404001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:11:33+00:00 2026-05-29T05:11:33+00:00

I am developing a crowd-funding site (similar to Kickstarter ) using the CodeIgniter framework.

  • 0

I am developing a crowd-funding site (similar to Kickstarter) using the CodeIgniter framework.

I “successfully” implemented PayPal’s adaptive payments using this library.

But, I’m just not sure how to correctly and securely check for succesfull/failed payments and witch data is important to save to database.

Note: it’s a chained delayed payment, I am the primary receiver, and the secondary receiver is the crowd-funding project creator. The money is transferred to the secondary receiver after a predetermined period of time.

The flow I have right now goes like this:

  1. User click to buy a reward.
  2. I use the ‘Pay’ API operation to request payment (unique TrackingID included) and save the request in the database.
  3. If the request is succesfull, I save some response data in the session (TrackingID, PayKey, amount, …) and redirect to PayPal..
  4. In this step the user can: accept payment, cancel, or just close the browser, so I dont really know what happens here… (recommendations?)
  5. If the user accepts the payment, he is redirected back to my site and I use data I saved in the session to request a ‘PaymentDetails’ API operation to obtain information about the payment.
  6. I save the result in database and check to see if the response ‘amount’ is equal to the request ‘amount’ (for security).
  7. If everything went OK I update the database and connect the payment TrackingID with the user and the reward he bought.
  8. Later (can be months later), the ‘ExecutePayment’ API operation is requested by an admin, and the money is transferred from us to the project creator, and we take a small fee (thats how crowd-funding works…)

Now, I’m sure I’m missing lot of things but I have no idea what:

  1. What about the IPN API? I need it? Where it comes to play inside the flow and checks?
  2. What I do if the user closes the browser window when he is in PayPay (out of my site).
  3. I heard that the PayKey is valid for 3 hours, how can I ‘ExecutePayment’ after months?
  4. How I handle the enormous amount of error types in the PayPal API?
  5. Any tips or examples of others things I need to take care of? Security? Errors? Others?

Thank you very much, I really need your answer!

  • 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-29T05:11:34+00:00Added an answer on May 29, 2026 at 5:11 am
    1. IPN will automatically POST data to your “listener” (which you’d need to develop) in order to automate post-payment procedures. For example, you could update a database, hit 3rd party web services, generate email receipts, etc. within IPN so that those events happen automatically any time you receive money in your PayPal account. You can also set it up to handle refunds, disputes, and other events. It’s not required, but often very useful.

    2. This is one reason IPN can be useful. IPN will be triggered whether the user makes it back to your site or not. If you’re doing post-payment processing procedures within your thank you page or something like that, I’d recommend you move it into an IPN solution.

    3. The PayKey is indeed valid for 3 hours when being used as a token. When you call Pay with an ActionType of CREATE, though, it sets up a delayed payment and the PayKey is then valid for up to 90 days.

    4. The error information will always come back in the same format in the response. You can just log or display errors accordingly based on this standard response.

    5. Sounds like you’re pretty much on top of everything for the most part.

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

Sidebar

Related Questions

Developing a site that requires monthly subscriptions via PayPal. If a buyer has an
I'm looking to crowd-source this, as I'm having bit of difficulty finding an industry
I am a beginner at software development and web site development. I love using
Developing a simple game for the iPhone, what gives a better performance? Using a
Developing is more of a hobby at the moment; so apologies if this is
Developing a chrome extension using javascript is one of my university projects. I don't
Developing using MVC-3, Razor, C# Been searching around and cannot find advice I'm looking
Developing an application using SWT to work in both Linux and Windows. I created
Current developing an iPhone app using jQuery mobile, everything is looking great however when
im developing windows application using c#. i want to close the application and show

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.