YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

IPN (Or API, not sure:S) Options
Nathann
#1 Posted : Tuesday, June 07, 2011 11:45:26 AM
Rank: Starting Member

Groups: Registered

Joined: 6/7/2011
Posts: 1
Hello,

Thank you for taking your time to read this.

I've looked at a LOT of sites with PayPal API/IPN. And I can not understand it, at all.
What I need is like, when the payment is successful, it updates the database.
I have a CMS, and when your logged in you can pay. So I need something like (after payment is successful)
Code:
UPDATE users SET rank='2' WHERE username='$username'

The bit I'm not entirely sure on is the last bit WHERE username='$username'

Anyway, I was wondering if someone could knock something like that up quickly, because I guess most of you know all this stuff.

Thanks for your time reading this, and thanks in advance.

Regards.
Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.165 seconds.