Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Price Freeze on Business Hosting frm £4.95/month

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 12:43:06 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 30-08-2010, 06:57:00 PM     #1 (permalink)

 
woopwoop's Avatar
 
Join Date: Jan 2007
Posts: 1,586
woopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond repute

paypal api/code for directory listing

I have a self-made directory script. It's pretty basic and doesn't allow people to edit their listings once submitted. After they submit their details, I have to manually go into the mysql table and change a field from pending to active - for the listing to be made public. Despite how basic it is, I really like it. It seo's pretty well, the design fits my sites, it shows a map of the business and company logo etc.

I started to think about another project I might use this script for, and i started thinking about how to charge for listings.

I know that there are full scripts out there that do recurring payments through PayPal, but I really want to stick with and build on what I have. Does anyone have any experience of this?

The listing fee might be £5 and then a recurring fee of £1/year for example, ideally through PayPal.

As I think through the idea i know that one way would be to handle this manually by setting up a PayPal form after they submit their listing and then later cross referencing and having another field in the database that I'd change to "paid". But this would be annoying to control, especially for £1 each time.

Was wondering if there are any simple scripts that allow me to connect at the time to PayPal, process the transaction and then update my database, informing the business that their listing is paid for. Either for the year or a recurring payment?

Thanks for any help.
woopwoop is offline  
Old 30-08-2010, 08:24:42 PM     #2 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

There's sample API callback scripts on the PayPal API developers site, you do a simple handshake with PayPal and they confirm the payment has processed OK. If setup correctly, then you'll get notification for button payments and subscriptions.

If you add a custom field to the PayPal link / button this can be passed back to you in the "handshake", you can then use this as the lookup to your database code to flip the paid flag. A better option might be to hold the paid date so you can run a daily / weekly query for all renewals or even use this in a query when displaying results on the site.

Hope this helps without getting too deep into actual code.
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 31-08-2010, 06:47:00 PM     #3 (permalink)

 
woopwoop's Avatar
 
Join Date: Jan 2007
Posts: 1,586
woopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond repute

Thanks Monaghan - huge help. Especially the sample scripts. Will spend some time on this over the next couple of days.
woopwoop is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Heads up on a possible PM then MSNGR then Paypal scam woopwoop Domain Name Scams 29 31-01-2009 03:15:05 PM
PayPal Domain Purchases admin Domain Name Scams 17 31-01-2009 12:41:20 PM
Paypal chargeback/dispute question scooter General Board 11 16-06-2008 06:39:41 PM
Paypal payments retired_member16 General Board 1 13-06-2008 11:49:41 AM

Web Hosting from UK2 from just 99p


All times are GMT. The time now is 12:43:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".