I'm finding some good examples using the API with other languages, but none in Java/APEX for SalesForce. And none that get into what I need to.
I can probably wing it though I'm having difficulty starting it off and it's taking too much time.
For now I've created an APEX/VisualForce page that simply generates an HTML form based off the Account, Contact, Opportunity, and Products created in SalesForce. This sends a simple POST after clicking the submit button that's sent to mydomain.foxycart.com/cart
This at least pre-populates the email, shipping info, products, etc.. However I'd also like to send the password, which I can't seem to do, but that's not the real question.
What I'd like to do is when the order is processed I want to send some data plus the transaction ID back to SalesForce. Maybe not all data, just the transaction is great and then somehow at an interval like every 5 minutes or once a day I want to pull a FULL feed and synchronize FoxyCart with SalesForce. I want to do this because SalesForce will sometimes have down times and I'd rather have a way to be certain we have all the orders and customer info captured.
I'm not even sure where to start. I have one issue in that our website uses the cart as well. I'd have to somehow pass data to FoxyCart to tell it where the order is coming from (SalesForce/Website). After the order is processed FoxyCart would send this parameter to my page and the page could determine what to do with it.
I've read all the API docs I could find and can't get the start I need. Please Help!
You don't need to know Java or APEX to help me. Just in direction of what I need to do will suffice.
I promise to post my work for all other SalesForce developers if you can get me on the right track!
Thanks in advance!