Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

special processing after payment collection.


upuaut

Recommended Posts

Hi All,

I need some help with this...

 

Once a customer buys a particular product and pays for it successfully (via authnet or paypal), I need to perform additional processing and issue special instructions to them. I need some help

 

My questions

1- where in the code should I insert such trigger? It is important to trigger ONLY upon successful payment authorization.

2- I don't know much PHP. is it possible to make system calls or execute other scripts using PHP? My need is to execute a perl script (lang I can prog in) directly on the same server, or make a web call to the same server.

 

3- the trigger would take place for only a subset of items.

 

4- I'd need to pass the order ID to the external script. How can I acheive that?

 

The trigger will be silent and should/would not affect process flow of osc. Basically, make the call and don't wait for a response.

 

I'm not asking for actual code, simply where in osc's code base i need to look to acheive what i need.

 

your help is greatly appreciated.

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.

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...