PayPal PreApproved Payments

My site allows members to make a PreApproved payments to certain events.

The PreApproved payments are then processed at the end of the event (if the event goes ahead).

Up to now the events usually have about 20 x PreApproved payments and everything runs smoothly but i have a big event coming up very soon that could have over 200 PreApproved payments to process.

Is there anything that i need to look out for or put in place to make sure my site is able to handle all of the 200 payments smoothly. I know this is a difficult question to answer without seeing my code but i noticed that it takes about 4 seconds to process each payment and update the database once the payment trigger is called.
oo7mlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew AngellCo-Owner / DeveloperCommented:
If it's handling 20 profiles correctly and your code logic and everything is running as expected that you can rest assured 200+ profiles will run the same way. That said, it gives you more opportunity for some of those payments to fail for one reason or another, so you'll want to make sure your code is handling that accordingly.

The only other thing I might recommend is that you call PayPal and let them know you're expecting a big increase in payments to your account.  If you don't have much going on and then all of a sudden you end up with a bunch of transactions on a single day that could raise red flags in their system and end up putting your account in a limited status.  If you call ahead of any expected volume increases like that you can help avoid such an issue.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oo7mlAuthor Commented:
Ok cool, thanks...

I have all error handling and failed payments handling in place and they all work fine with the usual payment processing of 20 payments...

My worry is that it takes about 4-5 seconds to process a payment and update the databases etc... so could some script timeout if it needs to process 200 of these?
0
Andrew AngellCo-Owner / DeveloperCommented:
Well, yes, that's something you'll need to manage.  You can test that sort of thing in the sandbox, though.  

You can either extend your timeout values in PHP on the server to allow scripts to run a long time, or you could set the script up to run in multiple pieces processing just a few at a time.
0
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

oo7mlAuthor Commented:
Ok, i don't trust the Sandbox 100% ;-)

I don't think they operate 100% the same.

I will try processing 200 of them and see what happens, thanks again...
0
Andrew AngellCo-Owner / DeveloperCommented:
I use the sandbox all the time for stuff like that and it works out great.  That's what it's for.  Sometimes you'll run into little things that don't act the way they should, but I haven't run into anything like that in awhile now.
0
oo7mlAuthor Commented:
Thanks, i will try it and see how it works out...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.