a little help with php and authorize.net?

sergio v

New member
I want to set up a method for people to purchase an upgrade on their account using authorize.net as my merchant service.

What i want is for people to log into their account thats on my website, once logged in, they can purchase an upgrade that will grant them access to another part of the website that is only available to paying members.

I already have the user log in system, i'm using php and mysql. And my merchant account is with authorize.net, so when they click on the buy now button that i get from authorize.net they are sent to the purchase page.

I'm just not sure how to go about to update the database once they have purchased it and charged it to their card.

Any help would be appreciate it.
 
I think,......It will be better to maintain a table for the user and also a purchase table that is chained to the user table.(i.e) make the user table as primary and the purchase table as child. Using primary and foreign keys link the tables. If a user purchase a product just update the purchase table using user_id or user_name fields with product details also with purchase date etc....

I hope it may be a good one..... if not post that toooo.......
 
I think,......It will be better to maintain a table for the user and also a purchase table that is chained to the user table.(i.e) make the user table as primary and the purchase table as child. Using primary and foreign keys link the tables. If a user purchase a product just update the purchase table using user_id or user_name fields with product details also with purchase date etc....

I hope it may be a good one..... if not post that toooo.......
 
Back
Top