rwh Posted August 12, 2004 Share Posted August 12, 2004 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 Quote Link to comment Share on other sites More sharing options...
red_fraggle Posted August 13, 2004 Share Posted August 13, 2004 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. Quote Clifton Murphy Link to comment Share on other sites More sharing options...
rwh Posted August 18, 2004 Author Share Posted August 18, 2004 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.