Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchase -> Run Script?


mehaase

Recommended Posts

I'm setting up a site for a client...first time I've used OS Commerce. (Used PayPal IPN and hacked together store in the past.)

 

The client wants to sell branded merchandise AND premium upgrades. For example, a user could login to the store and buy a t-shirt with the client's logo on it, OR they could login to the store and add 50MB of storage space to their account. (The client's site allows users to upload & share music/photos/movies, and each user has a limit on how much they can store in their account.)

 

So... ignoring some of the complicated scenarios that could play out, basically what I need it to do is to skip the shipping panel for "virtual" orders, and after payment is confirmed, run a script (probably Perl script) to update that user's account information. Is there a contrib that does this? I'm guessing there isn't...but thought I would ask.

 

Has anybody done this before? Any tips/pointers? I just started playing with osC today so I'm not even familiar with the code layout yet.

 

Thanks,

Mark

Edited by mehaase
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...