![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | 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.
__________________ Connect with me @ TW:LI:FB | MyWeb | D/L domains4sale | Morecambe London Student Forums Student Books UK promotions agencies |
| |
| | #2 (permalink) |
![]() |
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 |
| |
| | #3 (permalink) |
![]() |
Thanks Monaghan - huge help. Especially the sample scripts. Will spend some time on this over the next couple of days.
__________________ Connect with me @ TW:LI:FB | MyWeb | D/L domains4sale | Morecambe London Student Forums Student Books UK promotions agencies |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
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 |