Jump to content

Online purchasing


Koobazaur

Recommended Posts

(not really sure where to put it, so here it goes)

 

 

I am working on a system which allows my viewers to register an account and purchase access to certain online content. I have everything figured out except the transaction part. Basically what I need is:

 

User chooses to buy Content1 -> Some external transaction API (GoogleCheckout/PayPal/Ejunkie etc.) -> Update user's access to Content1

 

I am struggling a bit with this as I do not know exactly how to integrate a transaction system with my framework, or even, which transaction system to go with. You see, upon completing a purhcase, I would want the transaction service to run a script on my end to update the user's permissions. However, for this to work, I need the script to know both which user and which content to update. However, the APIs I looked at so far return the only the content purchased and do not allow me to send/receive custom data such as an associated username. If there was a way to track individual orders I could maybe store their ID with a user so that when the script is run it figures out the username based on the transaction ID or something like that, but I don't know what API would allow me to do that.

 

Simply put, I am looking for some guidance in either how to have an external transaction system allow me to track user and content purchases so my script knows who buys what, or a transaction system that already easily allows for that.

 

(also, if there is something that would not require my user to register an extra account (which GoogleCheckout, for instance, does) that would be peachy).

 

Any advice is highly welcomed!

Link to comment
https://forums.phpfreaks.com/topic/58353-online-purchasing/
Share on other sites

This is a big deal, if u already registered with paypal or other services with merchant account.

Than just login there to ur account and there they provide all information how to ingetrate to ur site.

Some hidden fields, and a link to ur product and account number they will provide.

Link to comment
https://forums.phpfreaks.com/topic/58353-online-purchasing/#findComment-289361
Share on other sites

If u really want to sell a product  online than u have to use any online transaction service.

Now it depends on you which one u want to use or want to use multiple.

I will suggest you before jumping to this read some article about online product selling.

u can start ur search by browsing paypal.com, 2checkout.com etc.

Link to comment
https://forums.phpfreaks.com/topic/58353-online-purchasing/#findComment-289408
Share on other sites

If u really want to sell a product  online than u have to use any online transaction service.

Now it depends on you which one u want to use or want to use multiple.

I will suggest you before jumping to this read some article about online product selling.

u can start ur search by browsing paypal.com, 2checkout.com etc.

 

Yes, I have been browsing them and their integration sections to see how they would work. But I figured it wouldn't hurt if I asked for some extra suggestions in the meantime. I have been reading about Google Checkout and PayPal, and both should allow me to achieve what I want but there may be better alternatives (such as fit precisely to accomodate my needs).

Link to comment
https://forums.phpfreaks.com/topic/58353-online-purchasing/#findComment-290113
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.