Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linkpoint OID Order Number


rwh
 Share

Recommended Posts

Hi,

I have a client that is using oscommerce with linkpoint it is working great. However he wishs to pass the invoice/order number to linkpoint. Talking with linkpoint they say that this needs to be passed to the OID field of their api.

Has anyone accomplished this yet? If so could you supply me with the file edits needed to accomplish this?

 

Joey

Link to comment
Share on other sites

This may be more difficult than it sounds.

 

If i am not mistaken, OSC does not assign the "order number" until after checkout confirmation, i.e. after linkpoint runs and gets an approval or deny response. So during checkout there is no order number per se'. This can be tested on your shop by putting this code at the top of the linkpointms1.php located at /includes/modules/payment/linkpointms1.php.

 

print_r($order);
exit;

 

This will print the contents of the array $order to your screen and stop everything so you can read it. If the order # does not exist at that point then alot more work will be required.

 

Let me know how it comes out and ill try to assist further.

Clifton Murphy

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

 Share

×
×
  • Create New...