Jump to content
Sign in to follow this  
rwh

Linkpoint OID Order Number

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Added the snipet of code to the top of the code in that file afterwards all we get is blank page nothing more. Any other ideas?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×